dotstack API Reference  1.10.37
Macros
Configuration

This module describes parameters used to configure SDP. More...

Macros

#define SDP_MAX_PDU_BUFFERS
 Maximum number of SDP server PDU buffers. More...
 
#define SDP_MAX_SEARCH_RESULT_LEN
 Maximum number of service records to find. More...
 
#define SDP_MAX_ATTRIBUTE_RESULT_LEN
 Maximum number of attributes to find. More...
 

Detailed Description

This module describes parameters used to configure SDP.

dotstack is customized using a configuration file. The configuration file tailors the dotstack to the application being built. It has to have the structure shown below.

#include "cdbt/bt/bt_std.h"
// HCI and L2CAP must always be present
// SDP is required only if stack is running in dual mode. This is the default mode.
// To run the stack in single mode (i.e. only BLE is supported) a BT_BLE_SINGLE_MODE symbol
// must be defined:
// #define BT_BLE_SINGLE_MODE
// HCI configuration parameters
#define HCI_MAX_CMD_BUFFERS ...
#define HCI_MAX_DATA_BUFFERS ...
#define HCI_MAX_ACL_CONNECTIONS ...
#define HCI_RX_BUFFER_LEN ...
#define HCI_TX_BUFFER_LEN ...
#define HCI_L2CAP_BUFFER_LEN ...
#define HCI_MAX_CMD_PARAM_LEN ...
// L2CAP configuration parameters
#define L2CAP_MAX_CMD_BUFFERS ...
#define L2CAP_MAX_FRAME_BUFFERS ...
#define L2CAP_MAX_PSMS ...
#define L2CAP_MAX_CHANNELS ...
// SDP configuration parameters
#define SDP_MAX_SEARCH_RESULT_LEN ...
#define SDP_MAX_ATTRIBUTE_RESULT_LEN ...
#include "cdbt/bt/bt_oem_config.h"

Macro Definition Documentation

#define SDP_MAX_ATTRIBUTE_RESULT_LEN

Maximum number of attributes to find.

This parameter defines the maximum number of attributes withing a service record the SDP server will return to the client.

#define SDP_MAX_PDU_BUFFERS

Maximum number of SDP server PDU buffers.

This parameter defines the maximum number of responses the SDP server can send at the same time.

#define SDP_MAX_SEARCH_RESULT_LEN

Maximum number of service records to find.

This parameter defines the maximum number of service records the SDP server will return to the client.