lmic arduino
1.0.0
이 라이브러리는 더 이상 유지 관리되지 않습니다. https://github.com/ngraziano/lmicpp-arduino를 살펴보고 예 : examples/balise
EU868 주파수에서 Arduino Pro Mini 및 RFM95로 테스트.
Platformio와 함께 작업하십시오.
src 디렉토리에서 lorakeys.h 라는 파일을 작성하여 네트워크에 선언 된 키가 포함되어 있습니다 (예 : https://www.thethingsnetwork.org)
파일 예제 :
#include <Arduino.h>
// This EUI must be in little-endian format, so least-significant-byte
// first. When copying an EUI from ttnctl output, this means to reverse
// the bytes. For TTN issued EUIs the last bytes should be 0xD5, 0xB3,
// 0x70.
static const uint8_t PROGMEM APPEUI [ 8 ] = { 0 xXX , 0 xXX , 0 xXX , 0 xXX , 0 xXX , 0xD5 , 0xB3 , 0x70 };
// This should also be in little endian format, see above.
static const uint8_t PROGMEM DEVEUI [ 8 ] = { 0x02 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 , 0x00 };
// This key should be in big endian format (or, since it is not really a
// number but a block of memory, endianness does not really apply). In
// practice, a key taken from ttnctl can be copied as-is.
// The key shown here is the semtech default key.
static const uint8_t PROGMEM APPKEY [ 16 ] = { 0x2B , 0x7E , 0x15 , 0x16 , 0x28 , 0xAE , 0xD2 , 0xA6 , 0xAB , 0xF7 , 0x15 , 0x88 , 0x09 , 0xCF , 0x4F , 0x3C }; main.cpp 에서 do_send() 의 내용을 보내려고하는 데이터로 바꾸십시오.
이 저장소의 대부분의 소스 파일은 Eclipse Public License v1.0에 따라 제공됩니다. AES 코드 중 일부는 라이센스와 같은 MIT에서 사용할 수 있습니다. 자세한 내용은 각 개별 소스 파일을 참조하십시오.