Send retries statistics
-
Hi
Is there a way to pull send retries statistics and present in my controller of choice (openhab in my case)?
I have several battery nodes (rfm69) with ATC enabled. I'm trying to fine tune target RSSI for ATC to optimize battery life. Is there a way to get to either total or average number of retries ?
-
Hi
Is there a way to pull send retries statistics and present in my controller of choice (openhab in my case)?
I have several battery nodes (rfm69) with ATC enabled. I'm trying to fine tune target RSSI for ATC to optimize battery life. Is there a way to get to either total or average number of retries ?
@prelektr There is currently no way to get the retry counter. You could modify the library to use RFM69_RETRIES=1 and handle retries yourself, or modify the library to make the last number of retries available hin the same manner rssi and snr is already available)
Code reference: https://github.com/mysensors/MySensors/blob/36cdaf4a8ef1c60d37da4097a7681beed9099b69/hal/transport/RFM69/driver/new/RFM69_new.h#L135I guess you've already looked at rssi and snr levels? I would think they were sufficient, but I haven't tried.
-
@mfalkvidd thanks! I'll try with RFM69_RETRIES=1 and handle retris from sketch. The reason I'd like to see what is my retry count is that I'd like to see how the nodes perform in a longer period of time. for short time I see that the power is fluctuating so I wanted to see how many retries on average do I have for a given target_rssi (-70 is the default). I was wondering how much lower can I get to still have reliable link quality.
-
@mfalkvidd thanks! I'll try with RFM69_RETRIES=1 and handle retris from sketch. The reason I'd like to see what is my retry count is that I'd like to see how the nodes perform in a longer period of time. for short time I see that the power is fluctuating so I wanted to see how many retries on average do I have for a given target_rssi (-70 is the default). I was wondering how much lower can I get to still have reliable link quality.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login