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