-
Notifications
You must be signed in to change notification settings - Fork 804
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
HASS Discovery - Create BLE devices automatically to gather entities #826
HASS Discovery - Create BLE devices automatically to gather entities #826
Conversation
Is there any way to fmt the code with a command line ? (like |
clang-Format is used for code formatting |
Ready for review |
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.
Here is a first list of comments
Is it possible to include change in 0.9.6 milestone? |
ab3edbb
to
cae2557
Compare
ee10ff6
to
a06b4a8
Compare
@1technophile thanks again for reviewing the PR ! |
@1technophile the following line
return a number (in my case |
The number is the pointer to the string in the memory, C and C++ do not have string as a native type. |
Well, indeed this return an int ... I think we may store the sensor characteristics (model, manufacturer,code) in a dedicated list. |
Once your changes are done we will need to rebase this PR = merge the changes from the development branch to this PR ( I can do it if needed). |
Hi @titilambert , would you have time to finish the PR? |
f8a5290
to
aa487ec
Compare
@1technophile sorry ! It's done and rebased |
No problem ! Thanks |
@1technophile any idea why the build crashes ? |
@titilambert You can take a look below (search for FAILED): Some createDiscovery functions are missing the 4 new parameters: This is related to the rebasing/merge and seems isolated to M5 boards. |
c83d34c
to
b4ebd50
Compare
Sorry I don't see where it is in the code. |
@titilambert of course, here is how to find it: |
Thanks! |
As discuted here: #821
Note that I'm not so good with C++, so I guess the code it's no so clean ...