Datasheet

Page 149 of 161
nRF8001 Product Specification
Revision 1.2
Table 98. shows an example of a bitmap returned by a PipeStatusEvent..
Table 98. Bitmap returned by PipeStatusEvent(Example)
26.8.2 Message format
Table 99. ACI message structure for PipeStatusEvent
Bitmap bytes Byte 1 Byte 2
Service pipe number 7 6 5 4 3 2 1 0 15 14 13 12 11 10 9 8
PipesOpen (bits) 1111111011111111
PipesOpen (byte
values)
0xFE 0xFF
PipesClosed (bits) 0000000
00000000
PipesClosed (byte
values)
0x00 0x00
Bitmap bytes Byte 3 Byte 4
Service pipe number 23 22 21 20 19 18 17 16 31 30 29 28 27 26 25 24
PipesOpen (bits) 0000110100000000
PipesOpen (byte
values)
0x0D 0x00
PipesClosed (bits)
1000001000010001
PipesClosed (byte
values)
0x82 0x11
Bitmap bytes Byte 5 Byte 6
Service pipe number 39 38 37 36 35 34 33 32 47 46 45 44 43 42 41 40
PipesOpen (bits) 0000000000000000
PipesOpen (byte
values)
0x00 0x00
PipesClosed (bits) 0000000000010000
PipesClosed (byte
values)
0x00 0x10
Bitmap bytes Byte 7 Byte 8
Service pipe number 55 54 53 52 51 50 49 48 63 62 61 60 59 58 57 56
PipesOpen (bits) 00001000X0000000
PipesOpen (byte
values)
0x08 0x00
PipesClosed (bits) 00000000
X0000000
PipesClosed (byte
values)
0x00 0x00
Message field/parameter
Value size
(bytes)
Data value Description
Header
Length 1 17 Packet length
Event 1 0x88
PipeStatusEvent
Content
PipesOpen 8 Bitmap of open service pipes, 1...62
PipesClosed 8 Bitmap of service pipes that will
require opening (OpenRemotePipe)
before they are operational, 1...62