AwareCon
- Packetformats
(back to Particle Computer Docu Home)
Packet Format
for RF Network (for µPart: µAwareCon
Packet format)
Particles communicate to
each other using the following protocol
format: RF Header + LL Header + LL Payload + LL Tail
The LL Payload contains a ACL packet representing the data the user
wants to transmit. Header and tail are generated automatically by the
particles' AwareCon communication stack.
RF Header: sync symbol
etc.
| Synchronization |
Reserved bits
|
Arbitration
|
PHY header
|
LL Header: automatically set by the AwareCon communication stack
Version
= 5
|
Length of
payload (1 byte)
|
Fieldstrength(1
byte)
|
ID (8 bytes)
|
Sequencenumber
(1 byte)
|
LL Payload: contains an ACL packet (max size of ACL
packet is 64 bytes)
Type (high byte)
|
Type (low byte)
|
length of data
(1 byte)
|
Data (length
bytes)
|
...
|
LL Tail: CRC over header und payload
CRC (high byte)
|
CRC (low byte) |
Protocol
Format
for Internet communication
The bridge translates the
AwareCon RF packet format into a similiar format used for communication
on the Internet. Thereby, data is repacked in UDP packets and
broadcasted into the network. In this bridging process the ACL data
remains as they are and is preceded by a new header. The bridge adds
the location string in the header in order to refer to the location of
itself. The format of this string is decribed here
in further detail.
AwareCon LL
Header (no LL Tail) (above IP layer 4):
| Version = 2 |
Location string
(44 bytes)
|
ID (8 bytes)
|
Sequencenumber
(1 byte)
|
Payload: ACL packet of form
Type+Length+Data|Type+Length+Data|Type+Length+Data|... (max size of ACL
packet is 64 bytes)
Type (high byte)
|
Type (low byte)
|
length of data
(1 byte)
|
Data (length
byte)
|
...
|
Tail: CRC über Header und Payload
CRC (high byte)
|
CRC (low byte)
|