Datasheet

Page 136 of 161
nRF8001 Product Specification
Revision 1.2
25.3 SendDataAck (0x16)
SendDataAck confirms reception of data from a peer device.
25.3.1 Functional description
This command is used in conjunction with the DataReceivedEvent. When data is received on a receive
pipe with the acknowledgment feature enabled, the application controller shall respond with a
SendDataAck command. When nRF8001 receives the SendDataAck command, a confirmation is sent
to the peer device. This confirmation will be either Handle Value Confirmation if the data is stored locally or
Write Response if data is stored remotely. See section 20.4 on page 61
and section 20.5 on page 66 for
MSCs illustrating data transfer with acknowledgment.
See the operating mode during which this command can be used in Table 32. 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. The command will use Credits based on Table 28, “
ACI commands
and events affecting command buffer memory credits,” on page 77.
25.3.2 Message format
Table 78. ACI message structure for SendDataAck
25.3.3 Accepted values
Table 79. Accepted values for parameters, SendDataAck
25.3.4 Returned events
None
25.3.5 Bluetooth low energy procedures used
This command uses the following GATT procedures
31
:
Characteristic Value Indication
Write Response
Handle Value Confirmation
Message field/parameter
Value size
(bytes)
Data value Description
Header
Length 1 2 Packet length
Command 1 0x16
SendDataAck
Content
ServicePipeNumber 1 Number of the service pipe on which the
acknowledge is to be sent
Parameter Data value Description
ServicePipeNumber
1..62 Must a pipe listed in the OpenPipes bitmap returned
in the
PipeStatusEvent
31. Bluetooth Core specification v4.0, Vol. 3, Part G, Chapter 4.2