BLE Raw Advertising Data Cropped

Former Member
Former Member

Hey all,

I want to pick up the device name from advertising (or paired) BLE peripherals, but Ble.ScanResult.getRawData() removes/does not include the AD type 9 (local device name) in the raw data, even though I can see it in the packets on my phone!

The device I am currently testing on is a MoveSense that advertises AD types 1,2 and 9, but to be honest, almost ALL peripherals close to me report a null device name in Device.getName(), ScanResult.getDeviceName() and AD types 8 and 9 parsed from raw data.

What's going on?

Thanks,

/Micke