Datasheet

Page 128 of 161
nRF8001 Product Specification
Revision 1.2
24.23 Broadcast (0x1C)
Broadcast enables a pipe to start sending advertisement data on non-connectable advertisement packets.
24.23.1 Functional Description
Broadcast command starts nRF8001 advertising using non-connectable advertisement packets. The type
of advertisement packet used is defined in the device configuration by using the nRFgo Studio setup tool.
Any broadcast pipe that is enabled will have its local data sent in the advertisement packet.
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.23.2 Message Format
Table 68. ACI message structure for Broadcast
24.23.3 Accepted values
Table 69. Accepted values for parameters, Broadcast
24.23.4 Returned events
This command returns a CommandResponseEvent. Data returned in the event is:
Command code:
Broadcast
Status: Success / Error code
Response data: None
24.23.5 Bluetooth low energy procedures used
This command uses the following GAP procedures
Bluetooth Core specification v4.0, Vol 3, Part C, Chapter 9.1
Message field/
parameter
Value size
(bytes)
Data value Description
Header
Length
15
Command
10x1C
Broadcast
Content
Timeout
2
Time, in seconds, to advertise before
exiting to Standby mode
AdvInterval
2
Advertising interval timing to be used
Parameter Data value Description
Timeout
0x0000 Infinite; continuous advertising.
0x0001 ... 0x3FFF Valid timeout range in second (1..16383)
AdvInterval 0x0100 … 0x4000 Advertising interval set in periods of 0.625
msec. Valid range from 0x0100 to 0x4000