Momo SMITH

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: mDot Class C fails to receive after 20min #20435
    Momo SMITH
    Participant

    i have connect serial’s node (uart) on my pc and i save the data in a file.

    in reply to: mDot Class C fails to receive after 20min #20431
    Momo SMITH
    Participant

    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

    • This reply was modified 7 years, 4 months ago by Momo SMITH.
    • This reply was modified 7 years, 4 months ago by Momo SMITH.
    in reply to: mDot Class C fails to receive after 20min #20429
    Momo SMITH
    Participant

    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…

    in reply to: Releasing receive buffer memory on Lora Radio event. #19863
    Momo SMITH
    Participant

    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

Viewing 4 posts - 1 through 4 (of 4 total)