RetroArch
Modules | Macros | Typedefs
uIP type definitions
Collaboration diagram for uIP type definitions:

Modules

 general configuration options
 
 CPU architecture configuration
 

Macros

#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 u16 uip_stats_t
 
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
 

Detailed Description

Macro Definition Documentation

◆ HCI

#define HCI   1

◆ HCI_ALLOW_ROLE_SWITCH

#define HCI_ALLOW_ROLE_SWITCH   1 /* Default 1 */

◆ HCI_FLOW_QUEUEING

#define HCI_FLOW_QUEUEING   0 /* Default: 0 */

◆ HCI_HOST_ACL_MAX_LEN

#define HCI_HOST_ACL_MAX_LEN
Value:
1691 /* Default: RFCOMM MFS + ACL header size, L2CAP header size,
RFCOMM header size and RFCOMM FCS size */

◆ HCI_HOST_MAX_NUM_ACL

#define HCI_HOST_MAX_NUM_ACL   20

◆ HCI_PACKET_TYPE

#define HCI_PACKET_TYPE   0xCC18 /* Default DM1, DH1, DM3, DH3, DM5, DH5 */

◆ HIDD_N

#define HIDD_N
Value:
672 /* Default: Worst case byte stuffed PPP packet size +
non-compressed PPP header size and FCS size */

◆ L2CAP_CFG_QOS

#define L2CAP_CFG_QOS   0

◆ L2CAP_CFG_TO

#define L2CAP_CFG_TO   30

◆ L2CAP_ERTX

#define L2CAP_ERTX   300

◆ L2CAP_HCI

#define L2CAP_HCI   1

◆ L2CAP_MAXRTX

#define L2CAP_MAXRTX   0

◆ L2CAP_MTU

#define L2CAP_MTU
Value:
(HIDD_N + 1)/* Default for this implementation is RFCOMM MFS + RFCOMM header size and
RFCOMM FCS size while the L2CAP default is 672 */
#define HIDD_N
Definition: btopt.h:339

◆ L2CAP_OUT_FLUSHTO

#define L2CAP_OUT_FLUSHTO
Value:
0xFFFF /* Default: 0xFFFF. Infinite number of retransmissions (reliable channel)
The value of 1 implies no retransmissions at the Baseband level
should be performed since the minimum polling interval is 1.25 ms.*/

◆ L2CAP_RTX

#define L2CAP_RTX   60

◆ LIBC_MEMFUNCREPLACE

#define LIBC_MEMFUNCREPLACE   0

◆ MAX_NUM_CLIENTS

#define MAX_NUM_CLIENTS   6 /* Maximum number of connected Bluetooth clients. No more than 6 */

◆ MAX_NUM_OPT_CLIENTS

#define MAX_NUM_OPT_CLIENTS   10 /* Maximum number of possible Bluetooth clients we might listen to */

◆ MEMB_NUM_HCI_INQ

#define MEMB_NUM_HCI_INQ   256 /* One per max number of returned results from an inquiry */

◆ MEMB_NUM_HCI_LINK

#define MEMB_NUM_HCI_LINK   MAX_NUM_CLIENTS /* One for DT + One per ACL connection */

◆ MEMB_NUM_HCI_LINK_KEY

#define MEMB_NUM_HCI_LINK_KEY   256 /* One per max number of returned results from an read stored link key */

◆ MEMB_NUM_HCI_PCB

#define MEMB_NUM_HCI_PCB   1 /* Always set to one */

◆ MEMB_NUM_L2CAP_PCB

#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 */

◆ MEMB_NUM_L2CAP_PCB_LISTEN

#define MEMB_NUM_L2CAP_PCB_LISTEN   (2 * MAX_NUM_OPT_CLIENTS) /* One per listening PSM */

◆ MEMB_NUM_L2CAP_SEG

#define MEMB_NUM_L2CAP_SEG   (2 + 2 * MAX_NUM_CLIENTS) /* One per number of L2CAP connections */

◆ MEMB_NUM_L2CAP_SIG

#define MEMB_NUM_L2CAP_SIG   (2 * MAX_NUM_CLIENTS)/* Two per number of connected Bluetooth clients but min 2 */

◆ MEMB_NUM_SDP_PCB

#define MEMB_NUM_SDP_PCB   MAX_NUM_CLIENTS /* One per number of connected Bluetooth clients */

◆ MEMB_NUM_SDP_RECORD

#define MEMB_NUM_SDP_RECORD   1 /* One per registered service record */

◆ MEMP_NUM_BTE_CTRLS

#define MEMP_NUM_BTE_CTRLS   256

◆ MEMP_NUM_BTE_PCB

#define MEMP_NUM_BTE_PCB   (2 + 2 * MAX_NUM_CLIENTS) /* Two for DT + Two per number of connected Bluetooth clients */

◆ MEMP_NUM_BTE_PCB_LISTEN

#define MEMP_NUM_BTE_PCB_LISTEN   (2 * MAX_NUM_CLIENTS) /* Two per number of connected Bluetooth clients */

◆ MEMP_NUM_HIDP_PCB

#define MEMP_NUM_HIDP_PCB   (2 + 2 * MAX_NUM_CLIENTS) /* Two for DT + Two per number of connected Bluetooth clients */

◆ MEMP_NUM_HIDP_PCB_LISTEN

#define MEMP_NUM_HIDP_PCB_LISTEN   (2 * MAX_NUM_CLIENTS) /* Two per number of connected Bluetooth clients */

◆ MEMP_NUM_PPP_PCB

#define MEMP_NUM_PPP_PCB   (1 + MAX_NUM_CLIENTS) /* One for DT + One per number of connected Bluetooth clients */

◆ MEMP_NUM_PPP_REQ

#define MEMP_NUM_PPP_REQ   MAX_NUM_CLIENTS /* One per number of connected Bluetooth clients but min 1 */

◆ MEMP_NUM_RFCOMM_PCB

#define MEMP_NUM_RFCOMM_PCB   (2 + 2 * MAX_NUM_CLIENTS) /* Two for DT + Two per number of connected Bluetooth clients */

◆ MEMP_NUM_RFCOMM_PCB_LISTEN

#define MEMP_NUM_RFCOMM_PCB_LISTEN   (2 * MAX_NUM_CLIENTS) /* Two per number of connected Bluetooth clients */

◆ RFCOMM_FLOW_QUEUEING

#define RFCOMM_FLOW_QUEUEING   0 /* Default: 0 */

◆ RFCOMM_K

#define RFCOMM_K   0

◆ RFCOMM_TO

#define RFCOMM_TO   20

Typedef Documentation

◆ err_t

typedef s8 err_t

The statistics data type.

This datatype determines how high the statistics counters are able to count.

◆ s16_t [1/2]

typedef s16 s16_t

The 16-bit signed data type.

This may have to be tweaked for your particular compiler. "unsigned short" works for most compilers.

◆ s16_t [2/2]

typedef s16 s16_t

The 16-bit signed data type.

This may have to be tweaked for your particular compiler. "unsigned short" works for most compilers.

◆ s32_t [1/2]

typedef s32 s32_t

The 32-bit signed data type.

This may have to be tweaked for your particular compiler. "unsigned short" works for most compilers.

◆ s32_t [2/2]

typedef s32 s32_t

The 32-bit signed data type.

This may have to be tweaked for your particular compiler. "unsigned short" works for most compilers.

◆ s64_t

typedef s64 s64_t

The 64-bit signed data type.

This may have to be tweaked for your particular compiler. "unsigned short" works for most compilers.

◆ s8_t [1/2]

typedef s8 s8_t

The 8-bit signed data type.

This may have to be tweaked for your particular compiler. "unsigned char" works for most compilers.

◆ s8_t [2/2]

typedef s8 s8_t

The 8-bit signed data type.

This may have to be tweaked for your particular compiler. "unsigned char" works for most compilers.

◆ u16_t [1/2]

typedef u16 u16_t

The 16-bit unsigned data type.

This may have to be tweaked for your particular compiler. "unsigned short" works for most compilers.

◆ u16_t [2/2]

typedef u16 u16_t

The 16-bit unsigned data type.

This may have to be tweaked for your particular compiler. "unsigned short" works for most compilers.

◆ u32_t [1/2]

typedef u32 u32_t

The 32-bit unsigned data type.

This may have to be tweaked for your particular compiler. "unsigned short" works for most compilers.

◆ u32_t [2/2]

typedef u32 u32_t

The 32-bit unsigned data type.

This may have to be tweaked for your particular compiler. "unsigned short" works for most compilers.

◆ u64_t

typedef u64 u64_t

The 64-bit unsigned data type.

This may have to be tweaked for your particular compiler. "unsigned short" works for most compilers.

◆ u8_t [1/2]

typedef u8 u8_t

The 8-bit unsigned data type.

This may have to be tweaked for your particular compiler. "unsigned char" works for most compilers.

◆ u8_t [2/2]

typedef u8 u8_t

The 8-bit unsigned data type.

This may have to be tweaked for your particular compiler. "unsigned char" works for most compilers.

◆ uip_stats_t

typedef u16 uip_stats_t

The statistics data type.

This datatype determines how high the statistics counters are able to count.