Blog

BACnet Device Discovery: How Who-Is and I-Am Work, and Why Some Devices Don't Answer

2026-11-12 · 13 min read BACnetWho-IsI-AmBBMDdiscoverytroubleshooting

Short answer

BACnet device discovery uses two unconfirmed services from ASHRAE 135: a tool broadcasts a Who-Is (optionally limited to a device instance range) and every matching device replies with an I-Am that carries its device instance, max APDU length, segmentation support and vendor ID. If a device does not answer, the cause is almost always the path, not the device: the broadcast never reached it (other subnet without a BBMD, firewall on UDP 47808, wrong network card, VPN), the reply never came back, or the device is an MS/TP slave, offline, outside the requested range or has a duplicate instance.

You plug your laptop into the BMS switch, press Discover, and half the building shows up. Is the controller dead, the network wrong, or your tool broken?

Almost every time, the answer is in how BACnet device discovery works: one broadcast question (Who-Is) and one answer per device (I-Am). If you understand where that broadcast can go and where it can't, you can find the missing devices in minutes. This guide explains both messages, how they cross routers and subnets, and gives a step-by-step checklist for devices that don't answer, with screenshots from a simulated site in BacLens.

How does BACnet device discovery work?

Short version: your tool broadcasts a Who-Is, and every device that receives it (and matches the optional instance range) answers with an I-Am. Your tool builds its device list from those answers.

Both are unconfirmed services defined in ASHRAE Standard 135 (the BACnet standard). Nobody acknowledges anything: if the Who-Is or the I-Am is lost, nobody retries and nobody reports an error. The device simply isn't on your list, which is why discovery problems feel so silent.

The exchange looks like this:

  1. Your tool sends Who-Is as a broadcast (on BACnet/IP: a UDP broadcast to port 47808, which is 0xBAC0 in hex).
  2. Each BACnet device on that broadcast domain receives it.
  3. Each device whose instance falls inside the requested range (or every device, if no range was given) sends an I-Am.
  4. Routers forward the Who-Is to the networks behind them (MS/TP trunks, other IP networks) and forward the I-Am answers back.
  5. Your tool now knows each device's instance number and address, and can start reading its objects.

A device can also send an I-Am on its own, without being asked. Most do it at power-up, so a supervisor learns that a controller came back after a power cut.

What is inside a Who-Is?

A Who-Is has only two optional parameters:

Parameter Meaning Notes
Device Instance Range Low Limit Lowest instance that should answer Must be sent together with the high limit
Device Instance Range High Limit Highest instance that should answer Low must not be greater than high
(none) No range: every device answers Normal "discover everything" request

So a Who-Is with low = 2001 and high = 2006 only wakes up instances 2001 to 2006. On a large site this is how you avoid hundreds of I-Am replies arriving in the same second.

What does an I-Am tell you?

The I-Am answer carries four things, and each one is useful in the field:

I-Am field Example Why it matters
I-Am Device Identifier device, 2001 The device instance: the unique name of this controller on the whole BACnet internetwork
Max APDU Length Accepted 480 (typical MS/TP), 1476 (typical BACnet/IP) The largest message the device can receive; tools use it to size ReadPropertyMultiple requests
Segmentation Supported both, transmit, receive, none Whether long answers can be split into segments
Vendor ID a number assigned by ASHRAE Tells you the manufacturer before you read a single property

The I-Am does not contain the IP or MS/TP MAC address: your tool takes it from the packet source (for routed devices, the source network and MAC added by the router). That is why one instance seen from two addresses is a red flag.

The device instance is a 22-bit number, so valid instances run from 0 to 4,194,302. The value 4,194,303 is reserved as a wildcard ("whatever device you are") and should never be configured on a real controller.

Where can a Who-Is broadcast go?

A broadcast stays inside its own broadcast domain unless a BACnet device carries it further. This one rule explains most "missing device" cases.

Where the device is What carries your Who-Is there What you need
Same IP subnet as your laptop Plain UDP broadcast Right network card, firewall open on UDP 47808
MS/TP trunk behind a BACnet router The router, which re-sends it on the MS/TP network Router online, correct network numbers, device in the token ring
Another IP subnet in the same building A BBMD on each subnet (BACnet Broadcast Management Device) BBMD entries in each Broadcast Distribution Table (BDT)
Another subnet, and your laptop has no local BBMD Foreign device registration with a remote BBMD BBMD that accepts foreign devices, UDP 47808 allowed both ways
BACnet/SC site The hub, over a secure WebSocket Certificates and the hub address

Routers learn which networks exist through network-layer messages (Who-Is-Router-To-Network and I-Am-Router-To-Network). Each BACnet network has a network number from 1 to 65,534. The value 65,535 means "all networks" and is used for a global broadcast. A Who-Is can be:

  • a local broadcast (only your own network),
  • a remote broadcast to one network number (for example only MS/TP network 3),
  • a global broadcast (every network on the internetwork),
  • or even sent unicast to one IP address, which is handy when broadcasts are blocked but you know where the device is.

Step-by-step: discovering a site with BacLens

The screenshots below come from BacLens, a free BACnet explorer, connected to the simulated buildings of BacLens Sim, the free BACnet simulator. The method is the same in any good BACnet tool.

Step 1: Discover on your own subnet

Start with the simplest case: your laptop on the same subnet as the BACnet/IP devices. Choose the network card that is really connected to the BMS network (not Wi-Fi, not a VPN adapter) and run the discovery.

BacLens Networks page: the office building reached by direct Who-Is broadcast, with the BACnet/IP devices and the router BLDG-RTR

The map shows how the broadcast travelled: "Same network: Who-Is broadcast" from BacLens at 127.0.0.9, port 47808. On the BACnet/IP network, BLDG-RTR (device 1000), AHU-1 (1001), ELEC-MTR-1 (3001) and PLANT-1 (4001) answered directly. BLDG-RTR is tagged Router → 2: it routes to MS/TP network 2, where the VAV boxes live.

Step 2: Watch the Who-Is and the I-Am replies

If the list is incomplete, don't guess: look at the packets. A capture filtered on unconfirmed services shows exactly who answered and from where.

BacLens network analyzer filtered on unconfirmed packets: one Who-Is broadcast from BacLens, then I-Am answers from the BACnet/IP controllers and from the VAVs via router 127.0.1.1

Read it from the bottom up:

  • 3371: BacLens sends Who-Is to broadcast (Original-Broadcast-NPDU). Line 3372 is the same broadcast heard back by the PC itself, which is normal.
  • 3374 to 3380: I-Am from device 1000 (BLDG-RTR at 127.0.1.1), 1001 (127.0.1.2), 3001 (127.0.1.3), 4001 (127.0.1.4) and 4002 (127.0.1.5). These came back within about 30 ms of the Who-Is.
  • 3384 to 3394: I-Am from devices 2001 to 2006, via 127.0.1.1. These are the VAVs on MS/TP network 2; the router passed the Who-Is down and the answers back up.

Notice the layer: these simulated controllers send their I-Am as Original-Unicast-NPDU, straight back to the PC that asked. Many devices broadcast their I-Am instead. Both are seen in the field, and a good tool accepts both. It matters when you troubleshoot: a broadcast I-Am can be lost by a missing BBMD, while a unicast reply can be lost by a firewall that only allows replies on known ports.

If you see your Who-Is go out and no I-Am at all from a device, the problem is between you and that device. If you don't even see your own Who-Is, the problem is on your PC (wrong network card, firewall, another program already using port 47808).

Step 3: Reach another subnet through a BBMD

Now the second building. It's on another IP subnet, so a plain broadcast from your laptop will never reach it. Here BacLens registers as a foreign device with the building's BBMD.

BacLens Plant building connection: registered as a foreign device with the BBMD 127.0.2.1:47809, renewed every 300 s, and how the BBMD forwards the Who-Is

The connection card says it plainly: BacLens is not on this subnet, it registered with the BBMD 127.0.2.1:47809 and renews that registration every 300 seconds. The BBMD forwards BacLens's Who-Is to its own subnet and to the other BBMDs in its table, then sends the answers back. The last discovery found 11 devices and 1 router.

Two details technicians often miss:

  • The registration has a time-to-live. If your tool stops renewing it (laptop asleep, tool closed), the BBMD forgets you and broadcasts stop reaching you.
  • Some BBMDs have foreign-device registration disabled or limited in their table size. If the registration is refused, discovery through that BBMD returns nothing.

BacLens network map of the plant building: BacLens as foreign device of the BBMD, BLDG2-RTR tagged BBMD and Router to network 3, and VAV-201 to VAV-203 on MS/TP network 3

On the map, the link line now reads "Foreign device of the BBMD 127.0.2.1:47809". BLDG2-RTR (device 11000) carries two tags: BBMD and Router → 3. Behind it, MS/TP network 3 holds VAV-201 to VAV-206 with addresses 3:11, 3:12, 3:13 and so on: network number 3, MAC address 11, 12, 13. This "network:MAC" form is how you should write down routed devices in your notes.

Step 4: Test the path step by step

When a connection finds nothing, test each link in order instead of pressing Discover ten times.

BacLens connection test for the plant building: network card, BBMD answers, foreign device registration, Who-Is with 11 devices answering, and a direct read of device 11000

The test runs five checks: the network card and UDP port (47961 here), whether the BBMD answers (2 ms, with its table), whether the foreign device registration is accepted ("registered"), the Who-Is (11 devices answered: 11000 at 127.0.2.1:47809, 12001 at 3:11 and so on), and finally a direct read of device 11000 (BLDG2-RTR). The first failing line tells you where to look. You can do the same by hand with any tool: ping, then BBMD read of the BDT, then registration, then Who-Is, then a ReadProperty.

Why don't some BACnet devices answer Who-Is?

Because the Who-Is never reached them, the I-Am never came back, or the device is not allowed or not able to answer. Work through these causes in order; they are listed from the most common to the least common in typical field work.

1. Wrong network card, Wi-Fi or VPN

With Ethernet, Wi-Fi and a VPN all active, the Who-Is may leave by the wrong adapter, and most VPNs don't carry broadcasts at all. Pick the adapter explicitly in your tool, and turn Wi-Fi off when you are on the BMS switch.

2. Firewall on UDP 47808

The Windows firewall often blocks inbound UDP for a new program, especially on networks marked "Public". Your Who-Is goes out, the I-Am comes back and is dropped before your tool sees it. Allow your BACnet tool on private networks, or mark the BMS network as private. Site firewalls between VLANs can do the same thing.

3. Different subnet with no BBMD

The device is on 10.10.20.x and you are on 10.10.10.x. A broadcast will never cross that router. Use the site's BBMD as a foreign device, or ask IT for a BBMD on your subnet. As a quick test, send a Who-Is unicast to the device's IP address: if it answers, the device is fine and only the broadcast path is missing.

4. Subnet mask mismatch

If your laptop is set to /24 and the BMS network is /16, your broadcast address is wrong (for example 10.10.10.255 instead of 10.10.255.255) and part of the site never hears you. Copy the mask from the BMS server or a controller, not from a guess.

5. Another program already uses port 47808

Only one program can normally bind UDP 47808 on a PC. If the BMS workstation software is running, your tool may fall back to another port. Unicast replies still reach it, but devices that broadcast their I-Am to port 47808 will not. Close the other software, or register as a foreign device so the BBMD forwards the answers to your port.

6. MS/TP problems behind the router

The router answers, but devices on its MS/TP trunk do not. Check, in this order:

  • Baud rate identical on every device of the trunk (9,600, 19,200, 38,400 or 76,800 baud are the common values).
  • Max Master: a master only polls for new masters up to its Max_Master value. A device at MAC 90 on a trunk where Max_Master is set to 64 never gets the token, so it can never answer.
  • Duplicate MAC addresses on the same trunk: both devices fight for the token and the trunk becomes unstable.
  • Wiring, termination and biasing (see our RS-485 wiring guide; the physical layer is the same EIA-485 as Modbus RTU).
  • MS/TP slave devices (MAC 128 to 254): a slave cannot start a transmission, so it cannot send an I-Am in answer to a Who-Is. It will never appear in a discovery. You have to add it by hand (device instance and MAC address) in the supervisor.

7. Duplicate device instance

Two devices configured with the same instance, often after copying a controller program. You may see one I-Am, two I-Ams from two addresses, or a device that "moves" between addresses each time you discover. Reads go to the wrong box. Every device instance must be unique on the whole internetwork, not only on one trunk.

8. Duplicate network numbers

Two routers announcing the same network number, or two MS/TP trunks given the same number, make routing unpredictable: Who-Is reaches one trunk and not the other. Each network number (1 to 65,534) must be unique on the site.

9. Outside the instance range, or filtered

A Who-Is with a range only wakes up devices inside it. Some supervisors also filter discovery by vendor or by network. Run one unfiltered Who-Is first.

10. Device offline or not configured yet

A new controller may still have its factory instance, BACnet disabled, or BACnet/IP on another UDP port such as 47809. Check its own setup screen.

Common mistakes during BACnet discovery

  • Pressing Discover repeatedly. Unconfirmed services don't retry by themselves, but flooding the network with global Who-Is on a large site creates an I-Am storm. Use instance ranges or remote broadcasts to one network number.
  • Trusting the address from an old database. The I-Am source address is the truth today. If the supervisor shows 10.10.10.25 and the I-Am comes from 10.10.10.52, update the binding.
  • Assuming "not in my list" means "not working". Test unicast, check the trunk, then decide.

Who-Is vs Who-Has: which one to use?

Use Who-Is when you look for devices by instance; use Who-Has when you look for an object by name or identifier. A Who-Has asks "which device holds an object named AHU-3 SAT?" and the device that has it answers with I-Have. It is useful when the drawing gives you a point name but nobody remembers which controller it lives in. Like Who-Is, it is unconfirmed and broadcast, so it follows exactly the same paths and fails for the same reasons.

Where AI helps after discovery

Discovery gives you instances and addresses, not what the equipment is. Once the list is complete, BacLens reads every object and its AI groups the points into equipment (AHU, VAV, boiler plant) from their names and units. Practise on the free BACnet simulator first. Our article on choosing an AI model for BMS work explains how to start with a free local model. If you also work on Modbus devices, the same "test the path link by link" approach is covered in the Modbus timeout checklist.

FAQ

What is the difference between Who-Is and I-Am in BACnet?

Who-Is is the question and I-Am is the answer. A client broadcasts Who-Is, optionally with a device instance range, and each matching device replies with I-Am containing its device instance, max APDU length, segmentation support and vendor ID. Both are unconfirmed services, so nothing is retried if a message is lost.

What port does BACnet/IP discovery use?

BACnet/IP uses UDP port 47808 by default (0xBAC0 in hex). Who-Is is sent as a UDP broadcast to that port. Some sites run a second BACnet/IP network on another port such as 47809, and your tool must use the same port as the devices.

Why can't I discover BACnet devices on another subnet?

Broadcasts do not cross IP routers. To reach another subnet you need a BBMD on each subnet with matching broadcast distribution tables, or you register your tool as a foreign device with a BBMD on the remote subnet. You can also send a unicast Who-Is to a known IP address to check that the device itself is fine.

Why does a BACnet MS/TP device not respond to Who-Is?

Check that the baud rate matches the rest of the trunk, that its MAC address is not duplicated, and that it is not above the Max_Master value of the other masters. Then check wiring, termination and biasing. MS/TP slave devices (MAC 128 to 254) cannot answer a Who-Is at all and must be added manually.

What is the valid range for a BACnet device instance?

From 0 to 4,194,302. The device instance is a 22-bit number, and 4,194,303 is reserved as a wildcard. Every device instance must be unique on the whole BACnet internetwork, including devices behind routers.

Can a BACnet device send I-Am without a Who-Is?

Yes. A device may send an unsolicited I-Am at any time, and most do it at power-up. This lets a supervisor learn that a controller restarted or changed address without polling for it.

What happens if two BACnet devices have the same device instance?

Discovery becomes unreliable: you may see one device, two I-Am replies from different addresses, or a device that changes address between discoveries. Reads and writes can go to the wrong controller. Find both devices in a packet capture and give one of them a new, unique instance.

Is there a free tool to discover BACnet devices?

Yes. Several free BACnet explorers exist, such as YABE and BacLens. BacLens is a free BACnet explorer that discovers routers, networks and controllers over BACnet/IP, BBMD, MS/TP and BACnet/SC, with a built-in network analyzer and connection test. You can practise on the free BacLens Sim simulator before going on site.