You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working with Health Thermometer Service (UUID: 0x1809) I have enabled read and notify properties of the Temperature Measurement characteristic (UUID: 0x2A1C) which sends 5 byte data in SFLOAT format. I am using .read() api but the size of given datatype parameter is not enough to read the complete value.
I have tried using uint32 which shows 1 byte less. I have tried using float64 but the read value is always zero. Can you please suggest work around how to read the complete temperature data? Basically what I want to know is how to read large characteristics (say 100 byte long).
The text was updated successfully, but these errors were encountered:
MadhavPK
changed the title
Unable to access more 5 byte characteristic
Unable to access more than 4 byte characteristic
Aug 10, 2021
I am working with Health Thermometer Service (UUID: 0x1809) I have enabled read and notify properties of the Temperature Measurement characteristic (UUID: 0x2A1C) which sends 5 byte data in SFLOAT format. I am using .read() api but the size of given datatype parameter is not enough to read the complete value.
I have tried using uint32 which shows 1 byte less. I have tried using float64 but the read value is always zero. Can you please suggest work around how to read the complete temperature data? Basically what I want to know is how to read large characteristics (say 100 byte long).
The text was updated successfully, but these errors were encountered: