Hello,
I would like to provide an alternate mechanism to start the DFU process. Is it possible to call ble_dfu_buttonless_on_ctrl_pt_write() directly to kick-off the operation?
Thanks
Hello,
I would like to provide an alternate mechanism to start the DFU process. Is it possible to call ble_dfu_buttonless_on_ctrl_pt_write() directly to kick-off the operation?
Thanks
Ok,
Lets think of this as a unit test problem. Is it possible to simulate receiving a BT message without writing another application to send the desired message?
Perhaps all I need to do is call "app_schedule_event_put(ble_evt_t*, ble_dfu_buttonless_on_ble_evt)"? If I used this to send a BLE_GATTS_EVT_WRITE and BLE_GATTS_EVT_RW_AUTHORIZE_REQUEST would this trigger the bootloader?
It looks like you could call ble_dfu_buttonless_on_ctrl_pt_write() too but where will the responses go? The first option is more desirable since it is closer to the metal.
Thanks
Ok,
Lets think of this as a unit test problem. Is it possible to simulate receiving a BT message without writing another application to send the desired message?
Perhaps all I need to do is call "app_schedule_event_put(ble_evt_t*, ble_dfu_buttonless_on_ble_evt)"? If I used this to send a BLE_GATTS_EVT_WRITE and BLE_GATTS_EVT_RW_AUTHORIZE_REQUEST would this trigger the bootloader?
It looks like you could call ble_dfu_buttonless_on_ctrl_pt_write() too but where will the responses go? The first option is more desirable since it is closer to the metal.
Thanks