ByteScope

0x181B

BLE 0x181B — Body Composition

Service

Body Composition: BLE GATT service 0x181B, written in full as 0000181b-0000-1000-8000-00805f9b34fb (decimal 6171).

Everything runs locally in your browser — nothing is uploaded.

Hex
0x181B
Dec
6171
Name
Body Composition
Kind
Service
16-bit
0x181B · 181b
128-bit
0000181b-0000-1000-8000-00805f9b34fb
Source
The name comes from the Bluetooth SIG Assigned Numbers GATT services table, as shipped in @tools/core-ble. A service has no value, so there is no layout to publish.

What this is

Body fat percentage, muscle mass, water mass and basal metabolism, all derived from a bioimpedance measurement the scale does not expose. A feature bitfield says which of those fields this scale actually fills in. Body Composition is the Bluetooth SIG's own name for 0x181B in the Assigned Numbers document. It is a proper noun and is not translated anywhere on this site. Web Bluetooth never hands you the short code: getPrimaryServices() and getCharacteristic() return the expanded 128-bit form, 0000181b-0000-1000-8000-00805f9b34fb, which is 0x181B placed on the Bluetooth Base UUID. Compare against that string, lowercased, and not against 181b. A service is a container, so it has no value of its own to read — what you read are the characteristics inside it. Which characteristics those are is up to the device: the Assigned Numbers document allocates the numbers, the profile documents say which are mandatory, and nothing in GATT stops a device shipping a service with a subset. This site does not publish a service-to-characteristic map for that reason; the list you get from /ble-explorer/ is the list your device actually implemented.

What the data looks like

A service has no value of its own, so there is nothing to decode here. The characteristics inside it do — open the ones your device exposes from the UUID list, or read them live in /ble-explorer/.

Where you see it

The spellings you will meet are 0x181B (datasheets and the SIG document), 181b (what bluetoothctl and nRF Connect print), decimal 6171 (a few libraries take the 16-bit code as an integer), and the full 0000181b-0000-1000-8000-00805f9b34fb (Web Bluetooth, BlueZ D-Bus paths, CoreBluetooth on iOS once expanded). All four are the same attribute. You land here after a GATT dump listed a UUID with no name against it, or after an app showed a service you did not recognise. Devices that expose it: Withings Body+, Xiaomi Mi Body Composition Scale 2, Renpho smart scales.

What to do

Open /ble-explorer/, press Connect, and look for 0000181b-0000-1000-8000-00805f9b34fb in the service tree. One thing to get right first: Web Bluetooth only grants a page access to services it named *before* connecting, so a service missing from optionalServices is invisible even when the device advertises it — /ble-explorer/ passes the whole known list for you, which is why a device looks fuller there than in a page you wrote yourself. The live check below asks for a device offering this service and reports four separate outcomes: no Web Bluetooth in this browser, nothing connected yet, connected but this service absent, and connected with the service present. They are four different facts and this page does not collapse them into one.

Traps

A UUID comparison is a string comparison, and Web Bluetooth returns lowercase — 0000181b-0000-1000-8000-00805f9b34fb will not match the same UUID typed in uppercase. The 16-bit form only exists for attributes sitting on the Bluetooth Base UUID; a vendor's own 128-bit UUID has no short code at all, and truncating one to four digits looks up an unrelated SIG attribute. Two more, both specific to services: a service you can see in a phone app can still be missing from a web page, because Web Bluetooth needs it declared in optionalServices first and, separately, keeps a blocklist it will refuse outright. And a service's presence is not a guarantee about its contents — a device may implement the service and omit an optional characteristic your code treats as mandatory, so read the tree instead of assuming the profile.

What to do next

/ble-explorer/ is the live tool: connect, walk the GATT tree, read, write, subscribe and export the notification log as CSV or JSONL. The full UUID index at /ble-explorer/uuids/ has every service, characteristic, descriptor and company id this site knows, including the ones without their own page. /hid-inspector/ decodes HID report descriptors over WebHID if the device turns out to be an input device, and /nfc-reader/ covers the other short-range radio on Android Chrome. Neither of them uploads anything, and neither does this page.

Check your own device

Chrome or Edge only, and the connection has to start from this button. Nothing is opened for writing and nothing is uploaded.

Not asked yet — press Connect to look for 0x181B

Browser Support Matrix

Web Bluetooth (navigator.bluetooth) is supported in Chromium-based desktop browsers. Learn more about Web Bluetooth support

FeatureChromeEdgeFirefoxSafari
navigator.bluetooth device chooserChromium desktop browsers.SupportedSupportedNot supportedNot supported
Read / write / notify over GATTCore GATT operations over Web Bluetooth.SupportedSupportedNot supportedNot supported
Chromium on AndroidUntested in our lab.UntestedUntestedNot supportedNot applicable
Linux (BlueZ)Needs BlueZ and experimental platform flags on some distros.Partial supportUntestedNot supportedNot applicable
watchAdvertisements (passive scan)Behind a flag; passive scanning is not implemented by this tool.Not supportedNot supportedNot supportedNot supported
getDevices() reconnectChromium API for reconnecting without picker.UntestedUntestedNot supportedNot supported

Detected browser capabilities

  • navigator.bluetooth …
  • Bluetooth adapter available …
  • Secure Context (HTTPS) …

Frequently asked questions

How do I tell a service UUID from a characteristic UUID?

You cannot from the number alone — the ranges are conventions, not rules, and 0x2A19 is only a characteristic because the SIG allocated it in that table. What settles it is where the attribute sits: a service is returned by getPrimaryServices(), a characteristic by getCharacteristics() on a service. This site puts the kind in the Kind row of every leaf for that reason.

Why does my hex dump not look like the value shown here?

Every multi-byte integer in GATT is little-endian, so a dump read most-significant-byte first gives a plausible wrong number. Several characteristics are also variable length, with the layout decided by flag bits earlier in the same value — a fixed-offset parser works on one device and breaks on the next.

Is anything uploaded when I connect a device or paste a value?

No. The decoder runs in this tab and Web Bluetooth never leaves the browser. This site does not open a device for writing, does not claim it, and stores nothing: close the page and the value is gone.

Does the device have to declare the properties listed here?

No. GATT lets each device declare its own Read, Write, Notify and Indicate flags per characteristic, so what a page like this can tell you is what the profile asks for. The badges in /ble-explorer/ are read off the device in front of you, which is the only thing that settles it.

Looking for a different UUID? browse the whole list.

Bluetooth SIG — Assigned Numbers