Fabio Campanella Member Licensed User Longtime User Feb 23, 2017 #1 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 Code: Copy 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
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 Code: Copy 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
Erel B4X founder Staff member Licensed User Longtime User Feb 24, 2017 #2 Are these Eddystone beacons? What is the output of: Code: Copy Log(AdvertisingData) Fabio Campanella said: Is it possible to read the content for AdvertisingData map directly? Click to expand... Not directly. You will need to use a method similar to fillData. Upvote 0
Are these Eddystone beacons? What is the output of: Code: Copy Log(AdvertisingData) Fabio Campanella said: Is it possible to read the content for AdvertisingData map directly? Click to expand... Not directly. You will need to use a method similar to fillData.
Fabio Campanella Member Licensed User Longtime User Jun 5, 2017 #3 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
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