iOS Question PeripheralManager AdvertisingData sent by B4i

Discussion in 'iOS Questions' started by Alberto Iglesias, Dec 5, 2018.

  1. Alberto Iglesias

    Alberto Iglesias Well-Known Member Licensed User

    Anyone know what is each byte received on MAP when PeripheralManager send the AdvertisingData?

    iOS APP
    Code:
    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
    Code:
    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:
    [​IMG]

    Thanks
    Alberto Iglesias
     
    Last edited: Dec 5, 2018
  2. Erel

    Erel Administrator Staff Member Licensed User

  3. Alberto Iglesias

    Alberto Iglesias Well-Known Member Licensed User

    Ok, thanks... But If don't provide by iOS I need to use just RSSI to calculate the distance, Am i right?
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    Yes. You can see the code in BeaconParser class.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice