-
I use aioble to communicate between an ESP32 and WebBluetooth (Chrome). The peripheral can send messages up to 509 bytes length, but receive only the first 20 bytes of messages sent by the central (the received message is simply clipped, without error from either side). Setup:
and once a connection is received
The VM is a recent Micropython fetch from github. The central (Chrome) runs on a Mac M1. I realize this could be an issue with Micropython or Chrome/Mac OS but am at a loss how to diagnose. Suggestions? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
Oh, yeah this stuff is a massive pain to diagnose. I did a lot of this MTU work a few years ago, but on stm. A ble sniffer can be helpful to see what's going over the air (full size or truncated packets) but that's not always easy to get set up. On the device side the problem could be in either the controller or the host stack; controller being supplied by esp, host by micropython. |
Beta Was this translation helpful? Give feedback.
-
See also #11945, perhaps that can help |
Beta Was this translation helpful? Give feedback.
-
To the extent that my "hack" works ( |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
See also #11945, perhaps that can help