Home | History | Annotate | Download | only in include
      1 /******************************************************************************
      2  *
      3  *  Copyright (C) 2009-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  *
     22  *  defines NCI interface messages (for DH)
     23  *
     24  ******************************************************************************/
     25 #ifndef NFC_NCI_HMSGS_H
     26 #define NFC_NCI_HMSGS_H
     27 
     28 #ifdef __cplusplus
     29 extern "C" {
     30 #endif
     31 
     32 #include "nci_defs.h"
     33 
     34 
     35 BOOLEAN nci_proc_core_rsp (BT_HDR *p_msg);
     36 void nci_proc_rf_management_rsp (BT_HDR *p_msg);
     37 void nci_proc_ee_management_rsp (BT_HDR *p_msg);
     38 void nci_proc_core_ntf (BT_HDR *p_msg);
     39 void nci_proc_rf_management_ntf (BT_HDR *p_msg);
     40 void nci_proc_ee_management_ntf (BT_HDR *p_msg);
     41 void nci_proc_prop_rsp (BT_HDR *p_msg);
     42 void nci_proc_prop_ntf (BT_HDR *p_msg);
     43 
     44 
     45 UINT8 nci_snd_core_reset (UINT8 reset_type);
     46 UINT8 nci_snd_core_init (void);
     47 UINT8 nci_snd_core_get_config (UINT8 *param_ids, UINT8 num_ids);
     48 UINT8 nci_snd_core_set_config (UINT8 *p_param_tlvs, UINT8 tlv_size);
     49 
     50 UINT8 nci_snd_core_conn_create (UINT8 dest_type, UINT8 num_tlv, UINT8 tlv_size, UINT8 *p_param_tlvs);
     51 UINT8 nci_snd_core_conn_close (UINT8 conn_id);
     52 
     53 
     54 
     55 UINT8 nci_snd_discover_cmd (UINT8 num, tNCI_DISCOVER_PARAMS *p_param);
     56 
     57 UINT8 nci_snd_discover_select_cmd (UINT8 rf_disc_id, UINT8 protocol, UINT8 rf_interface);
     58 UINT8 nci_snd_deactivate_cmd (UINT8 de_act_type );
     59 UINT8 nci_snd_discover_map_cmd (UINT8 num, tNCI_DISCOVER_MAPS *p_maps);
     60 UINT8 nci_snd_t3t_polling (UINT16 system_code, UINT8 rc, UINT8 tsn);
     61 UINT8 nci_snd_parameter_update_cmd (UINT8 *p_param_tlvs, UINT8 tlv_size);
     62 
     63 #if ((NFC_NFCEE_INCLUDED == TRUE) && (NFC_RW_ONLY == FALSE))
     64 UINT8 nci_snd_nfcee_discover (UINT8 discover_action);
     65 UINT8 nci_snd_nfcee_mode_set (UINT8 nfcee_id, UINT8 nfcee_mode);
     66 UINT8 nci_snd_set_routing_cmd (BOOLEAN more, UINT8 num_tlv, UINT8 tlv_size, UINT8 *p_param_tlvs);
     67 UINT8 nci_snd_get_routing_cmd (void);
     68 #endif
     69 
     70 #ifdef __cplusplus
     71 }
     72 #endif
     73 
     74 #endif  /* NFC_NCI_MSGS_H */
     75