Chops up the specified packet contents into a list of fields. Does
not attempt to re-order the field values for parsing. ''.join(X) will
reassemble original packet string. Fields which may or may not be
present (such as the destination address) are empty if they are not
present, keeping the list elements consistent, as follows: Frame Control
| DA | SA | Radius | Seq # | Dst IEEE Address | Src IEEE Address | MCast
Ctrl | Src Route Subframe | Payload
An exception is raised if the packet contents are too short to
decode.
- Parameters:
packet (String) - Packet contents.
- Returns: list
- Chopped contents of the ZigBee NWK packet into list elements.
|