Search found 3 matches

by pyrocket
Fri Apr 03, 2020 1:01 pm
Forum: Programs, Libraries and Tools
Topic: ubluetooth: ability to set MTU after connecting to peripheral device?
Replies: 5
Views: 2812

Re: ubluetooth: ability to set MTU after connecting to peripheral device?

I was able to build MP myself successfully and flash it to the esp32, so I then took a shot at modifying the constant specified above, but it didn't appear to have any effect. I also tried changing the call to ble_att_set_preferred_mtu to a few different values without any apparent change in behavio...
by pyrocket
Fri Mar 27, 2020 4:37 pm
Forum: Programs, Libraries and Tools
Topic: ubluetooth: ability to set MTU after connecting to peripheral device?
Replies: 5
Views: 2812

Re: ubluetooth: ability to set MTU after connecting to peripheral device?

Thanks for the response @jimmo. Might be fun to give building MP myself a try, I'll post up if I have any success. If I get into the weeds enough to have any worthwhile suggestions I'll definitely add a comment. Without being too familiar with the internals, as a user of the API I would either prefe...
by pyrocket
Thu Mar 26, 2020 6:42 pm
Forum: Programs, Libraries and Tools
Topic: ubluetooth: ability to set MTU after connecting to peripheral device?
Replies: 5
Views: 2812

ubluetooth: ability to set MTU after connecting to peripheral device?

New to micropython & the ESP32, somewhat familiar with BLE. Using the ubluetooth library on the ESP32, I've been able to successfully gap_scan, gap_connect and gattc_read (mostly). However, on a read, the full payload I am expecting is larger than the default MTU. I found that the 'rxbuf' can be con...