diff options
author | root <root@lamia.panaceas.james.local> | 2015-09-04 10:30:45 +0100 |
---|---|---|
committer | root <root@lamia.panaceas.james.local> | 2015-09-04 10:30:45 +0100 |
commit | b0ad49a7b57b8e567d84e99e37033506af2678cb (patch) | |
tree | 8986c8159e6fb486f240f36a3686bdda0dbca4b7 /dfu.c | |
parent | 80897e1b5cfc81547e98d830471b78d210997bea (diff) | |
download | nrfdfu-b0ad49a7b57b8e567d84e99e37033506af2678cb.tar.gz nrfdfu-b0ad49a7b57b8e567d84e99e37033506af2678cb.tar.bz2 nrfdfu-b0ad49a7b57b8e567d84e99e37033506af2678cb.zip |
noresp writes are ignored by dfu firmware
Diffstat (limited to 'dfu.c')
-rw-r--r-- | dfu.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -217,6 +217,9 @@ dfu (const char *bdaddr, const char *type, const char *version, uint8_t * dat, break; #endif + buf[0] = OP_CODE_IMAGE_SIZE_REQ; + ble_send_cp (b, buf, 1); + ble_wait_setup (b, OP_CODE_VALIDATE); buf[0] = OP_CODE_VALIDATE; if (ble_send_cp (b, buf, 1)) |