Hi,
How to reset the system whenever a particular write event is received from the BLE stack. I made some changes on the ble_app_hrs sample code as follows,
void ble_hrs_on_ble_evt(ble_hrs_t * p_hrs, ble_evt_t * p_ble_evt)
case BLE_GATTS_EVT_WRITE:
led_start();
on_write(p_hrs, p_ble_evt);
**sd_nvic_SystemReset();**
break;
Actually my idea is to blink the led when the write event occurs, and also do system reset when the write completed.
but when i call sd_nvic_SystemReset the error will be,
._build\ble_app_hrs.axf: Error: L6218E: Undefined symbol sd_nvic_SystemReset (referred from ble_hrs.o).
How to differentiate the write characteristics received by BLE stack?
In our project we are going to use lot of proprietary write characterisctics
device name, device settings, device firmware update, etc..
we need the device firmware update characteristics write event should rest the device and enter in to DFU (device firmware update) mode
how to modify the bootloader sample application to enter into the bootloader mode without pressing any button when the system reset occurs?
Regards, Balaji