Datasheet
Page 122 of 161
nRF8001 Product Specification
Revision 1.2
24.20 SetApplLatency (0x19)
SetApplLatency sets the application latency. It is only usable if the connection is using slave latency.
24.20.1 Functional Description
SetApplLatency subrates the slave latency. nRF8001 will listen on each subrated interval and only
acknowledge the received packet from the central device if it has its MD (More Data) bit set to 1 or contains
data.
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.20.2 Message Format
Table 62. ACI message structure for SetApplLatency
24.20.3 Accepted values
Table 63. Accepted values for parameters, ApplLatencyMode
Message field/
parameter
Value size
(bytes)
Data value Description
Header
Length 1 4 Packet Length
Command 1 0x19
SetApplLatency
Content
ApplLatencyMode
1 Enable/ Disables the application latency
feature
Latency 2 Number of consecutive connection events
that nRF8001 does not listen for the
master.
Parameter Data value Description
ApplLatencyMode
0x00 Application Latency Disabled
(
Default value on connection)
0x01 Application Latency Enabled
Latency 0 .. (Slave Latency-1) The number of consecutive connection
events that nRF8001 does not listen for the
master. This value must be seen in
conjunction with the
Slave latency.
Application Latency is disabled if it is set to a
number higher or equal to the
Slave latency
number (see also Table 58. on page 117
).