Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Send additional data in iBeacon

Tags:

ios

ibeacon

I am working on an iBeacon project where I want to send text informations along with iBeacon data. I am now using iPhone as iBeacon. I can't find a way to customise the data transmission as well as reception using CoreLocation.

I am able to do this if both sender and receiver are of Bluetooth mode. I have gone through similar questions (Question, Question2) and these are different from what I want.

like image 887
krishnanunni Avatar asked Oct 20 '22 21:10

krishnanunni


1 Answers

You cannot do this with iBeacon alone. You will need your device to act as an iBeacon and a BLE peripheral. Once you enter the beacon region you will need to initiate a connection to the BLE peripheral using Core Bluetooth in order to read the additional characteristics.

like image 161
Paulw11 Avatar answered Nov 03 '22 20:11

Paulw11