Commit Graph

85 Commits

Author SHA1 Message Date
Luiz Augusto von Dentz
f06982ab0e android/avrcp-lib: Make avrcp_send_browsing_req to take struct iovec
This makes it possible to pass data without copying.
2014-04-15 11:13:37 +03:00
Luiz Augusto von Dentz
3106ca755b android/avrcp-lib: Fix byte order in avrcp_get_folder_items 2014-04-07 10:12:37 +03:00
Luiz Augusto von Dentz
fcbe44bcf0 android/avrcp-lib: Fix byte order in avrcp_get_item_attributes 2014-04-07 10:12:37 +03:00
Luiz Augusto von Dentz
94b32ee3ae android/avrcp-lib: Add support for parsing SetAbsoluteVolume response 2014-04-07 10:12:37 +03:00
Luiz Augusto von Dentz
a60ec37ef7 android/avrcp-lib: Replace bt_get* and bt_put* with get* and put* 2014-04-02 14:25:42 +03:00
Andrei Emeltchenko
82d40ad075 android/avrcp: Fix clang warning
Check len before memcpy(). Fixes:
...
android/avrcp-lib.c:885:3: warning: Null pointer passed as an argument
to a 'nonnull' parameter
                memcpy(&ptr[4], text[i], len);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
2014-04-02 14:25:41 +03:00
Luiz Augusto von Dentz
ac3484e900 android/avrcp: Add avrcp_search function 2014-04-02 14:25:41 +03:00
Luiz Augusto von Dentz
272d77594e android/avrcp: Add avrcp_get_item_attributes() function 2014-04-02 14:25:41 +03:00
Luiz Augusto von Dentz
8731902f62 android/avrcp: Add avrcp_change_path() function 2014-04-02 14:25:41 +03:00
Luiz Augusto von Dentz
36d6b226c7 android/avrcp: Add avrcp_get_folder_items() function 2014-04-02 14:25:40 +03:00
Luiz Augusto von Dentz
007909a842 android/avrcp: Add avrcp_set_browsed_player() function 2014-04-02 14:25:40 +03:00
Andrei Emeltchenko
6114561af4 android/avrcp: Add avrcp_connect_browsing()
Add support for browsing channel
2014-04-02 14:25:40 +03:00
Luiz Augusto von Dentz
97518af91a android/avrcp-lib: Add support for parsing SetAddressed response 2014-04-02 14:25:40 +03:00
Luiz Augusto von Dentz
8878bd46a1 android/avrcp-lib: Add support for parsing RegisterNotification response 2014-03-31 10:45:36 +03:00
Luiz Augusto von Dentz
72fda35f3f android/avrcp-lib: Add support for parsing GetElementAttributes response 2014-03-31 10:45:35 +03:00
Luiz Augusto von Dentz
6451a036af android/avrcp-lib: Add support for parsing GetPlayStatus response 2014-03-31 10:45:35 +03:00
Luiz Augusto von Dentz
4f45fa2bde android/avrcp-lib: Add support for parsing SetPlayerValue response 2014-03-31 10:45:35 +03:00
Luiz Augusto von Dentz
78119f0faa android/avrcp-lib: Add support for parsing GetCurrentPlayerValue response 2014-03-31 10:45:35 +03:00
Luiz Augusto von Dentz
d74ac785cb android/avrcp-lib: Add support for parsing GetPlayerValueText response 2014-03-31 10:45:35 +03:00
Luiz Augusto von Dentz
2d4b61bb2b android/avrcp-lib: Add avrcp_get_player_value_text
This function can be used to send GetPlayerValueText command PDUs.
2014-03-31 10:45:35 +03:00
Luiz Augusto von Dentz
f0456be23c android/avrcp-lib: Add support for parsing ListPlayerValues response 2014-03-31 10:45:35 +03:00
Luiz Augusto von Dentz
5f370c08be android/avrcp-lib: Add avrcp_list_player_values
This function can be used to send ListPlayerValues command PDUs.
2014-03-31 10:45:35 +03:00
Luiz Augusto von Dentz
93c753c0b1 android/avrcp-lib: Add support for parsing GetPlayerAttributeText response 2014-03-31 10:45:34 +03:00
Luiz Augusto von Dentz
6af4aef934 android/avrcp-lib: Add support for parsing ListPlayerAttributes response 2014-03-31 10:45:34 +03:00
Luiz Augusto von Dentz
545963a135 android/avrcp-lib: Add support for parsing GetCapabilities response 2014-03-31 10:45:34 +03:00
Claudio Takahasi
c729b66195 Replace bt_put_be32() by put_be32() 2014-03-24 22:03:09 +02:00
Claudio Takahasi
a515e9e04f Replace bt_put_be16() by put_be16() 2014-03-24 22:02:55 +02:00
Claudio Takahasi
7da5efedae Replace bt_get_be64() by get_be64() 2014-03-24 22:02:47 +02:00
Claudio Takahasi
fbf2103d51 Replace bt_get_be32() by get_be32() 2014-03-24 22:00:38 +02:00
Claudio Takahasi
2c34d92207 Replace bt_get_be16() by get_be16() 2014-03-24 21:59:28 +02:00
Andrei Emeltchenko
4801abcd86 android/avrcp: Fix possible buffer overflow 2014-03-18 14:42:28 +02:00
Luiz Augusto von Dentz
5d9a289809 android/avrcp-lib: Fix avrcp_get_player_attribute_text_rsp
avrcp_get_player_attribute_text_rsp was generating invalid responses as
it fills the string data in the wrong field.
2014-03-18 14:04:28 +02:00
Luiz Augusto von Dentz
40f45cf4c4 android/avrcp-lib: Make unused public function private 2014-03-18 10:54:31 +02:00
Luiz Augusto von Dentz
de498da768 android/avrcp-lib: Add avrcp_get_capabilities_rsp function
This function can be used to generate GetCapabilities response PDUs.
2014-03-18 10:54:31 +02:00
Luiz Augusto von Dentz
217ae925ef android/avrcp-lib: Add avrcp_get_current_player_value_rsp function
This function can be used to generate GetCurrentPlayerValue response
PDUs.
2014-03-18 10:54:31 +02:00
Luiz Augusto von Dentz
1a04046ee5 android/avrcp-lib: Add avrcp_get_player_values_text_rsp function
This function can be used to generate GetPlayerValuesText response PDUs.
2014-03-18 10:54:31 +02:00
Luiz Augusto von Dentz
4b05327e67 android/avrcp-lib: Add avrcp_list_player_values_rsp function
This function can be used to generate ListPlayerValues response PDUs.
2014-03-18 10:13:50 +02:00
Luiz Augusto von Dentz
f247cbf2cc android/avrcp-lib: Add avrcp_get_player_attribute_text_rsp function
This function can be used to generate GetPlayerAttributeText response
PDUs.
2014-03-18 10:13:49 +02:00
Luiz Augusto von Dentz
dadfaef53b android/avrcp-lib: Add avrcp_list_player_attributes_rsp function
This function can be used to generate ListPlayerAttributes response PDUs.
2014-03-18 10:13:49 +02:00
Luiz Augusto von Dentz
f79dc98f04 android/avrcp-lib: Add avrcp_set_addressed_player_rsp function
This function can be used to generate SetAddressedPlayer response PDUs.
2014-03-18 10:13:49 +02:00
Luiz Augusto von Dentz
862d816dad android/avrcp-lib: Add support for parsing SetAddressedPlayer PDU 2014-03-17 14:53:32 +02:00
Luiz Augusto von Dentz
88c02d70ff android/avrcp-lib: Add support for parsing RegisterNotification PDU 2014-03-17 14:53:32 +02:00
Luiz Augusto von Dentz
f504d0787f android/avrcp-lib: Add support for parsing GetElementAttributes PDU 2014-03-17 14:53:32 +02:00
Luiz Augusto von Dentz
9080d086f2 android/avrcp-lib: Add support for parsing GetPlayStatus PDU 2014-03-17 14:53:32 +02:00
Luiz Augusto von Dentz
01febf4d8a android/avrcp-lib: Add support for parsing SetPlayerValue PDU 2014-03-17 14:53:32 +02:00
Luiz Augusto von Dentz
ea85f70faf android/avrcp-lib: Add support for parsing GetCurrentPlayerValue PDU 2014-03-17 14:53:32 +02:00
Luiz Augusto von Dentz
45a035f49d android/avrcp-lib: Add support for parsing GetPlayerValueText PDU 2014-03-17 14:53:32 +02:00
Luiz Augusto von Dentz
6f9adedda3 android/avrcp-lib: Add support for parsing ListPlayerValues PDU 2014-03-17 14:53:32 +02:00
Luiz Augusto von Dentz
d1e467f8a9 android/avrcp-lib: Add support for parsing GetPlayerAttributeText PDU 2014-03-17 14:53:32 +02:00
Luiz Augusto von Dentz
70b683a8ac android/avrcp-lib: Add support for parsing ListPlayerAttributes PDU 2014-03-17 14:53:32 +02:00