msaunby/ble-sensor-pi

Setting notofication frequency

mzillich opened this issue · 2 comments

How can one set the frequency at which notifications are sent?
http://processors.wiki.ti.com/index.php/SensorTag_User_Guide mentions update rates of e.g. 100ms. What I see using sensortag.py is much slower. Also if I only turn on one sensor, e.g. barometric.

Hello,
I figured out how to set notification frequency. Just set the period for the respective sensor to e.g. 100 ms ,by sending e.g 10 to the respective handle. However the TI sensortag user guide
http://processors.wiki.ti.com/index.php/SensorTag_User_Guide
is quite useless here, as it dose not give the handles. I found some TI documents, but the handles there do not match at all with the ones used in the sensortag.py. Where can I find the correct handles?
thanks!