digi.xbee.packets.factory module¶
-
digi.xbee.packets.factory.
build_frame
(packet_bytearray, operating_mode=<OperatingMode.API_MODE: (1, 'API mode')>)[source]¶ Creates a packet from raw data.
Parameters: - packet_bytearray (Bytearray) – the raw data of the packet to build.
- operating_mode (
OperatingMode
) – the operating mode in which the raw data has been captured.
See also