RetroArch
Macros | Typedefs | Functions
btopt.h File Reference
#include <gctypes.h>
#include <stdlib.h>
#include <string.h>
Include dependency graph for btopt.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MEM_SIZE   (64*1024)
 
#define PBUF_POOL_NUM   (HCI_HOST_MAX_NUM_ACL*MAX_NUM_CLIENTS)
 
#define PBUF_POOL_BUFSIZE   HCI_HOST_ACL_MAX_LEN
 
#define PBUF_ROM_NUM   45
 
#define STATISTICS
 
#define LOGGING
 
#define ERRORING   0
 
#define LL_HLEN
 
#define TCPIP_HLEN   40
 
#define LITTLE_ENDIAN   3412
 
#define BIG_ENDIAN   1234
 
#define BYTE_ORDER   BIG_ENDIAN
 
#define LIBC_MEMFUNCREPLACE   0
 
#define MAX_NUM_CLIENTS   6 /* Maximum number of connected Bluetooth clients. No more than 6 */
 
#define MAX_NUM_OPT_CLIENTS   10 /* Maximum number of possible Bluetooth clients we might listen to */
 
#define MEMB_NUM_HCI_PCB   1 /* Always set to one */
 
#define MEMB_NUM_HCI_LINK   MAX_NUM_CLIENTS /* One for DT + One per ACL connection */
 
#define MEMB_NUM_HCI_INQ   256 /* One per max number of returned results from an inquiry */
 
#define MEMB_NUM_HCI_LINK_KEY   256 /* One per max number of returned results from an read stored link key */
 
#define MEMB_NUM_L2CAP_PCB   (2 + 2 * MAX_NUM_CLIENTS) /* One for a closing connection + one for DT + one per number of connected Bluetooth clients */
 
#define MEMB_NUM_L2CAP_PCB_LISTEN   (2 * MAX_NUM_OPT_CLIENTS) /* One per listening PSM */
 
#define MEMB_NUM_L2CAP_SIG   (2 * MAX_NUM_CLIENTS)/* Two per number of connected Bluetooth clients but min 2 */
 
#define MEMB_NUM_L2CAP_SEG   (2 + 2 * MAX_NUM_CLIENTS) /* One per number of L2CAP connections */
 
#define MEMB_NUM_SDP_PCB   MAX_NUM_CLIENTS /* One per number of connected Bluetooth clients */
 
#define MEMB_NUM_SDP_RECORD   1 /* One per registered service record */
 
#define MEMP_NUM_RFCOMM_PCB   (2 + 2 * MAX_NUM_CLIENTS) /* Two for DT + Two per number of connected Bluetooth clients */
 
#define MEMP_NUM_RFCOMM_PCB_LISTEN   (2 * MAX_NUM_CLIENTS) /* Two per number of connected Bluetooth clients */
 
#define MEMP_NUM_HIDP_PCB   (2 + 2 * MAX_NUM_CLIENTS) /* Two for DT + Two per number of connected Bluetooth clients */
 
#define MEMP_NUM_HIDP_PCB_LISTEN   (2 * MAX_NUM_CLIENTS) /* Two per number of connected Bluetooth clients */
 
#define MEMP_NUM_PPP_PCB   (1 + MAX_NUM_CLIENTS) /* One for DT + One per number of connected Bluetooth clients */
 
#define MEMP_NUM_PPP_REQ   MAX_NUM_CLIENTS /* One per number of connected Bluetooth clients but min 1 */
 
#define MEMP_NUM_BTE_PCB   (2 + 2 * MAX_NUM_CLIENTS) /* Two for DT + Two per number of connected Bluetooth clients */
 
#define MEMP_NUM_BTE_PCB_LISTEN   (2 * MAX_NUM_CLIENTS) /* Two per number of connected Bluetooth clients */
 
#define MEMP_NUM_BTE_CTRLS   256
 
#define HCI   1
 
#define HCI_HOST_MAX_NUM_ACL   20
 
#define HCI_HOST_ACL_MAX_LEN
 
#define HCI_PACKET_TYPE   0xCC18 /* Default DM1, DH1, DM3, DH3, DM5, DH5 */
 
#define HCI_ALLOW_ROLE_SWITCH   1 /* Default 1 */
 
#define HCI_FLOW_QUEUEING   0 /* Default: 0 */
 
#define L2CAP_HCI   1
 
#define L2CAP_CFG_QOS   0
 
#define L2CAP_MTU
 
#define L2CAP_OUT_FLUSHTO
 
#define L2CAP_RTX   60
 
#define L2CAP_ERTX   300
 
#define L2CAP_MAXRTX   0
 
#define L2CAP_CFG_TO   30
 
#define HIDD_N
 
#define RFCOMM_K   0
 
#define RFCOMM_TO   20
 
#define RFCOMM_FLOW_QUEUEING   0 /* Default: 0 */
 

Typedefs

typedef u8 u8_t
 
typedef s8 s8_t
 
typedef u16 u16_t
 
typedef s16 s16_t
 
typedef s32 s32_t
 
typedef u32 u32_t
 
typedef u64 u64_t
 
typedef s64 s64_t
 
typedef s8 err_t
 

Functions

void bt_log (const char *filename, int line_nb, char *msg)
 

Detailed Description

Configuration options for uIP.

Author
Adam Dunkels adam@.nosp@m.dunk.nosp@m.els.c.nosp@m.om

This file is used for tweaking various configuration options for uIP. You should make a copy of this file into one of your project's directories instead of editing this example "uipopt.h" file that comes with the uIP distribution.