CircuitPython Ebyte E32 Library
CircuitPython driver for Ebyte’s E32 UART LoRa modules that use the SX1278/SX1276 chipsets.
Legal Preamble
I’m not responsible for what you do with your module, act responsibly.
You should also really check the Legal Aside section.
Features
Supports all standard E32 UART modules.
Extra support on a per-frequency and per-power basis:
More descriptive constants for TX power.
Maximum packet size calculators. (TODO)
Entirely optional via separate modules.
Minified versions for devices with tiny storage space:
~75% smaller for .py files
~5% smaller for .mpy files (Due to shortened local variables, mostly)
Limitations
No built-in packet size limit:
Wildly different between frequencies & operating parameters.
Not documented clearly enough in LoRA and LoRaWAN documentation.
No built-in protocol:
All LoRa packets are glued back-to-back when received.
No LoraWAN support
Missing support for some modules:
Modules with
170
,400
and900
prefix. (Will improve overtime)
Dependencies
Recommended Links
License
This project is licensed under the MIT license.
Table of Contents
- ebyte_e32
AirDataRate
CHANNEL_MAX
CHANNEL_MIN
E32Device
E32Device.address
E32Device.channel
E32Device.data_rate
E32Device.deinit()
E32Device.flush_uart()
E32Device.forward_error_correction
E32Device.get_config()
E32Device.get_raw_config()
E32Device.get_raw_version()
E32Device.get_version()
E32Device.in_buffer
E32Device.io_drive_mode
E32Device.mode
E32Device.prepare_uart()
E32Device.read()
E32Device.reset()
E32Device.send()
E32Device.tx_mode
E32Device.tx_power
E32Device.uart_parity
E32Device.uart_rate
E32Device.update_config()
E32Device.wait_aux()
E32Device.wake_up_time
E32DeviceConfig
E32DeviceVersion
ForwardErrorCorrection
IODriveMode
Modes
SerialBaudRate
SerialParity
TX_POWER_MAX
TX_POWER_MIN
TransmissionMode
WakeUpTime
- ebyte_e32.exceptions
E32GenericError
- ebyte_e32.f443
CHANNEL_COUNT
FREQUENCY_MAXIMUM
FREQUENCY_MINIMUM
FREQUENCY_STEP
- ebyte_e32.f868
CHANNEL_COUNT
FREQUENCY_MAXIMUM
FREQUENCY_MINIMUM
FREQUENCY_STEP
- ebyte_e32.f915
CHANNEL_COUNT
FREQUENCY_MAXIMUM
FREQUENCY_MINIMUM
FREQUENCY_STEP
- ebyte_e32.t20
TransmitPower
- ebyte_e32.t30
TransmitPower
- ebyte_e32.t33
TransmitPower
- ebyte_e32.t37
TransmitPower