Datasheet
Page 68 of 161
nRF8001 Product Specification
Revision 1.2
20.5.1 Opening a receive pipe
Remote receive pipes and remote receive pipes with acknowledge require opening prior to use. Opening is
initiated by the application controller (see section 24.19 on page 120
for information on the
OpenRemotePipe command). Once opened by the application controller, the pipe(s) will be listed in the
OpenPipes bitmap returned by the
PipesStatusEvent.
Figure 32.
shows the sequence of events required to open a remote receive pipe.
Figure 32. Receive pipe opening; data stored remotely
20.5.2 Closing a receive pipe
Remote receive pipes and remote receive pipes with acknowledge that have been opened may be closed
(see section 24.20 on page 122
). Once closed by the application controller, the pipe(s) will be listed in the
ClosePipes bitmap returned by the PipesStatusEvent.
Figure 33. on page 69
shows the sequence of events required to close a remote receive pipe.
Application Controller nRF8001
Peer
SERVICE PIPE - ”RX” or RX_ACK (Remote store)
Enabling the Peer device to start sending data
ATT: Write Request (Handle=Client Char. Conf., Data)
ATT: Write Response (-)
OpenRemotePipe
(
PipeNumber)
CommandResponseEvent
(
Opcode, Success)
PipeStatusEvent
(Service discovery completed,
PipesOpen, PipesClosed)
GATT
Server
GATT
Client