Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 837 Bytes

README.md

File metadata and controls

40 lines (29 loc) · 837 Bytes

lbm-micropython

LoRa Basic Modem integration for MicroPython

Important

This is a Proof-of-Concept, not ready for actual use.

Running

Copy lbm.mpy to device:

mpremote cp lbm.mpy :

In MicroPython REPL:

import lbm
import asyncio

lora = lbm.LoRaWAN()

async def lora_task():
    while True:
        n = lora.poll()
        await asyncio.sleep_ms(n)

asyncio.run(asyncio.gather(
    lora_task(),
))

TODO

  • Fix build
  • Create basic module API
  • Attach LBM builtin driver to MicroPython machine.SPI / machine.Pin
  • Class A device
  • TBD: Attach LBM LoRaWAN stack to MicroPython LoRa drivers
  • Allow static .bss variables