bluetooth
bluetooth copied to clipboard
Peripheral connection MTU access
It would be awesome if peripherals could also get the negotiated MTU for a connection.
Right now, peripherals have to assume the default MTU (23 bytes) when sending notifications. This is a bummer when trying to send bigger chunks of data than 23 bytes because it means way more packets and slower transfers than necessary. As far as I know, this functionality is currently available as GetMTU, but it is designed for Centrals, not Peripherals. Is it possible to have something similar for Peripherals too?