int ble_ibeacon_set_adv_data( void *uuid128, uint16_t major, uint16_t minor )
Configures the device to advertise iBeacons.
Parameter | Description |
---|---|
uuid | The 128-bit UUID to advertise. |
major | The major version number to include in iBeacons. |
minor | The minor version number to include in iBeacons. |
Value | Condition |
---|---|
0 | Success. |
BLE_HS_EBUSY | Advertising is in progress. |
Core return code | Unexpected error. |