Closed zhuyuemings closed 1 year ago
Bluez doesn't provide access to the lowlevel advertisement (yet).
What do you need?
I tried to get the advertising package(broadcast message?) like this: but only get manufacturer data from scan result, like this:
if your device advertise this details you can get this advertisement data from scan result or from peripheral
peripheral is an object of BluetoothPeripheral
peripheral.getDevice().getManufacturerData()
it returns you a Map<Integer, byte[]>
i need to get advertising package to verify something, but i can only get manufacturer data from scan result,