int ble_hs_id_set_rnd(const uint8_t *rnd_addr)
Sets the device's random address. The address type (static vs. non-resolvable private) is inferred from the most-significant byte of the address. The address is specified in host byte order (little-endian!).
Parameter | Description |
---|---|
rnd_addr | The random address to set. |
Value | Condition |
---|---|
0 | Success. |
Core return code | Unexpected error. |