I'm trying to send a DFU file but i get en error:
2019-08-16T16:11:40.300Z DEBUG Destroying DFU transport.
2019-08-16T16:11:40.300Z ERROR DFU failed with error: When writing 'EXECUTE' command to Control Point Characteristic of DFU Target: Operation code 4 (EXECUTE) failed on DFU Target. Result code 5 (INVALID_OBJECT).
2019-08-16T16:11:40.325Z DEBUG 763 -> [00 76 00 00 13 ] type: VENDOR_SPECIFIC reliable:yes seq#:4 ack#:7 payload_length:5 data_integrity:1 header_checksum:a6 err_code:0x0
2019-08-16T16:11:40.325Z DEBUG 761/ 0 <- [N/A] type: ACK reliable: no seq#:0 ack#:5 payload_length:0 data_integrity:0 err_code:0x0
2019-08-16T16:11:40.325Z DEBUG 762/ 0 <- [01 76 00 00 00 00 ] type: VENDOR_SPECIFIC reliable:yes seq#:7 ack#:5 payload_length:6 data_integrity:1 header_checksum:a3 err_code:0x0
2019-08-16T16:11:40.325Z DEBUG 764 -> [N/A] type: ACK reliable: no seq#:0 ack#:0 payload_length:0 data_integrity:0 err_code:0x0
2019-08-16T16:11:40.342Z DEBUG GAP_EVT_DISCONNECTED time:2019-08-16T16:11:40.341Z connHandle:0 reason:22 reasonName:localHostTerminatedConnection
2019-08-16T16:11:40.343Z DEBUG 763/ 0 <- [02 11 00 00 00 16 ] type: VENDOR_SPECIFIC reliable:yes seq#:0 ack#:5 payload_length:6 data_integrity:1 header_checksum:aa err_code:0x0
2019-08-16T16:11:40.344Z DEBUG 765 -> [N/A] type: ACK reliable: no seq#:0 ack#:1 payload_length:0 data_integrity:0 err_code:0x0
It works fine with examples ect. this is legacy code i have trying to figure out what is happening. any ideas where or what should i look for?