Closed bsiever closed 2 years ago
HID Service Report Descriptors dictate the max number of services. Might as well use a table rather than a list. (Easier to manage, contiguous and less prone to corruption, etc.)
Hmm....onDataRead
appears to need to write data (params.update
must be true
) and / or it requires use fo the memory for the characteristic?
This appears to be a dead end.
Tried on branch memmin --- it's a dud. Stack needs real memory for BLE operations.
Reduce memory: Replace static memory for report with table-based approach.
Or maybe static array instead of linked list of nodes?