mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-05 09:40:00 +00:00
avdtp/avrdp: use only 30 bytes for sdp attribute value buffer
This commit is contained in:
parent
59607b77e5
commit
c8b9823f68
@ -54,7 +54,7 @@
|
||||
#include "classic/sdp_util.h"
|
||||
|
||||
static int record_id = -1;
|
||||
static uint8_t attribute_value[1000];
|
||||
static uint8_t attribute_value[30];
|
||||
static const unsigned int attribute_value_buffer_size = sizeof(attribute_value);
|
||||
|
||||
// typedef struct {
|
||||
|
@ -60,7 +60,7 @@ static const char * default_avrcp_target_service_provider_name = "BTstack AVRCP
|
||||
static uint16_t avrcp_cid_counter = 0;
|
||||
|
||||
static avrcp_context_t * sdp_query_context;
|
||||
static uint8_t attribute_value[1000];
|
||||
static uint8_t attribute_value[30];
|
||||
static const unsigned int attribute_value_buffer_size = sizeof(attribute_value);
|
||||
|
||||
static btstack_linked_list_t connections;
|
||||
|
Loading…
x
Reference in New Issue
Block a user