i have connect serial’s node (uart) on my pc and i save the data in a file.
I have a inject node connected to a function node. Then this function node is connected to lora out node and a debug node.
In function node i have payload : ‘h’ + timestamp.
In the debug i see ‘h’ + timestamp who progress.
Each 4 seconde i send a new message
Hy Jason,
The conduit does not wait an ack. It continue to send messages.
I continue to see a différent messages pass to windows debug.
I say the node stop receiving packets because i don’t have datas on the UART.
I have no idea…
Hello guys,
I have a problem with the class RadioEvent.
if (flags->Bits.Rx) {
logDebug(“Rx %d bytes”, info->RxBufferSize);
if (info->RxBufferSize > 0) {
// print RX data as string and hexadecimal
std::string rx((const char*)info->RxBuffer, info->RxBufferSize);
printf(“Rx data: %s [%s]\r\n”, rx.c_str(), mts::Text::bin2hexString(info->RxBuffer, info->RxBufferSize).c_str());
}
}
When my gateway send a message without caractere null, the code work but when there is a caractere null, the first %s doesn’t post a complet message and then the second %s post a complet message in hex.
I want receive a string message. How i can resolve this problem to receive a complet message in string ?
Thanks you