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
You should be able to do something like this is main.
ble_evt_t ble_evt;
memset(&ble_evt, 0, sizeof(ble_evt_t));
ble_evt.header.evt_id = BLE_GATTS_EVT_RW_AUTHORIZE_REQUEST;
ble_dfu_buttonless_on_ble_evt(&ble_evt, NULL);
Is that what you are after?
You should be able to do something like this is main.
ble_evt_t ble_evt;
memset(&ble_evt, 0, sizeof(ble_evt_t));
ble_evt.header.evt_id = BLE_GATTS_EVT_RW_AUTHORIZE_REQUEST;
ble_dfu_buttonless_on_ble_evt(&ble_evt, NULL);
Is that what you are after?