-
Notifications
You must be signed in to change notification settings - Fork 819
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BLE sensors data through a connect, LYWSD03MMC and MHO-C401 add #736
Conversation
and an associated BLE connect mechanism as the device advertise only encrypted data -delete client if connect failed -don't process the callback if we have a processlock -free manufacturer data -update library -add check on pRemoteCharacteristic
Add the possibility to do a connect every X scan Rename variables for consistency Some refactoring for improved code reading Add processlock check before launching on demand BLE scan and BLEconnect
100d3a2
to
fbc22ea
Compare
Same principle as LYWSD03MMC Also change the LYWSD03MMC identification (by servicedata instead of name) for more robustness
fbc22ea
to
8da301c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm sorry that I don't have either of these devices to test in my OMG environment.
This PR also looks to address issue #725 |
2ca53be
to
54b3450
Compare
You are right |
We all contribute with the means and time we have :-) and I have no problem with that. |
Should the comment for this variable read something like: OpenMQTTGateway/main/config_BT.h Line 60 in 23cbe1f
|
may be also used in the future for SYStoMQTT so did it for non ESP32 boards also
23cbe1f
to
a1994f3
Compare
Yes, corrected |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should keep it simple
Add LYWSD03MMC low-cost BLE temperature sensor, inspired from @polclota work
Add the possibility to have 1 BLE connect operation every X BLE scans
Add MHO-C401