Hi Bernd,

do you know that the RFM95 is based on the Semtech Sx1276 chip? There is
a driver available at Nuttx, as Greg said, only a "dumb spi driver".

On semtech site is abundant info available, also the LoRaWAN stack can
be downloaded there. It should not be too complicated to port this into
Nuttx (for a LoRa node device, for a gateway maybe more).

Time-critical should also be no problem in NuttX, other than with the
Linux SPI driver.

I also plan to make some tests on this as soon as I receive the Sx1276
dev Kit.


On 19/02/2020 12:14, Bernd Walter wrote:
On Wed, Feb 19, 2020 at 02:33:19PM +0100, Philippe Coval wrote:
Hi,

I can share a personnal experience of using LoRaWAN on mcu.
I also used a RN2483 module that handle serial commands,
In my case I have an RFM95W module connected to an SAM4E controller.
Those are quite common modules and having full support would be valueable.
Until now I'm running some things network gateways and played with arduino.
It is however more a fun project, so not sure how much time I put into this.
Also no idea yet on how difficult it would be to add full LoRaWAN support
into the existing framework, especially since I'm not familar with the
MAC layer.
I know that there is some time critical requirement to receive data,
which is a prerequisite for OTAA, so probably has to be done on the
driver side.
Another option would be to hack the IBM LMIC driver into my code, which
would be more a "works for me" approuch.
Also the IBM code is under the "Eclipse Public License v1.0", which I'm
not familar with.
This is for me to use it in maybe commercial products, but also if parts
can be taken to create NuttX code.
At the first look it seems to be similar permissive as a BSD license, which
sounds good.

It worked at least for this TizenRT demo:
http://purl.org/tizen-rt-lpwan-20180204rzr#

I also shared some hints about using RN2483 that should also apply to NuttX

https://www.slideshare.net/SamsungOSG/tizen-rt-a-lightweight-rtos-platform-for-lowend-iot-devices/25

Would that help ?

Regards


On Tue, Feb 18, 2020 at 2:55 PM Gregory Nutt <spudan...@gmail.com> wrote:

I'm a bit confused about the state of LoRa support in NuttX.
I've seen a few configs with STM32 controllers.
And there is apps/examples/sx127x_demo
So far everything looks as if there is only radio support, but no
LoRaWAN implementation to send and receive messages from the things
network.
That is truly.  Only a dumb serial driver has been contributed.


--
--
gpg:0x467094BC
xmpp:philippe.coval....@gmail.com
https://elinux.org/User:RzR

--
Florian Wehmeyer
TFW Tech Solutions

Reply via email to