From dd43aff3be18b0ec43925833ce85a7e795d9a07a Mon Sep 17 00:00:00 2001 From: i-herrera <57756811+i-herrera@users.noreply.github.com> Date: Wed, 3 Aug 2022 11:37:27 +0200 Subject: [PATCH] LoRa_EdgeControl.ino When testing this application we encountered that MKR WAN receives packeges but the Edge Control fails to print the message. Error:rpc_retrieve_LoRa_data() failed! --- examples/RPC/LORA_EdgeControl/LORA_EdgeControl.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/RPC/LORA_EdgeControl/LORA_EdgeControl.ino b/examples/RPC/LORA_EdgeControl/LORA_EdgeControl.ino index d7701fc..da56e5b 100644 --- a/examples/RPC/LORA_EdgeControl/LORA_EdgeControl.ino +++ b/examples/RPC/LORA_EdgeControl/LORA_EdgeControl.ino @@ -40,7 +40,7 @@ void rpc_retrieve_LoRa_data() void *message; size_t result_data_len; - if (rpc.call_no_copy_no_args(F("retrieve_msg"), &message, &result_data_len) ) { + if (rpc.call_no_copy_no_args(F("retrieve_msg"), &message, &result_data_len) ) { //We think this condition fails causing message not to be print char buff[result_data_len + 1]; memset(buff, 0, result_data_len + 1);