-
Notifications
You must be signed in to change notification settings - Fork 51
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
This never works! #4
Comments
The official ESP32 Arduino BLE does not work for getting service data of MJ_HT_V1. Use https://github.com/fguiet/ESP32_BLE_Arduino Use Then this fixes the problem. |
I seem to be facing the same problems. Could you give a bit more details on how you got around that issue ? |
@eos1d3 |
@nicoinn @stripu Use the library I mentioned above. The old one does not work: With the new above library, you have to get no. of service data: And then loop for each service data with: |
I get it to work. At line 63 at the bridge file replace the command with following two commands. int serviceDataCount = advertisedDevice.getServiceDataCount(); |
I use your code and just removed the LCD and pubsub code.
This is the output:
strServiceData.length() is always 6. How can this work?
The text was updated successfully, but these errors were encountered: