nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ sound_start

void(* dult_sound_cb::sound_start) (enum dult_sound_src src)

Request the user to start the sound action.

This callback is triggered to notify the upper layer about the request to start sound action. If the upper layer changes its sound state in response to this request (as described by the dult_sound_state_param structure), it then calls the dult_sound_state_update API.

Parameters
srcSound source type. Only the DULT internal sources are used in this callback: DULT_SOUND_SRC_BT_GATT, DULT_SOUND_SRC_MOTION_DETECTOR.