Setting Spread factor / Data rate with libmDot-mbed5

Home Forums mDot/xDot Setting Spread factor / Data rate with libmDot-mbed5

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #18285
    Steeve Zissou
    Participant

    Hi,
    I am trying to set the spread factor (aka data rate) with libmDot-mbed5 on the example auto_ota_example.cpp usign mDot-868.
    I can’t find where in this example, the spread factor is set.
    Could anyone tell me :
    1)where is the spread factor set in the example above
    2) how to set it to a given value
    Thanks !

    #18287
    Mike Fiore
    Blocked

    Steeve,

    The Dot-Examples default configuration when starting up – this sets the TX datarate to DR0 which is SF12@125kHz in EU868. You can add a code to set the TX datarate using the mDot::setTxDataRate(const uint8_t& dr) function.

    Cheers,
    Mike

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