matthijskooijman / arduino-lmic

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

About some of the problems for LMiC on Arduino board #48

Open hongi200 opened 7 years ago

hongi200 commented 7 years ago

I've read that you write Arduino-LMiC library and porting it. So,have some questions for you.

This is my hardware. (Arduino UNO, LoRa module: SX1272, Multiprotocol Radio Shield for Arduino) link: https://www.cooking-hacks.com/documentation/tutorials/extreme-range-lora-sx1272-module-shield-arduino-raspberry-pi-intel-galileo/

qq 20161011225826

Can I do these works? And how

Sending packets uplink, taking into account duty cycling. Encryption and message integrity checking. Receiving downlink packets in the RX2 window. Custom frequencies and datarate settings. Over-the-air activation (OTAA / joining)

That's PHY layer or MAC layer ?

I hope to get your suggestions because I'm going to talk about this aspect of these problem with my professor in next week.

Thank you for read

regard.

Oliv4945 commented 7 years ago

If you selected the right radio chip (SX1272 instead of SX1276) in config.h,try to see the issue #9: the official Arduino Uno board I have can not handle 10 MHz SPI clock. Try to modify this line to set the SPI speed to 2 MHz