creotiv / MiBand2

Library to work with Xiaomi MiBand 2
Creative Commons Zero v1.0 Universal
544 stars 173 forks source link

Why could never find mi-band-2's services' UUID while using embedded devices? #10

Closed 0x504B0304 closed 6 years ago

0x504B0304 commented 6 years ago

I had tried many times to use a embedded device with ble(such as arduino 101 and esp32) to connect with miband2 but it can't find it's services'uuid while scaning. It seems that miband2 is very different from other ble device. It hid it's uuid on purpose. But it works well while running this Python library on raspberry pi. What's cause this difference?

0x504B0304 commented 6 years ago

I konw miband2 didn't advertise it's services' uuid, and it's in miband2's scan response data. But if I creat a ble advertisement with nrf connect and put an uuid in scan response data,esp32 could find that uuid. So it isn't the cause of the problem.