ble_ibeacon_set_adv_data() function
Configures the device to advertise iBeacons.
Arguments
major
The major version number to include in iBeacons.
minor
The minor version number to include in iBeacons.
measured_power
The Measured Power (RSSI value at 1 Meter).
Return value
0 on success; BLE_HS_EBUSY if advertising is in progress; Other nonzero on failure.