This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ make | |
gcc loracrack.c includes/*.c -L/usr/lib/ssl/ -o loracrack -lcrypto -O3 -Wall -lpthread | |
loracrack.c: In function ‘loracrack_thread’: | |
loracrack.c:227:17: error: storage size of ‘ctx_aes128’ isn’t known | |
EVP_CIPHER_CTX ctx_aes128, ctx_aes128_buf; | |
^~~~~~~~~~ | |
loracrack.c:227:29: error: storage size of ‘ctx_aes128_buf’ isn’t known | |
EVP_CIPHER_CTX ctx_aes128, ctx_aes128_buf; | |
^~~~~~~~~~~~~~ | |
loracrack.c:227:29: warning: unused variable ‘ctx_aes128_buf’ [-Wunused-variable] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (keychar === "12") { //12 is the keychar for OTA Configs | |
var payload = msg.payload.substr(2); | |
} else { | |
var payload = msg.payload.substr(4); | |
} | |
if(keychar === "12") { | |
msg.payload = eui + "/configuration/" + payload; | |
msg_is_config = true; | |
} else { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IRQ serie modem | |
IRQ serie gps | |
IRQ serie nano. | |
IRQ rtc - cuenta minutos | |
void send_msg_gps(); | |
void send_msg_modem(); | |
void send_msg_nano(); |