11-28-2024, 09:56 PM
Looking at the code, I would suggest these changes:
While “autoconnect” might be convenient at some point, for testing I would recommend manual coupling of the device so that you can be sure that the correct one is chosen. The “uuid” is not required here, AFAIK.
There has been (likely) a typo in the first “output” line, it must also be “cddf1002-…” like the subsequent lines.
Code:
<bluetooth mode="notification">
<output char="cddf1002-30f7-4671-8b43-5e40ba53514a" conversion="float32LittleEndian">1</output>
<output char="cddf1002-30f7-4671-8b43-5e40ba53514a" conversion="float32LittleEndian" offset="4">2</output>
<output char="cddf1002-30f7-4671-8b43-5e40ba53514a" conversion="float32LittleEndian" offset="8">3</output>
</bluetooth>
There has been (likely) a typo in the first “output” line, it must also be “cddf1002-…” like the subsequent lines.