Modules
Apple Media Service Client (AMS_C)
BLE Services

Apple Media Service Client module. More...

Collaboration diagram for Apple Media Service Client (AMS_C):

## Modules
| Defines
| Enumerations
| Structures
| Typedefs
| Functions

## Detailed Description

Apple Media Service Client module.

The Apple Media Service Client contains the APIs and types, which can be used by the application to discover Apple Media Service of peer and interact with it.

The application must provide an event handler to be registered, then call ams_c_client_init() to initialize the client. After the application discovers peer Apple Media Service by calling ams_c_disc_srvc_start(), application can call ams_c_cmd_send() to send romote command to peer and ams_c_attr_focus_set to set the attribute focus.

Secondly, use ams_c_cmd_notify_set() and ams_c_attr_update_notify_set() to enable the notification for CMD update and attribute update.

When the available CMDs or concerned attributes change, the module will receive notification from peer if notifications of them are enabled. If the notification containing the information of changed attribute is truncated, application can call ams_c_attr_display_set to set the attribute that needs to be completely displayed and ams_c_cplt_attr_read to get the completely information of the attribute.