Hi,
I know the Lora payload size is 256 bytes, but i am not able to send more than 12 characters over using the mBed Lora Connect Example. https://developer.mbed.org/teams/MultiTech/code/mDot_LoRa_Connect_Example/
See below the code and the output. Any suggestion on what i am doing wrong here?
Thanks
std::string data_str = “Aquickbrownfox”;
printf(“Payload Size %d”,data_str.size());
if ((ret = dot->send(data)) != mDot::MDOT_OK) {
logError(“failed to send”, ret, mDot::getReturnCodeString(ret).c_str());
} else {
logInfo(“successfully sent data to gateway”);
}
Console:
Payload Size 14 [ERROR] Data exceeds datarate max payload