drivers.iWire.iWire

iWire Sigfox transceiver UART driver.

Provides a thin command/response layer over a serial UART link to an iWire Sigfox module. Exposes helpers for opening the port, sending AT commands, configuring the Radio Configuration Zone (RCZ), and pushing uplink data payloads. Output is read until the module-specific AT_cmd_Waiting... sentinel and decoded from cp1252, matching the firmware’s CLI behaviour.

Example

Basic uplink of the bundled dummy payload:

from drivers.iWire.iWire import iWire  # doctest: +SKIP

iwire = iWire("/dev/ttyAMA2", 115200)  # doctest: +SKIP
iwire.initialize(rcz="6")              # doctest: +SKIP
iwire.sendData(iWire.DUMMY_PAYLOAD)    # doctest: +SKIP

Note

The module is hardware-bound: instantiating iWire opens a real serial device and will fail on hosts without that device or without permission to access it (typically the dialout group on Linux).

Attributes

Classes

iWire

Driver for the iWire Sigfox transceiver over UART.

Module Contents

drivers.iWire.iWire.__author__ = 'Sohil Patel'
drivers.iWire.iWire.__status__ = 'Production'
drivers.iWire.iWire.__version__ = '1.0.0'
drivers.iWire.iWire.basic_logger
drivers.iWire.iWire.context_logger
drivers.iWire.iWire.iwire