I tried the code, when I see the res value it gives me 0 when everything is configured, but I can't transmit or receive. My module is rfm95 (sx1276). I configured SPI and NSS as output and DIO_0 as interrupt. Does the module reset have to remain unplugged?
if I leave the following line of code I don't read res:
uint8_t res = lora_send_packet(&lora, (uint8_t *)"test", 4);
if (res != LORA_OK) {
// Send failed
}
if I put res == 0
instead I continue but I don't transmit
I tried the code, when I see the res value it gives me 0 when everything is configured, but I can't transmit or receive. My module is rfm95 (sx1276). I configured SPI and NSS as output and DIO_0 as interrupt. Does the module reset have to remain unplugged? if I leave the following line of code I don't read res: uint8_t res = lora_send_packet(&lora, (uint8_t *)"test", 4); if (res != LORA_OK) { // Send failed }
if I put res == 0 instead I continue but I don't transmit