This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

What parameters should be used for gazell 250kbps datarate

Hi,

I used the project gzll_ack_payload in nRF51 SDK for nRF51822, I changed the Device to send a packet per second, every thing goes OK with the default parameter.

Because I want to have a better communication distance, I used nrf_gzll_set_datarate() set the datarate to 250kbps, and nrf_gzll_set_timelot_period(2700) set the period to 2700ms. But I found I must set nrf_gzll_set_max_tx_attempts() more than 80, can the communication work well, otherwise, if the Device re-power, the Host can not received any data.

so, is there anyother parameters should be set for 250kbps Gazell ?

Thanks and best regards.

  • Hi,

    It should not be any other configurations needed. Just make sure that both host and device has the same configuration.

    As for your synchronization issue, you can play around with these settings:

    • nrf_gzll_set_device_channel_selection_policy
    • nrf_gzll_set_sync_lifetime

    As you're only sending each second, the gazell device will consider the link to be out-of-sync, which is why you may get tx_failed. If this is your intended use, I would recommend setting:

    • channel policy to: NRF_GZLL_DEVICE_CHANNEL_SELECTION_POLICY_USE_CURRENT
    • "nrf_gzll_set_sync_lifetime" to 0

    This will cause the link to always be out-of-sync, which is a good solution when sending data asynchronously or sending not very often.

    Best regards Håkon

Related