How to change default_mtu in pc_ble_driver_py?

when I use "nRF Connect for Desktop Bluetooth Low Energy" with nRF52840 dongle and connect to my custom device(cc2642 ti),every time when I want to listen notify I have to change the MTU size to 247(bigger the my device ATT MTU size(40)), or I will crash and disconnect.

Now I am using nus_central.py to do the same thing, but this time it keep crash like I didn't change the MTU size, but have already change 

self.adapter.default_mtu = 247

can I see my MTU size , is there any function that I can change MTU size after I connect to a device, also before enable_notification()?

Parents Reply Children
Related