Send error on xdot

Home Forums mDot/xDot Send error on xdot

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #15985
    Martin Pelletier
    Participant

    Hi,
    my system is peer to peer with 3 slaves and 1 master. And if one slave has this error (MDOT_TX_ERROR = -2) after trying to send a message to the master then it will not be able to send again! What can I do in order to send again? =>clear this error? And why i got a send error?

    I used this without success:

    status = _dot->send(SendVector, false);
    if (status == mDot::MDOT_OK) //
    {
    ….
    _dot->recv(data);
    }
    else
    {
    if (_dot->getSerialClearOnError()) //8dec16
    SendVector.clear();
    }

    Thx for your response!!

    #15986
    Jason Reiss
    Keymaster

    Have you analyzed the debug output?
    It may be helpful to see the system event log.

    Do you have ACK enabled? This would only work with a P2P system between two dots.
    The P2P feature was not designed for more that 2 end-points.

    This mbed user has some good examples of using the Sx1272 chip on the mDot without the library if you want some lower level control.
    https://developer.mbed.org/users/dudmuck/code/

    #16021
    Martin Pelletier
    Participant

    Hi Jason,
    ACK is not enabled. I have my own Ack. If i got a tx error then the sx1272 stops to send any data but the program still turns. Can i reset the sx1272?

    thx for your answer

    #16048
    Jason Reiss
    Keymaster
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.