Infineon Logo AIROC BTSDK v4.4 - Documentation
 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
wiced_bt_types.h File Reference

Generic types. More...

Data Structures

struct  wiced_bt_uuid_t
 UUID Type. More...
 
struct  wiced_bt_flow_spec_t
 Bluetooth QoS defintions. More...
 
struct  wiced_bt_ble_address_t
 

Macros

#define BD_ADDR_LEN   6
 Bluetooth device address length.
 
#define BD_NAME_LEN   248
 
#define DEV_CLASS_LEN   3
 
#define MAX_UUID_SIZE   16
 Maximum UUID size - 16 bytes, and structure to hold any type of UUID. More...
 
#define LEN_UUID_16   2
 
#define LEN_UUID_32   4
 
#define LEN_UUID_128   16
 
#define BT_OCTET16_LEN   16
 length: 16
 
#define BT_OCTET32_LEN   32
 
#define NO_TRAFFIC   0
 
#define BEST_EFFORT   1
 
#define GUARANTEED   2
 
#define LINK_KEY_LEN   16
 

Typedefs

typedef uint8_t wiced_bt_device_address_t [BD_ADDR_LEN]
 Bluetooth Device address. More...
 
typedef uint8_t wiced_bt_remote_name_t [BD_NAME_LEN+1]
 Device name.
 
typedef uint8_t * wiced_bt_device_address_ptr_t
 Device address Pointer.
 
typedef uint8_t wiced_bt_dev_class_t [DEV_CLASS_LEN]
 Device class.
 
typedef uint8_t BT_OCTET16 [BT_OCTET16_LEN]
 octet array: size 16
 
typedef uint8_t BT_OCTET32 [BT_OCTET32_LEN]
 
typedef uint8_t wiced_bt_link_key_t [LINK_KEY_LEN]
 

Transport types

#define BT_TRANSPORT_BR_EDR   1
 BR/EDR transport.
 
#define BT_TRANSPORT_LE   2
 LE transport.
 
typedef uint8_t wiced_bt_transport_t
 Transport type (see Bluetooth Transport Types)
 

Device Types

#define BT_DEVICE_TYPE_BREDR   0x01
 BR/EDR device.
 
#define BT_DEVICE_TYPE_BLE   0x02
 LE device.
 
#define BT_DEVICE_TYPE_BREDR_BLE   0x03
 Dual Mode device.
 
typedef uint8_t wiced_bt_device_type_t
 Bluetooth device type (see Bluetooth Device Types)
 

Address Types

#define BLE_ADDR_PUBLIC   0x00
 Public address.
 
#define BLE_ADDR_RANDOM   0x01
 Random address.
 
#define BLE_ADDR_PUBLIC_ID   0x02
 Public ID.
 
#define BLE_ADDR_RANDOM_ID   0x03
 Random ID.
 
#define BLE_ADDR_TYPE_MASK   (BLE_ADDR_RANDOM | BLE_ADDR_PUBLIC)
 
typedef uint8_t wiced_bt_ble_address_type_t
 LE device address type (see Bluetooth Address Types)
 

Detailed Description

Generic types.

Macro Definition Documentation

#define MAX_UUID_SIZE   16

Maximum UUID size - 16 bytes, and structure to hold any type of UUID.

Typedef Documentation

typedef uint8_t wiced_bt_device_address_t[BD_ADDR_LEN]

Bluetooth Device address.

Note
: The Bluetooth device address is expressed in Big Endian format

|byte 0 | byte 1 | byte 2 | byte 3| byte 4| byte 5 |

| NAP 1 | NAP 0 | UAP | LAP 2 | LAP 1 | LAP 0 |