iOS Question PeripheralManager AdvertisingData sent by B4i

Alberto Iglesias

Well-Known Member
Licensed User
Longtime User
Anyone know what is each byte received on MAP when PeripheralManager send the AdvertisingData?

iOS APP
B4X:
Private peripheral As PeripheralManager
peripheral.Initialize("peripheral")
peripheral.Start("myiphone")

After start AdvertisingData by peripheral.Start("myiphone") I need to know where is the Power byte
to calculate the distance between devices.

Can I get this power byte? or distance?

Android APP
B4X:
Private Sub Manager_DeviceFound (Name As String, DeviceId As String, AdvertisingData As Map, RSSI As Double)

       '====> NEED TO IDENTIFY AdvertisingData bytes

end sub

I receiving this from iOS app:
Screenshot-12-05-18-at-01-54-PM.png


Thanks
Alberto Iglesias
 
Last edited:
Top