Trying to connect device using Adafruit / HopeRF RFM95W


#1

hello folks,

I’m in Chicago, currently toying around with an ESP8266 connected to Adafruit RFM95W. I’m using the very popular LMIC code from github on the ESP8266, and made the important configuration changes for ABP, 900HMz, device ID, keys, etc. (see below). I’ve not been able to get my sample data to the senet.io portal yet.

Here’s the latest serial output (debug level 1):

591370681: engineUpdate, opmode=0x908
591370901: TXMODE, freq=903900000, len=26, SF=7, BW=125, CR=4/5, IH=0
Packet queued
591437291: RXMODE_SINGLE, freq=923300000, SF=7, BW=500, CR=4/5, IH=0
591500151: RXMODE_SINGLE, freq=923300000, SF=9, BW=125, CR=4/5, IH=0
591501454: EV_TXCOMPLETE (includes waiting for RX windows)
591501459: engineUpdate, opmode=0x900

It outputs this over and over cycling through frequencies.

I did setup with ttn-abp.ino, matching up my device i registered on the Senet server with the .ino file.


    static const PROGMEM u1_t NWKSKEY[16] = {0xE8,...,0x4A};
    static const u1_t PROGMEM APPSKEY[16] = {0x9D,...,0x9C};
    static const u4_t DEVADDR = 0x12...91; 

Any comments welcome.

Jerry


#2

BTW, I’m working on a personal project to gain my understanding of LoRA, senet, IoT, etc. Hopefully I’ll be able to apply it to my industry job! :slight_smile:


#3

Hi Jerry,

Thanks for posting to the Senet Community forum. A review of the configuration snippet indicates that the device is configured with the proper keys, and devaddr. Can you please advise the location(s) that you have tested from and also whether your tests were indoors or outdoors? Also, the gateways that are located in that area are 8 channel gateways so it may take a bit longer for the uplinks from the device to be received. Once they are received please ensure that ADR is enabled as the network server will command the device to the proper channel plan. Once we know your location we can advise further from there.

Regards,
Mike


#4

thanks, i’ll let you know when I get back to this