Datasheet

Page 107 of 161
nRF8001 Product Specification
Revision 1.2
24.10 GetDeviceAddress (0x0A)
GetDeviceAddress returns the address of the nRF8001 device.
See the operating mode during which this command can be used in Table 31. on page 92
. The command
will return a command response event with status ACI_STATUS_ERROR_DEVICE_STATE_INVALID
when it is used in the incorrect mode.
24.10.1 Message format
Table 46. ACI message structure for GetDeviceAddress
24.10.2 Accepted values
None
24.10.3 Returned events
This command returns a CommandResponseEvent. Data returned in the event is:
Command code:
GetDeviceAddress
Status: Success / status code
Response data:
Device address (6 byte) : Device address (Byte order LSB to MSB)
Address type (1 byte) :
•0x01 : Public address
•0x02 : Random static address
•0x03 : Random Private - Resolvable
•0x04 : Random Private - Unresolvable
24.10.4 Bluetooth low energy procedures used
None
Message field/parameter
Value size
(bytes)
Data value Description
Header
Length 1 1 Packet length
Command 1 0x0A
GetDeviceAddress