Home | History | Annotate | Download | only in ble
      1 /******************************************************************************
      2  *
      3  *  Copyright (C) 2003-2014 Broadcom Corporation
      4  *
      5  *  Licensed under the Apache License, Version 2.0 (the "License");
      6  *  you may not use this file except in compliance with the License.
      7  *  You may obtain a copy of the License at:
      8  *
      9  *  http://www.apache.org/licenses/LICENSE-2.0
     10  *
     11  *  Unless required by applicable law or agreed to in writing, software
     12  *  distributed under the License is distributed on an "AS IS" BASIS,
     13  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     14  *  See the License for the specific language governing permissions and
     15  *  limitations under the License.
     16  *
     17  ******************************************************************************/
     18 
     19 /*****************************************************************************
     20  *
     21  *  Name        vendor_hcidefs.h
     22  *
     23  *  Function    This file contains Broadcom Specific Host Controller Interface
     24  *              definitions.
     25  *
     26  *****************************************************************************/
     27 
     28 #ifndef VENDOR_HCIDEFS_H
     29 #define VENDOR_HCIDEFS_H
     30 
     31 /*****************************************************************************
     32  * Private address resolution VSC
     33  *****************************************************************************/
     34 
     35 /* VSC */
     36 #define HCI_VENDOR_BLE_RPA_VSC (0x0155 | HCI_GRP_VENDOR_SPECIFIC)
     37 
     38 /* Sub codes */
     39 #define HCI_VENDOR_BLE_RPA_ENABLE 0x01
     40 #define HCI_VENDOR_BLE_RPA_ADD_IRK 0x02
     41 #define HCI_VENDOR_BLE_RPA_REMOVE_IRK 0x03
     42 #define HCI_VENDOR_BLE_RPA_CLEAR_IRK 0x04
     43 #define HCI_VENDOR_BLE_RPA_READ_IRK 0x05
     44 
     45 /*****************************************************************************
     46  * Advertising data payload filter VSC
     47  *****************************************************************************/
     48 
     49 /* VSC */
     50 #define HCI_VENDOR_BLE_PCF_VSC (0x0157 | HCI_GRP_VENDOR_SPECIFIC)
     51 
     52 #endif
     53