CC3000HostDriver for device TI CC3000 some changes were made due to mbed compiler and the use of void*

Dependents:   CC3000Test

Embed: (wiki syntax)

« Back to documentation index

Hci_app

Hci_app

Functions

unsigned short hci_command_send (unsigned short usOpcode, unsigned char *pucBuff, unsigned char ucArgsLength)
 hci_command_send
long hci_data_send (unsigned char ucOpcode, unsigned char *ucArgs, unsigned short usArgsLength, unsigned short usDataLength, const unsigned char *ucTail, unsigned short usTailLength)
 hci_data_send
void hci_data_command_send (unsigned short usOpcode, unsigned char *pucBuff, unsigned char ucArgsLength, unsigned short ucDataLength)
 hci_data_command_send
void hci_patch_send (unsigned char ucOpcode, unsigned char *pucBuff, char *patch, unsigned short usDataLength)
 hci_patch_send

Function Documentation

unsigned short hci_command_send ( unsigned short  usOpcode,
unsigned char *  pucBuff,
unsigned char  ucArgsLength 
)

hci_command_send

Parameters:
usOpcodecommand operation code
pucBuffpointer to the command's arguments buffer
ucArgsLengthlength of the arguments
Returns:
none

Initiate an HCI command.

Definition at line 67 of file hci.cpp.

void hci_data_command_send ( unsigned short  usOpcode,
unsigned char *  pucBuff,
unsigned char  ucArgsLength,
unsigned short  ucDataLength 
)

hci_data_command_send

Parameters:
usOpcodecommand operation code
pucBuffpointer to the data buffer
ucArgsLengtharguments length
ucDataLengthdata length
Returns:
none

Prepeare HCI header and initiate an HCI data write operation

Definition at line 136 of file hci.cpp.

long hci_data_send ( unsigned char  ucOpcode,
unsigned char *  ucArgs,
unsigned short  usArgsLength,
unsigned short  usDataLength,
const unsigned char *  ucTail,
unsigned short  usTailLength 
)

hci_data_send

Parameters:
usOpcodecommand operation code
ucArgspointer to the command's arguments buffer
usArgsLengthlength of the arguments
ucTailpointer to the data buffer
usTailLengthbuffer length
Returns:
none

Initiate an HCI data write operation

Definition at line 99 of file hci.cpp.

void hci_patch_send ( unsigned char  ucOpcode,
unsigned char *  pucBuff,
char *  patch,
unsigned short  usDataLength 
)

hci_patch_send

Parameters:
usOpcodecommand operation code
pucBuffpointer to the command's arguments buffer
patchpointer to patch content buffer
usDataLengthdata length
Returns:
none

Prepeare HCI header and initiate an HCI patch write operation

Definition at line 167 of file hci.cpp.