mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-20 10:20:48 +00:00
samsung tv: shorter provider name
This commit is contained in:
parent
55154a023d
commit
a3e022fa81
@ -68,9 +68,9 @@ static void avrcp_packet_handler(uint8_t packet_type, uint16_t channel, uint8_t
|
||||
static void avrcp_start_next_sdp_query(void);
|
||||
|
||||
static const char * avrcp_default_controller_service_name = "AVRCP CT";
|
||||
// static const char * avrcp_default_controller_service_provider_name = "BTstack AVRCP Controller Service Provider";
|
||||
static const char * avrcp_default_controller_service_provider_name = "BlueKitchen";
|
||||
static const char * avrcp_defaul_target_service_name = "AVRCP TG";
|
||||
// static const char * avrcp_default_target_service_provider_name = "BTstack AVRCP Target Service Provider";
|
||||
static const char * avrcp_default_target_service_provider_name = "BlueKitchen";
|
||||
|
||||
static const char * avrcp_subunit_type_name[] = {
|
||||
"MONITOR", "AUDIO", "PRINTER", "DISC", "TAPE_RECORDER_PLAYER", "TUNER",
|
||||
@ -364,8 +364,7 @@ void avrcp_create_sdp_record(uint8_t controller, uint8_t * service, uint32_t ser
|
||||
}
|
||||
}
|
||||
|
||||
#if 0
|
||||
// 0x0100 "Provider Name"
|
||||
// 0x0102 "Provider Name"
|
||||
de_add_number(service, DE_UINT, DE_SIZE_16, 0x0102);
|
||||
if (service_provider_name){
|
||||
de_add_data(service, DE_STRING, (uint16_t) strlen(service_provider_name), (uint8_t *) service_provider_name);
|
||||
@ -376,7 +375,6 @@ void avrcp_create_sdp_record(uint8_t controller, uint8_t * service, uint32_t ser
|
||||
de_add_data(service, DE_STRING, (uint16_t) strlen(avrcp_default_target_service_provider_name), (uint8_t *) avrcp_default_target_service_provider_name);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
// 0x0311 "Supported Features"
|
||||
de_add_number(service, DE_UINT, DE_SIZE_16, 0x0311);
|
||||
|
Loading…
x
Reference in New Issue
Block a user