-
-
Notifications
You must be signed in to change notification settings - Fork 0
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 Xiaomi sniffer not working more #3
Comments
Interesting. It looks like that "def decode_xiaomi(buf)" function tries to reach an index behind the buffer... can you narrow this error to a type of device? Lywsd02/Lywsd03/ATC... or what can be the one, who are sending smaller packages? |
Have removed all devices, enabled FlowerCare only - same result (after reboot) Same also after power on/off, tested again with LYWSD02. LYWSD02 with connection will work (if all sniffing devices disabled) What I have seen, if I disable all "sniffing devices" and have only the system available (or additional BLE device with connection (LYWSD02) ) - still the scan process will be started until reboot. |
I have no idea. In the next release, buffer content will be printed.
Scan process will never stop if started, it is by design. Different tasks do not check each other to know if it is the last one running. |
The problem is that i was used micropython 1.12 on my development device, and compiled against micropython 1.13... for a reason a few API changed in between.. and now memoryview type returnes some places, which is a major headache to me, as behaving differently compared bytes, bytearray or simple arrays. |
Second beta published. memoryview is now converted to other types. |
Is working now stable again since yesterday evening. Will tell you... |
Not know what happen but sniffer give no more data.
Even after restart - or reboot (power off/on).
The text was updated successfully, but these errors were encountered: