hci_data.h 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. /**************************************************************************************************
  2. Phyplus Microelectronics Limited confidential and proprietary.
  3. All rights reserved.
  4. IMPORTANT: All rights of this software belong to Phyplus Microelectronics
  5. Limited ("Phyplus"). Your use of this Software is limited to those
  6. specific rights granted under the terms of the business contract, the
  7. confidential agreement, the non-disclosure agreement and any other forms
  8. of agreements as a customer or a partner of Phyplus. You may not use this
  9. Software unless you agree to abide by the terms of these agreements.
  10. You acknowledge that the Software may not be modified, copied,
  11. distributed or disclosed unless embedded on a Phyplus Bluetooth Low Energy
  12. (BLE) integrated circuit, either as a product or is integrated into your
  13. products. Other than for the aforementioned purposes, you may not use,
  14. reproduce, copy, prepare derivative works of, modify, distribute, perform,
  15. display or sell this Software and/or its documentation for any purposes.
  16. YOU FURTHER ACKNOWLEDGE AND AGREE THAT THE SOFTWARE AND DOCUMENTATION ARE
  17. PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED,
  18. INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY, TITLE,
  19. NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL
  20. PHYPLUS OR ITS SUBSIDIARIES BE LIABLE OR OBLIGATED UNDER CONTRACT,
  21. NEGLIGENCE, STRICT LIABILITY, CONTRIBUTION, BREACH OF WARRANTY, OR OTHER
  22. LEGAL EQUITABLE THEORY ANY DIRECT OR INDIRECT DAMAGES OR EXPENSES
  23. INCLUDING BUT NOT LIMITED TO ANY INCIDENTAL, SPECIAL, INDIRECT, PUNITIVE
  24. OR CONSEQUENTIAL DAMAGES, LOST PROFITS OR LOST DATA, COST OF PROCUREMENT
  25. OF SUBSTITUTE GOODS, TECHNOLOGY, SERVICES, OR ANY CLAIMS BY THIRD PARTIES
  26. (INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF), OR OTHER SIMILAR COSTS.
  27. **************************************************************************************************/
  28. /*******************************************************************************
  29. Filename: hci_c_data.h
  30. Revised: $Date: 2011-08-22 08:41:40 -0700 (Mon, 22 Aug 2011) $
  31. Revision: $Revision: 27235 $
  32. Description: This file handles HCI data for the BLE Controller.
  33. *******************************************************************************/
  34. #ifndef HCI_C_DATA_H
  35. #define HCI_C_DATA_H
  36. #ifdef __cplusplus
  37. extern "C"
  38. {
  39. #endif
  40. /*******************************************************************************
  41. * INCLUDES
  42. */
  43. /*******************************************************************************
  44. * MACROS
  45. */
  46. /*******************************************************************************
  47. * CONSTANTS
  48. */
  49. /*******************************************************************************
  50. * TYPEDEFS
  51. */
  52. /*******************************************************************************
  53. * LOCAL VARIABLES
  54. */
  55. /*******************************************************************************
  56. * GLOBAL VARIABLES
  57. */
  58. /*
  59. ** HCI Data API
  60. */
  61. /*******************************************************************************
  62. * @fn HCI_ReverseBytes
  63. *
  64. * @brief This function is used to reverse the order of the bytes in
  65. * an array in place.
  66. *
  67. * input parameters
  68. *
  69. * @param *buf - Pointer to buffer containing bytes to be reversed.
  70. * @param len - Number of bytes in buffer.
  71. *
  72. * Note: The length must be even.
  73. *
  74. * Note: The maximum length is 128 bytes.
  75. *
  76. * output parameters
  77. *
  78. * @param None.
  79. *
  80. * @return None.
  81. */
  82. extern void HCI_ReverseBytes( uint8 *buf,
  83. uint8 len );
  84. #ifdef __cplusplus
  85. }
  86. #endif
  87. #endif /* HCI_C_DATA_H */