ios - Sending only one iBeacon Packet -
ios - Sending only one iBeacon Packet -
is possible send 1 ibeacon packet? have tried using cbperipheralmanager
,but since there 2 method start , stop advertising, can't command how many packet beingness broadcast.
what want seek utilize ibeacon packet command, instead of broadcasting id. send 1 ibeacon packet, , if receiver got message, can send acknowledgement ibeacon packet. intention avoid pairing of bluetooth send simple data. info linked uuid, major, , minor of packet.
or there improve ways using ibeacon.
yes, you can utilize ibeacon technology send info , forth between 2 ios devices without pairing. if have 2 devices, device , device b, set both of them range beacons mutual proximityuuid, say, e2c56db5-dffb-48d2-b060-d0f5a71096e0. , can exchange info in 2 byte major , minor fields.
what can't do command transmitter plenty send single ibeacon advertisement. transmitter in ios sends out 10 advertisement packets per second, best start transmitter stop on timer 100ms later. (you shouldn't this, because there no guarantee single ibeacon advertising packet received other device -- may lost due crc error in radio noise. improve off letting packet go on transmit until can confirm response other device received.)
you can see illustration of starting , stopping transmitter on timer in reply here.
of course, there may easier , more robust ways of accomplishing want built-in bluetooth info exchange mechanisms. doesn't alter fact propose possible.
ios ibeacon
Comments
Post a Comment