swag-scanner
swag-scanner copied to clipboard
Fix table position characteristic reading wrong table position
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