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 endpoint) are empty if they are not
present, keeping the list elements consistent, as follows: Frame Control
| Dst Endpoint | Group Address | Cluster Identifier | Profile Identifier
| Source Endpoint | APS Counter | 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 APS packet into list elements.
|