Skip to content
This repository has been archived by the owner on Mar 24, 2022. It is now read-only.
/ RFM9XLoRa-NetNF Public archive

C# Semtech SX127X/RFM9X LoRa library for .Net Nano framework powered devices

Notifications You must be signed in to change notification settings

KiwiBryn/RFM9XLoRa-NetNF

Repository files navigation

RFM9XLoRa-NetNF

This library has been superceeded by SX127X-NetNF

A C# library for LoRa connectivity for Semtech SX127X/HopeRF RFM9X equipped .NET nanoFramework powered devices.

The repo has the source code for the series of blog posts written as I built this library

  1. ShieldSPI (https://blog.devmobile.co.nz/2020/04/10/nanoframework-lora-library-part1/)
  2. RegisterScan(https://blog.devmobile.co.nz/2020/04/11/nanoframework-lora-library-part2/)
  3. RegisterReadAndWrite(https://blog.devmobile.co.nz/2020/04/13/nanoframework-lora-library-part3/)
  4. TransmitBasic(https://blog.devmobile.co.nz/2020/04/25/nanoframework-lora-library-part4a/)
  5. ReceiveBasic(https://blog.devmobile.co.nz/2020/05/05/nanoframework-lora-library-part5/)
  6. ReceiveTransmitInterrupt(https://blog.devmobile.co.nz/2020/05/06/nanoframwork-lora-library-part6/)

Currently (May2020) the Chibios(http://chibios.org/dokuwiki/doku.php) SPI library appears to be having some issues writing to the transmit FIFO. There is an additional unprintable byte at the start of the messages and the last byte is truncated.

20:56:48.545 -> Message: ⸮Hello from LoRaIoT1 ! 17
20:56:48.578 -> Length: 25
20:56:48.578 -> FirstChar: 143
20:56:48.611 -> RSSI: -37
20:56:48.611 -> Snr: 9.75
20:56:48.611 ->

Fully featured driver and sample application Rfm9xLoRaDeviceClient Rfm9XLoRaDevice

There are also a parallel development projects for .Net, NetMF and GHI ELectronicss TinyCLR

My initial test rig consisted of

My second test rig consisted of