- @param This Pointer to the EFI_BLUETOOTH_HC_PROTOCOL instance.\r
- @param BufferSize On input, indicates the size, in bytes, of the data buffer specified by Buffer. \r
- On output, indicates the amount of data actually transferred.\r
- @param Buffer A pointer to the buffer of data that will be transmitted to Bluetooth host \r
- controller.\r
- @param Timeout Indicating the transfer should be completed within this time frame. The units are \r
- in milliseconds. If Timeout is 0, then the caller must wait for the function to \r
- be completed until EFI_SUCCESS or EFI_DEVICE_ERROR is returned.\r
-\r
- @retval EFI_SUCCESS The HCI command packet is sent successfully.\r
- @retval EFI_INVALID_PARAMETER One or more of the following conditions is TRUE:\r
- - BufferSize is NULL.\r
- - *BufferSize is 0.\r
- - Buffer is NULL.\r
- @retval EFI_TIMEOUT Sending HCI command packet fail due to timeout.\r
- @retval EFI_DEVICE_ERROR Sending HCI command packet fail due to host controller or device error.\r
+ The SendCommand() function sends HCI command packet. Buffer holds the whole HCI\r
+ command packet, including OpCode, OCF, OGF, parameter length, and parameters. When\r
+ this function is returned, it just means the HCI command packet is sent, it does not mean\r
+ the command is success or complete. Caller might need to wait a command status event\r
+ to know the command status, or wait a command complete event to know if the\r
+ command is completed.\r
+\r
+ @param[in] This Pointer to the EFI_BLUETOOTH_HC_PROTOCOL instance.\r
+ @param[in,out] BufferSize On input, indicates the size, in bytes, of the data buffer\r
+ specified by Buffer. On output, indicates the amount of\r
+ data actually transferred.\r
+ @param[in] Buffer A pointer to the buffer of data that will be transmitted to\r
+ Bluetooth host controller.\r
+ @param[in] Timeout Indicating the transfer should be completed within this\r
+ time frame. The units are in milliseconds. If Timeout is 0,\r
+ then the caller must wait for the function to be completed\r
+ until EFI_SUCCESS or EFI_DEVICE_ERROR is returned.\r
+\r
+ @retval EFI_SUCCESS The HCI command packet is sent successfully.\r
+ @retval EFI_INVALID_PARAMETER One or more of the following conditions is TRUE:\r
+ BufferSize is NULL.\r
+ *BufferSize is 0.\r
+ Buffer is NULL.\r
+ @retval EFI_TIMEOUT Sending HCI command packet fail due to timeout.\r
+ @retval EFI_DEVICE_ERROR Sending HCI command packet fail due to host controller or device\r
+ error.\r