[SOLVED] Data exceeds datarate max payload 11 bytes after one transmission

Home Forums mDot/xDot [SOLVED] Data exceeds datarate max payload 11 bytes after one transmission

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #23086
    Brad Rust
    Participant

    I am able to successfully send a string that looks like:

    “modulePos:12|palletPos:8|vRead:0.07346”

    but only on startup. After the first transmission, when the dot wakes from sleep in the main while loop (as in the OTA example), it fails with “Data exceeds datarate max payload 11 bytes.”

    I set the data rate with:


    dot->setTxDataRate(mDot::DR1)

    in my initial setup function.

    Any ideas? I can post more code but…I don’t think it’s me. I’m just repeating the loop and the data is static at this point.

    #23092
    Brad Rust
    Participant

    It turns out that if one resets the data rate after checking the join in the while loop that the issue is solved.

    It seems like this bug persists from Novemeber of 2016 and was never fixed.

    http://multitech9.rssing.com/browser.php?indx=69116575&item=292

    #23123
    Yi Wei
    Participant

    Yeah I found the same problem, so all I can do is set the data rate to 1 before every time send() gets called.

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