mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-02 04:04:31 +02:00
component/bt: Cut down RAM cost: reduce SDP data record number
This commit is contained in:
@@ -25,7 +25,7 @@
|
|||||||
#include "bta_sdp_api.h"
|
#include "bta_sdp_api.h"
|
||||||
|
|
||||||
#ifndef BTA_SDP_DB_SIZE
|
#ifndef BTA_SDP_DB_SIZE
|
||||||
#define BTA_SDP_DB_SIZE 4500
|
#define BTA_SDP_DB_SIZE 1500
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static UINT8 __attribute__ ((aligned(4))) bta_sdp_db_data[BTA_SDP_DB_SIZE];
|
static UINT8 __attribute__ ((aligned(4))) bta_sdp_db_data[BTA_SDP_DB_SIZE];
|
||||||
|
@@ -1001,7 +1001,7 @@
|
|||||||
|
|
||||||
/* The maximum number of SDP records the server can support. */
|
/* The maximum number of SDP records the server can support. */
|
||||||
#ifndef SDP_MAX_RECORDS
|
#ifndef SDP_MAX_RECORDS
|
||||||
#define SDP_MAX_RECORDS 15 /*max is 30*/
|
#define SDP_MAX_RECORDS 4 /*max is 30*/
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* The maximum number of attributes in each record. */
|
/* The maximum number of attributes in each record. */
|
||||||
|
Reference in New Issue
Block a user