I don't know how to increase mtu when proceeding buttonless dfu without bonds using @abandonware/noble.

I'm developing buttonless dfu without bonds using @abandonware/noble in Electron app, and I'm using Windows now.

I set dfu mode and proceeded dfu, and it worked when mtu was 20 bytes which is default.

But it took too much time, so I want to increase mtu up to 240 bytes.

How can I do this using @abandonware/noble?

I'm using https://github.com/Timeular/noble-dfu/blob/master/src/secure-dfu.js this library for dfu.

Related