IBEACON

Role

Enter or leave BLE iBeacon mode for the Bluetooth interface.

Warning

Not all hardware support this command. For devices without such capability, this instruction will generate an error.

Access condition

Free.

Command

Field Value
CLA 58 (CONTROL)
INS AB
Data See the ‘Parameters’ options below

Parameters

Stop iBeacon

Data Bytes Content
0 00 to leave iBeacon mode

Start iBeacon

Data Bytes Content
0 01 to enter iBeacon mode
1 Duration in seconds
00 to run in iBeacon mode forever.
Values 01 to FF will leave iBeacon mode automatically after the given number of seconds.
2-5 iBeacon ID
The 2-high order bytes are assigned by Apple to the approved iBeacon developers
6-N iBeacon name
optional, up to 13 characters. If no name is specified, the device uses its product name.

Response

Field Length Description / remark
STA 1 byte STAtus