CC3000  1.14
 All Classes Functions Groups
Hci_app

Macros

#define SL_PATCH_PORTION_SIZE   (1000)
 

Functions

UINT16 hci_command_send (UINT16 usOpcode, UINT8 *pucBuff, UINT8 ucArgsLength)
 Initiate an HCI command. More...
 
INT32 hci_data_send (UINT8 ucOpcode, UINT8 *ucArgs, UINT16 usArgsLength, UINT16 usDataLength, const UINT8 *ucTail, UINT16 usTailLength)
 Initiate an HCI data write operation. More...
 
void hci_data_command_send (UINT16 usOpcode, UINT8 *pucBuff, UINT8 ucArgsLength, UINT16 ucDataLength)
 Prepeare HCI header and initiate an HCI data write operation. More...
 
void hci_patch_send (UINT8 ucOpcode, UINT8 *pucBuff, CHAR *patch, UINT16 usDataLength)
 Prepeare HCI header and initiate an HCI patch write operation. More...
 

Detailed Description

Function Documentation

UINT16 hci_command_send ( UINT16  usOpcode,
UINT8 *  pucBuff,
UINT8  ucArgsLength 
)

Initiate an HCI command.

hci_command_send

Parameters
usOpcodecommand operation code
pucBuffpointer to the command's arguments buffer
ucArgsLengthlength of the arguments
Returns
none
void hci_data_command_send ( UINT16  usOpcode,
UINT8 *  pucBuff,
UINT8  ucArgsLength,
UINT16  ucDataLength 
)

Prepeare HCI header and initiate an HCI data write operation.

Prepare HCI header and initiate an HCI data write operation.

hci_data_command_send

Parameters
usOpcodecommand operation code
pucBuffpointer to the data buffer
ucArgsLengtharguments length
ucDataLengthdata length
Returns
none
INT32 hci_data_send ( UINT8  ucOpcode,
UINT8 *  ucArgs,
UINT16  usArgsLength,
UINT16  usDataLength,
const UINT8 *  ucTail,
UINT16  usTailLength 
)

Initiate an HCI data write operation.

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
void hci_patch_send ( UINT8  ucOpcode,
UINT8 *  pucBuff,
CHAR *  patch,
UINT16  usDataLength 
)

Prepeare HCI header and initiate an HCI patch write operation.

Prepare HCI header and initiate an HCI patch write operation.

hci_patch_send

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