I am getting this error. I am trying to use the ArduinoBLE library. I keep getting the same error when I first instantiate the BLECharacteristic object. Any help is appreciated.
Welcome to the forum.
Screen shots are not a good way to present your issue.
Please post your code using the code tags, and the complete error message copied and pasted from the box where it appears.
Welcome to the forum.
Your issue is that you used a generic BLECharacteristic without specifying the size in "number of bytes" (parameter valueSize). See the library documentation.
When you use a characteristic of a specific type e.g., BLEIntCharacteristic you do not need the valueSize parameter. See the same page in the documentation.
As @cattledog said, please post code using code tags next time. It is easier to read and we can test it before answering in case there are any other issues.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.


