But maybe I can call REPORT_RECEIVED_IMAGE_SIZE already after sending first packet.
That idea worked fine and is much faster than recovering later after sending 15 long packets and not receiving notification :-)
I guess next time I can try to put secure DFU there too and try with SDK12 based espruino. As for bootloader changes hopefully it will be just changing this to 244 and possibly also NRF_BLE_MAX_MTU_SIZE definition few lines below to 247.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
changes here
That idea worked fine and is much faster than recovering later after sending 15 long packets and not receiving notification :-)
I guess next time I can try to put secure DFU there too and try with SDK12 based espruino. As for bootloader changes hopefully it will be just changing this to 244 and possibly also NRF_BLE_MAX_MTU_SIZE definition few lines below to 247.