CC3000HostDriver for device TI CC3000 some changes were made due to mbed compiler and the use of void*
Dependents:
CC3000Test
« Back to documentation index
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:
usOpcode command operation code
pucBuff pointer to the command's arguments buffer
ucArgsLength length 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:
usOpcode command operation code
pucBuff pointer to the data buffer
ucArgsLength arguments length
ucDataLength data 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:
usOpcode command operation code
ucArgs pointer to the command's arguments buffer
usArgsLength length of the arguments
ucTail pointer to the data buffer
usTailLength buffer 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:
usOpcode command operation code
pucBuff pointer to the command's arguments buffer
patch pointer to patch content buffer
usDataLength data length
Returns: none
Prepeare HCI header and initiate an HCI patch write operation
Definition at line 167 of file hci.cpp .