Re: CLBeacon and CLPeripheral
Re: CLBeacon and CLPeripheral
- Subject: Re: CLBeacon and CLPeripheral
- From: Fred Visticot <email@hidden>
- Date: Thu, 13 Feb 2014 21:46:42 +0100
Did you check the Estimote SDK ?
They provide a wrapper around the CLBeacon (EstimoteBeacon) and this wrapper includes the CLPeripheral object..
The estimote beacons provide a standard iBeacon message + minor/major/other information in a SCAN_REQ / SCAN_RSP
The CBCentralManager returns this SCAN_RESP message has a device Information field
I had the same solution as you (add minor and major in the SCAN_REQ/SCAN_RSP) message but we must to avoid to have é beacons with the same minor/major…
Tx for your help and oner advices are welcome
Fred
Le 13 Feb 2014 à 21:38, Khaos Tian <email@hidden> a écrit :
> There is no way to make a connection between CLBeacon and CBPeripheral if there are lots of beacons around you.
>
> You can try to file a enhancement report on radar if you really want that.
>
> Right now the solution I found was set major and minor in Advertising UUID and when CBCentralManager callback with serivceUUID do some identification to find the right beacon I want to connect.
>
> Best Wishes,
> Khaos Tian
>
>> On Feb 13, 2014, at 12:15 PM, Frederic Visticot <email@hidden> wrote:
>>
>> I need to update the minor / major of the beacon firmware we have developed. (the beacon is implementing a profile to update minor / major)
>>
>> When user is monitoring for beacons with the LocationManager API, the CLBeacon are returned.
>> The pb is that the CLBeacon does not give any information of the lower layer (CoreBluetooth)
>>
>> How can I do to make the connection to the right beacon using the CoreLocation API with only the information provided by the beacon (minor and major) ?
>>
>> Is the only solution to add minor/major/proximityUUID in the scanReq/scanResp message ?
>>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Bluetooth-dev mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden