Skip to content

Conversation

@isPointless
Copy link

BREAKS BACKWARDS COMPATIBILITY!

Changed the init() function to be called from within an .isConnected() if-statement inside LOOP.

This increases the disconnect - reconnect performance drastically.

scale.isConnected() is also much more up to date this way.

See examples/bare-minimum/main.cpp for use

Changed the init() function to be called from within an .isConnected() if-statement inside LOOP.

This increases the disconnect - reconnect performance drastically.

scale.isConnected() is also much more up to date this way.
The new 'isScanning' flag guards the scan state meaning that it won't restart a scan.
@isPointless
Copy link
Author

Added a scanning flag to remove timer. Will now continue to scan regardless of frequent polling. Can prevent connection issues in heavy BLE traffic environments

@isPointless isPointless reopened this Jun 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant