matthijskooijman / arduino-lmic

:warning: This library is deprecated, see the README for alternatives.
710 stars 653 forks source link

LMIC for IN865_867 #271

Open krutarthtrivedi opened 4 years ago

krutarthtrivedi commented 4 years ago

Hello @matthijskooijman, Firstly, Thanks a lot for this amazing repository. It is helping us a lot to discover LoRaWAN and to establish a network of the same.

We are using RFM96 Module from HopeRF with Arduino pro mini for development of a node. Besides, We have configured a LoRaWAN gateway using raspberry pi and RAK831. The node is sending data to the gateway at default EU868 configuration on both the ends. But we are situated in India so we would like to set up our environment with IN865_867 configuration. From the gateway side, we updated the gateway successfully but from the Node side, We are somewhat confused with changing lorabase.h and also the setupChannel() function in main code. I was searching and found that some guy has done a workaround for AU915

So, I would just like to know, similarly, Are there any possibilities to use the same stack with some minor/major tweaking and make it work for IN865_867? I know the uplink and downlink channel frequencies and DR for IN865_867 as stated below.

Capture

Thanks, Krutarth Trivedi.

Urenthummar commented 4 years ago

Go to project_config folder in library then modified 'lmic_project_config.h' file, Now uncomment "#define CFG_in866 1" and save it, Now you are in Indian Frequency Band.