when I use softDevice S110, there exists ble_evt_dispatch function, Can I define event ? if I can, how to define event and how to use event handler . Thank you !
when I use softDevice S110, there exists ble_evt_dispatch function, Can I define event ? if I can, how to define event and how to use event handler . Thank you !
The events come from the S110, and you can not define these events yourself.
To handle these event, set the handler function by calling softdevice_handler_set
if you are using the softdevice handler from the SDK. If you are not using the softdevice handler from the SDK you can handle these events by calling sd_ble_evt_get
directly.
first sorry for my english , i can not find sofedevice_handler_set message, and the write charactristic operate will gernerate what events?
first sorry for my english , i can not find sofedevice_handler_set message, and the write charactristic operate will gernerate what events?