nRF Connect SDK API 2.8.99
|
int bt_ams_write_remote_command | ( | struct bt_ams_client * | ams_c, |
enum bt_ams_remote_command_id | command, | ||
bt_ams_write_cb | func ) |
#include <include/bluetooth/services/ams_client.h>
Write data to the Remote Command characteristic.
[in] | ams_c | AMS client instance. |
[in] | command | Remote Command ID. |
[in] | func | Write callback function handler. |
0 | If the operation is successful. Otherwise, a (negative) error code is returned. |