} media_player_property_type;
typedef enum {
+ DELAY = 0x01,
+ VOLUME
+} media_transport_property_type;
+
+typedef enum {
EQUALIZER_OFF = 0x01,
EQUALIZER_ON,
EQUALIZER_INVALID,
PRESS_FAST_FORWARD,
RELEASE_FAST_FORWARD,
PRESS_REWIND,
- RELEASE_REWIND
+ RELEASE_REWIND,
+ VOLUME_UP,
+ VOLUME_DOWN
} media_player_control_cmd;
typedef struct {
int bluetooth_media_control_command(media_player_control_cmd type);
/**
+ * @brief The function bluetooth_media_control_command_to_dest is called to send
+ * the AVRCP Control command like Play, Pause, FF, Rewind to the specific target device.
+ *
+ * @param[in] type media_player_control_cmd.
+ * @param[in] remote_address Bluetooth device address.
+ * @return int Zero on Success or reason for error if any.
+ *
+ */
+int bluetooth_media_control_command_to_dest(media_player_control_cmd type,
+ bluetooth_device_address_t *remote_address);
+
+/**
* @fn int bluetooth_media_control_set_property(media_player_property_type type, unsigned int value)
* @brief Notifies the remote bluetooth target with change in music control settings
*
int bluetooth_media_control_get_property(media_player_property_type type, unsigned int *value);
/**
+ * @fn int bluetooth_media_transport_set_property(media_transport_property_type type, unsigned int value)
+ * @brief Notifies the remote bluetooth target with change in audio transport settings
+ *
+ * This function is a asynchronous call.
+ * No event for this api.
+ *
+ * @return BT_MEDIA_TRANSPORT_SUCCESS - Success \n
+ * BT_MEDIA_TRANSPORT_ERROR - Error \n
+ *
+ * @exception None
+ * @param[in] setting - The audio transport properties
+ *
+ * @remark None
+ * @see None
+ */
+int bluetooth_media_transport_set_property(media_transport_property_type type, unsigned int value);
+
+/**
* @fn int bluetooth_media_control_get_track_info(media_metadata_attributes_t *metadata)
* @brief reads the track metadata from the remote target player.
*