Indigresso Wiki

Open Source Stuff for DASH7

User Tools

Site Tools


opentag:otlib:mpipe

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
opentag:otlib:mpipe [2012/03/08 18:30]
jpnorair [Link Types]
opentag:otlib:mpipe [2012/03/24 16:40]
jpnorair [NDEF Header]
Line 26: Line 26:
 ^  Message Flags  ^  Type Length ​ ^  Payload Length ​ ^  ID Length ​ ^  ID        ^  Payload ​ ^  MPipe Footer ​ ^ ^  Message Flags  ^  Type Length ​ ^  Payload Length ​ ^  ID Length ​ ^  ID        ^  Payload ​ ^  MPipe Footer ​ ^
 |  1 Byte         ​| ​ 1 Byte       ​| ​ 1 Byte          |  1 Byte     ​| ​ 2 Bytes   ​^ ​ N Bytes  ^  4 Bytes       ^ |  1 Byte         ​| ​ 1 Byte       ​| ​ 1 Byte          |  1 Byte     ​| ​ 2 Bytes   ​^ ​ N Bytes  ^  4 Bytes       ^
-|  0xDD           ​| ​ 0            |  N + 4           |  2          |  ALP Ctrl  ^  Data     ​^ ​ Sequence+CRC ​ ^+|  0xDD           ​| ​ 0            |  N               ​|  2          |  ALP Ctrl  ^  Data     ​^ ​ Sequence+CRC ​ ^
  
   * The "ALP Ctrl" data corresponds to a Protocol ID (1 Byte) and a Command Descriptor (1 Byte). ​ For more information on this, check the [[opentag:​otlib:​alp|ALP Module]].   * The "ALP Ctrl" data corresponds to a Protocol ID (1 Byte) and a Command Descriptor (1 Byte). ​ For more information on this, check the [[opentag:​otlib:​alp|ALP Module]].
-  * The short record length is always used.  Therefore, the maximum size of an MPipe frame payload is 251 bytes. ​ 4 bytes must be included for the footer ​(making ​255 bytes).  The maximum size of a total MPipe frame is 6+251+4or 261 bytes.+  * The short record length is always used.  Therefore, the maximum size of an MPipe frame payload is 255 bytes.  ​Also, 4 bytes must be included for the MPipe footermaking ​265 bytes (6+255+4the maximum size of a total MPipe frame.  Thereforea good minimum allocation for an MPipe Queue is 265 bytes, although custom implementations can be smaller as long as the client is aware.
  
  
opentag/otlib/mpipe.txt ยท Last modified: 2013/11/15 02:16 by jpnorair