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

◆ bt_ams_write_remote_command()

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.

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