Skip to content

Unable to access more than 4 byte characteristic #14

@MadhavPK

Description

@MadhavPK

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions