error when i send a string of data

Home Forums mDot/xDot error when i send a string of data

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

    mDot* _dot;

    status = _dot->send(SendVector, false);
    if i get status = -2
    what does it mean?? Sometime i receive this error!!! Is it possible to get more information about this function?

    thx

    #15894
    Bryan Tran
    Moderator

    Hi Martin,

    This define in mDot.h file.

    typedef enum {
    MDOT_OK = 0,
    MDOT_INVALID_PARAM = -1,
    MDOT_TX_ERROR = -2,
    MDOT_RX_ERROR = -3,
    MDOT_JOIN_ERROR = -4,
    MDOT_TIMEOUT = -5,
    MDOT_NOT_JOINED = -6,
    MDOT_ENCRYPTION_DISABLED = -7,
    MDOT_NO_FREE_CHAN = -8,
    MDOT_TEST_MODE = -9,
    MDOT_NO_ENABLED_CHAN = -10,
    MDOT_AGGREGATED_DUTY_CYCLE = -11,
    MDOT_MAX_PAYLOAD_EXCEEDED = -12,
    MDOT_ERROR = -1024,
    } mdot_ret_code;

    Thanks,

    BT

    #15895
    Martin Pelletier
    Participant

    Thx Bryan,

    my system is peer to peer with 3 slaves and 1 master. And if one slave has this error after trying to send a message to the master (MDOT_TX_ERROR = -2) then it will not be able to send again! Can i reset this flag or flush the send buffer in order to send again?

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.