Datasheet

Page 102 of 161
nRF8001 Product Specification
Revision 1.2
24.6 Setup (0x06)
Setup uploads the configuration bit pattern generated by nRFgo Studio.
24.6.1 Functional description
Setup is performed by issuing a consecutive series of Setup commands. The number and contents of the
Setup commands required are defined by the nRFgo Studio output.
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.6.2 Message format
Table 42. ACI message structure for Setup
24.6.3 Accepted values
The Setup command accepts a configuration bit pattern generated by nRFgo Studio.
24.6.4 Returned events
This command returns a CommandResponseEvent followed by a DeviceStartedEvent upon
completion of the complete Setup sequence. Data returned in the
CommandResponsEvent is:
Command code:
Setup
•Status:
Status code
•Transaction continue
•Transaction complete
•(Error)
Response data: None
After the final
Setup command has been received, nRF8001 will switch to Standby state and execute the
new device settings. Upon switching to Standby state, a
DeviceStartedEvent is generated.
24.6.5 Bluetooth low energy procedures used
None
Message field/
parameter
Value size
(bytes)
Data value Description
Header
Length 1 1..31
Command 1 0x06
Setup
Content
SetupData 1..30 nRF8001 configuration data
exported from nRFgo Studio