iOS Question Estimote Beacon: fillData don't fill the byte array

Fabio Campanella

Member
Licensed User
Longtime User
Hi at All,
i've the problem with estimote beacon.
While in B4A version all the beacons are detected, in B4i version the BLE library detect all beacons (i filter it with is name (EST) but when the app execute fillData, this native method don't fill the byte array b

B4X:
no.RunMethod("fillData:::", Array("FEAA", b, AdvertisingData.Get("kCBAdvDataServiceData")))

this method return empty b and for this reason don't detect any beacon.

Can you help me?!?

Thanks at all for your time!

P.S. Is it possible to read the content for AdvertisingData map directly? This is the NSObject type and is not possible to read the content. You know the alternative method to read?

Fabio
 

Fabio Campanella

Member
Licensed User
Longtime User
Hi at all,
I've finally resolved this issue!!!
the problem is that, for each device manifacturer, bluetooth community have assigned a number identity.

In the b4i example has been used the google number "FEAA".

For "estimote" manifacturer the number is "FE9A",then for read data correctly with fillData you have to use FE9A not FEAA.

In this link there are all numbers assigned for each manifacturers.

https://www.bluetooth.com/specifications/assigned-numbers/16-bit-uuids-for-members

I hope to be useful!!!

bye
 
Upvote 0
Top