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

◆ bt_ams_subscribe_remote_command()

int bt_ams_subscribe_remote_command ( struct bt_ams_client ams_c,
bt_ams_remote_command_notify_cb  func 
)

#include <include/bluetooth/services/ams_client.h>

Subscribe to the Remote Command notification.

Parameters
[in]ams_cAMS client instance.
[in]funcNotification callback function handler.
Return values
0If the operation is successful. Otherwise, a (negative) error code is returned.