hi everybody. my name is Kevin. i am using ble_peripheral_example to do my project. i want to ask you
1. what is this function in user_callback_config.h for?
"static const catch_rest_event_func_t app_process_catch_rest_cb = (catch_rest_event_func_t)user_catch_rest_hndl;"
2. if i want to add some button function, where should i put it in?
Device:
Hi Kevin,
1)静态常量catch_rest_event_func_t app_process_catch_rest_cb = (catch_rest_event_func_t)user_catch_rest_hndl;
With this function there is the ability to handle all the events that aren't be handled by another callback function and use them as you want.
2) To add some button function it's necessary to know where you want to enable the button and what do you want to implement. For more information please check UM-B-050 and UM-B-051 from Software Development Kit at Documents Tab.
BR,
STS_Dialog.
thanks for your answer STS_Dialog. about the button, i'm thinking to put the device in wake up state from sleep mode, and also send some message over the ble.