#include <gccore.h>
#include "bd_addr.h"
Go to the source code of this file.
|
void | BTE_Init () |
|
void | BTE_Shutdown () |
|
s32 | BTE_InitCore (btecallback cb) |
|
s32 | BTE_ApplyPatch (btecallback cb) |
|
s32 | BTE_InitSub (btecallback cb) |
|
s32 | BTE_ReadStoredLinkKey (struct linkkey_info *keys, u8 max_cnt, btecallback cb) |
|
s32 | BTE_ReadBdAddr (struct bd_addr *bdaddr, btecallback cb) |
|
struct bte_pcb * | bte_new () |
|
void | bte_arg (struct bte_pcb *pcb, void *arg) |
|
void | bte_received (struct bte_pcb *pcb, s32(*recv)(void *arg, void *buffer, u16 len)) |
|
void | bte_disconnected (struct bte_pcb *pcb, s32(disconn_cfm)(void *arg, struct bte_pcb *pcb, u8 err)) |
|
s32 | bte_registerdeviceasync (struct bte_pcb *pcb, struct bd_addr *bdaddr, s32(*conn_cfm)(void *arg, struct bte_pcb *pcb, u8 err)) |
|
s32 | bte_disconnect (struct bte_pcb *pcb) |
|
s32 | bte_inquiry (struct inquiry_info *info, u8 max_cnt, u8 flush) |
|
s32 | bte_inquiry_ex (struct inquiry_info_ex *info, u8 max_cnt, u8 flush) |
|
s32 | bte_senddata (struct bte_pcb *pcb, void *message, u16 len) |
|
s32 | bte_sendmessage (struct bte_pcb *pcb, void *message, u16 len) |
|
s32 | bte_sendmessageasync (struct bte_pcb *pcb, void *message, u16 len, s32(*sent)(void *arg, struct bte_pcb *pcb, u8 err)) |
|
◆ ERR_ABRT
◆ ERR_ARG
◆ ERR_BUF
◆ ERR_CLSD
◆ ERR_CONN
◆ ERR_IF
◆ ERR_MEM
◆ ERR_OK
◆ ERR_PKTSIZE
◆ ERR_RST
◆ ERR_RTE
◆ ERR_USE
◆ ERR_VAL
◆ HIDP_CONTROL_CHANNEL
#define HIDP_CONTROL_CHANNEL 0x11 |
◆ HIDP_CTRL_HARDRESET
#define HIDP_CTRL_HARDRESET 0x01 |
◆ HIDP_CTRL_NOP
#define HIDP_CTRL_NOP 0x00 |
◆ HIDP_CTRL_RESUME
#define HIDP_CTRL_RESUME 0x04 |
◆ HIDP_CTRL_SOFTRESET
#define HIDP_CTRL_SOFTRESET 0x02 |
◆ HIDP_CTRL_SUSPEND
#define HIDP_CTRL_SUSPEND 0x03 |
◆ HIDP_CTRL_VC_UNPLUG
#define HIDP_CTRL_VC_UNPLUG 0x05 |
◆ HIDP_DATA_CHANNEL
#define HIDP_DATA_CHANNEL 0x13 |
◆ HIDP_DATA_RSRVD_MASK
#define HIDP_DATA_RSRVD_MASK 0x0c |
◆ HIDP_DATA_RTYPE_FEATURE
#define HIDP_DATA_RTYPE_FEATURE 0x03 |
◆ HIDP_DATA_RTYPE_INPUT
#define HIDP_DATA_RTYPE_INPUT 0x01 |
◆ HIDP_DATA_RTYPE_MASK
#define HIDP_DATA_RTYPE_MASK 0x03 |
◆ HIDP_DATA_RTYPE_OTHER
#define HIDP_DATA_RTYPE_OTHER 0x00 |
◆ HIDP_DATA_RTYPE_OUPUT
#define HIDP_DATA_RTYPE_OUPUT 0x02 |
◆ HIDP_HDR_PARAM_MASK
#define HIDP_HDR_PARAM_MASK 0x0f |
◆ HIDP_HDR_TRANS_MASK
#define HIDP_HDR_TRANS_MASK 0xf0 |
◆ HIDP_HSHK_FATALERROR
#define HIDP_HSHK_FATALERROR 0x0f |
◆ HIDP_HSHK_INV_REPORTID
#define HIDP_HSHK_INV_REPORTID 0x02 |
◆ HIDP_HSHK_IVALIDPARAM
#define HIDP_HSHK_IVALIDPARAM 0x04 |
◆ HIDP_HSHK_NOTREADY
#define HIDP_HSHK_NOTREADY 0x01 |
◆ HIDP_HSHK_NOTSUPPORTED
#define HIDP_HSHK_NOTSUPPORTED 0x03 |
◆ HIDP_HSHK_SUCCESSFULL
#define HIDP_HSHK_SUCCESSFULL 0x00 |
◆ HIDP_HSHK_UNKNOWNERROR
#define HIDP_HSHK_UNKNOWNERROR 0x0e |
◆ HIDP_PROTO_BOOT
#define HIDP_PROTO_BOOT 0x00 |
◆ HIDP_PROTO_REPORT
#define HIDP_PROTO_REPORT 0x01 |
◆ HIDP_STATE_CONNECTED
#define HIDP_STATE_CONNECTED 0x04 |
◆ HIDP_STATE_CONNECTING
#define HIDP_STATE_CONNECTING 0x02 |
◆ HIDP_STATE_LISTEN
#define HIDP_STATE_LISTEN 0x01 |
◆ HIDP_STATE_READY
#define HIDP_STATE_READY 0x00 |
◆ HIDP_TRANS_DATA
#define HIDP_TRANS_DATA 0xa0 |
◆ HIDP_TRANS_DATAC
#define HIDP_TRANS_DATAC 0xb0 |
◆ HIDP_TRANS_GETIDLE
#define HIDP_TRANS_GETIDLE 0x80 |
◆ HIDP_TRANS_GETPROTOCOL
#define HIDP_TRANS_GETPROTOCOL 0x60 |
◆ HIDP_TRANS_GETREPORT
#define HIDP_TRANS_GETREPORT 0x40 |
◆ HIDP_TRANS_HANDSHAKE
#define HIDP_TRANS_HANDSHAKE 0x00 |
◆ HIDP_TRANS_HIDCONTROL
#define HIDP_TRANS_HIDCONTROL 0x10 |
◆ HIDP_TRANS_SETIDLE
#define HIDP_TRANS_SETIDLE 0x90 |
◆ HIDP_TRANS_SETPROTOCOL
#define HIDP_TRANS_SETPROTOCOL 0x70 |
◆ HIDP_TRANS_SETREPORT
#define HIDP_TRANS_SETREPORT 0x50 |
◆ btecallback
◆ BTE_ApplyPatch()
◆ bte_arg()
◆ bte_disconnect()
◆ bte_disconnected()
◆ BTE_Init()
◆ BTE_InitCore()
◆ BTE_InitSub()
◆ bte_inquiry()
◆ bte_inquiry_ex()
◆ bte_new()
◆ BTE_ReadBdAddr()
◆ BTE_ReadStoredLinkKey()
◆ bte_received()
◆ bte_registerdeviceasync()
◆ bte_senddata()
◆ bte_sendmessage()
◆ bte_sendmessageasync()
◆ BTE_Shutdown()
◆ BTE_SetDisconnectCallback