nRF51 SDK
|
Frame format encoding of the sd_ble_gap_appearance_set packet.
Operation Code = 0x68 (104) for sd_ble_gap_appearance_set, see BLE_GAP_SVCS.
The parameter provided as input to sd_ble_gap_appearance_set is encoded in the following order:
- 1 byte: | Operation Code, Value = 0x68 (104) | |
- 2 bytes: | Bluetooth Appearance values | Appearance |
Frame format encoding of the sd_ble_gap_appearance_set response packet.
In case of an error, the following data is encoded:
- 1 byte: | Operation Code, Value = 0x68 (104) | |
- 4 byte: | nRF Error Code |
In case of a successful command, i.e. 'nRF Error Code' = NRF_SUCCESS
, the following data is encoded:
- 1 byte: | Operation Code, Value = 0x68 (104) | |
- 4 bytes: | nRF Error Code |