Hi all,
I have two questions about BSP buttons management.
I see that the BSP supports the short press and long press for a button. However it seems to handle only one of the features at time, is it right ? I can't handle both short and long press for a button but I need to configure only one action calling bsp_event_to_button_action_assign.
In the bsp.h there are some bsp events already defined (the bsp_event_t enum) related to some BLE operations (bond, disconnect, advertising and so on). How can I add any new custom events ?
However I see that these already defined events are part of BSP even if IMHO they should be part of bsp_btn_ble because they are strictly related to BLE operations but the BSP is for handling hardware not necessary BLE.
Thanks, Paolo.