Increase Bluetooth notification rate
Posted: September 14th, 2021, 2:46 am
Hey everyone,
I am new here and am trying to write a small analytics tool for my PM5 rowing machine, mainly because I am interested in working with bluetooth and the live data.
So without changing anything, upon subscribing to the general status characteristic (0x0031) or the additional ones (0x0032 and 0x0033) the notifications arrive in 900ms to 1s intervals, which is quite slow I believe.
Then I've stumbled upon the 0x0034 characteristic, which should let me be able to change the notification rate according to the attached table.
Now my issue is, writing a "2" (0x02) Byte to the characteristic increases the notification rate to approximately 250ms - 330ms, which is already much better. But I kind of wanted to increase the rate to 100ms which should work by writing the "3" (0x03) Byte to the characteristic according to the documentation, but that does not work. Writing 0x03 does nothing for me and leaves the rate at 1 notification per ~1s.
Am I missing something here? How can I increase the notification rate successfully to 100ms intervals?
I am new here and am trying to write a small analytics tool for my PM5 rowing machine, mainly because I am interested in working with bluetooth and the live data.
So without changing anything, upon subscribing to the general status characteristic (0x0031) or the additional ones (0x0032 and 0x0033) the notifications arrive in 900ms to 1s intervals, which is quite slow I believe.
Then I've stumbled upon the 0x0034 characteristic, which should let me be able to change the notification rate according to the attached table.
Now my issue is, writing a "2" (0x02) Byte to the characteristic increases the notification rate to approximately 250ms - 330ms, which is already much better. But I kind of wanted to increase the rate to 100ms which should work by writing the "3" (0x03) Byte to the characteristic according to the documentation, but that does not work. Writing 0x03 does nothing for me and leaves the rate at 1 notification per ~1s.
Am I missing something here? How can I increase the notification rate successfully to 100ms intervals?