swag-scanner icon indicating copy to clipboard operation
swag-scanner copied to clipboard

Fix table position characteristic reading wrong table position

Open seanngpack opened this issue 5 years ago • 0 comments

Describe the bug I'm writing ints to tablePosition characteristics where the method signature says it requires the type to be a byte. This causes Python to read incorrectly table values when the data is > 255.

To Reproduce Run Arduino.py and get the table position to be over 255.

Proposal Go to main.cpp, line 183, and convert currentPosition to bytes

seanngpack avatar Jan 01 '20 15:01 seanngpack