I am not able to receive the sent radio packet from the Lora rf95 transceiver.
I have tried declaring the received array as a char, uint8_t along with using len as size, however the size is 7 so i thought what I did was ok. It didn't recieve anything when I used:
uint8_t buf[RH_RF95_MAX_MESSAGE_LEN];
uint8_t len = sizeof(buf);
if (rf95.recv(buf, &len))
{
digitalWrite(LED, HIGH);
RH_RF95::printBuffer("Received: ", buf, len);
Serial.print("Got: ");
Serial.println((char*)buf);}
It does receive something at the same rate as the transceiver when I use:
uint8_t P;
if(rf95.recv((uint8_t*)P,7)){
Serial.print((char)P);
Serial.println();
It prints the new line but no data. It was working before but when I started to try to adjust the power it no longer worked so I tried other things. I a new to coding so please don't be mean, I appreciate any help you can give.