Replies: 4 comments 4 replies
-
So my view on how the code should work is: In .ino file the user only inputs device_name, encryption & bind_key and the object_ids + values. The method should check after new calling if the data could fit in one packet and send them all at once, or chop them and send them seperately. So the setup() in .ino should be something like: The loop(): Then the method in .cpp can judge what to do... That will be my final goal for this project and can sleep hapilly :) |
Beta Was this translation helpful? Give feedback.
-
These days, I try to use ble 5.0 features, such as long range and ext advertising.As I move the device name to the scan response packet, the old ble4.0 can meet my need. |
Beta Was this translation helpful? Give feedback.
-
If you have time check the DEV branch, i adjusted the code to chop the packets, it doesn't work perfectly for every sensor, maybe you can find some errors |
Beta Was this translation helpful? Give feedback.
-
I'm no programmer, don't know the term non blocking 😜 |
Beta Was this translation helpful? Give feedback.
-
Continuing the discussion from here:
Yes every entity is showing up in HA
Beta Was this translation helpful? Give feedback.
All reactions