dotstack API Reference
1.10.37
|
This module describes parameters used to configure AVRCP layer. More...
Macros | |
#define | AVRCP_MAX_CHANNELS |
Maximum number of remote devices a local device can be connected to. More... | |
#define | AVRCP_MAX_CMD_BUFFERS 1 |
Maximum number of command buffers. More... | |
#define | AVRCP_MAX_CMD_PARAM_LEN 512 |
Maximum length of command parameters. More... | |
#define | AVRCP_MAX_SEARCH_RESULTS 7 |
Maximum number of devices to find. More... | |
#define | AVRCP_MAX_DEVICE_NAME_LEN 20 |
Maximum length of device name. More... | |
#define | AVRCP_CMD_TIMEOUT 10000 |
Command timeout. More... | |
This module describes parameters used to configure AVRCP layer.
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.
#define AVRCP_CMD_TIMEOUT 10000 |
Command timeout.
This parameter defines the amount of time in milliseconds AVRCP waits for a response to a request. If not defined the default value of 10000 (10 secconds) is used.
#define AVRCP_MAX_CHANNELS |
Maximum number of remote devices a local device can be connected to.
This parameter defines the number of remote devices a local device can have simultaneous connections to (i.e. channels). This value should not exceed AVCTP_MAX_CHANNELS.
#define AVRCP_MAX_CMD_BUFFERS 1 |
Maximum number of command buffers.
This parameter defines the number of buffers reserved for sending commands to a remote device over its control channel. Each channel uses its own buffers so the total number of buffers is AVRCP_MAX_CHANNELS * AVRCP_MAX_CMD_BUFFERS. The minimum value is 1. The maximum value is 255. If not define one buffer for each channel is reserved.
#define AVRCP_MAX_CMD_PARAM_LEN 512 |
Maximum length of command parameters.
This parameter defines the maximum length of all command parameters. If not defined the default value of 512 is used.
#define AVRCP_MAX_DEVICE_NAME_LEN 20 |
Maximum length of device name.
This parameter defines the size of the buffer used to store device's name while searching for nearby targets with bt_avrcp_find_targets. If the name of the device is longer than AVRCP_MAX_DEVICE_NAME_LEN it is truncated to AVRCP_MAX_DEVICE_NAME_LEN. If not defined the default value of 20 is used.
#define AVRCP_MAX_SEARCH_RESULTS 7 |
Maximum number of devices to find.
This parameter defines the maximum number of devices bt_avrcp_find_targets can find. If not defined the default value of 7 is used.