arduino / mkrwan1300-fw

22 stars 23 forks source link

MKR LoRa wan 1300 as a gateway #14

Open pmerlin13 opened 5 years ago

pmerlin13 commented 5 years ago

Hi,

I'm new using LoRa.

I got one LoRa mkrwan 1300 and i'm wondering if i can use it as a gateway just to read data from end devices.

Best regards, Merlin Pineda

facchinm commented 5 years ago

Hi @pmerlin13 , yes you can (but there's no code to do it) :smile: Jokes apart, the setup you wont to achieve is usually called "single channel gateway" which works just for very small setups (all boards must be transmitting on the same channel with different timings).

The firmware we ship doesn't provide this functionality, but combining the useful parts of https://github.com/things4u/ESP-1ch-Gateway-v5.0 and https://github.com/GrumpyOldPizza/ArduinoCore-stm32l0/pull/57 will do it (it would be a very nice project).

pmerlin13 commented 5 years ago

@facchinm have you use AT commands to set the Device EUI and AppKey of the Mkrwan 1300. I have try multiple ways and got nothing. Example : AT+APPKEY

Let me explain you my project: I use electrical meter with LoRa communication( mtxdot-na1-a00-100), they connect to a LoRa gateway. I want to read them from the MKR wan 1300 (Lora).

I have try many AT commands from the attached document and they work fine, but there are some commands that are not working, as the DEV EUI.

Can you tell me how can i establish connection with this meter? it is just for reading the meter

Best regards, Merlin Pineda. T command for Lora.pdf

pedros89 commented 2 years ago

Hello, I have a a few analog sensors from Adeunis That are already connected to a gateway via ABP connection. I have all their addresses, NWS KEY and LORA APP S KEY which vary for each sensor. Basically I would need to see what they are sending and use MKR Lora 1300 to activate some relays. I can connect to their very same network but I cannot read what they are sending. Did you find a way to do it? Thank you Pietro