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
- ShieldSPI (https://blog.devmobile.co.nz/2020/04/10/nanoframework-lora-library-part1/)
- RegisterScan(https://blog.devmobile.co.nz/2020/04/11/nanoframework-lora-library-part2/)
- RegisterReadAndWrite(https://blog.devmobile.co.nz/2020/04/13/nanoframework-lora-library-part3/)
- TransmitBasic(https://blog.devmobile.co.nz/2020/04/25/nanoframework-lora-library-part4a/)
- ReceiveBasic(https://blog.devmobile.co.nz/2020/05/05/nanoframework-lora-library-part5/)
- 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
- STM32F429 Discovery from ST Micro electronics
- Dragino Shield from Dragino Technology
- Armronix IA005: SX1276 Lora node from Armtronix
My second test rig consisted of