Home
last modified time | relevance | path

Searched refs:UINT8 (Results 1 – 25 of 216) sorted by relevance

123456789

/external/libnfc-nci/src/nfc/include/
Dndef_utils.h66 typedef UINT8 tNDEF_STATUS;
101 EXPORT_NDEF_API extern tNDEF_STATUS NDEF_MsgValidate (UINT8 *p_msg, UINT32 msg_len, BOOLEAN b_allow…
113 EXPORT_NDEF_API extern INT32 NDEF_MsgGetNumRecs (UINT8 *p_msg);
125 EXPORT_NDEF_API extern UINT32 NDEF_MsgGetRecLength (UINT8 *p_cur_rec);
137 EXPORT_NDEF_API extern UINT8 *NDEF_MsgGetNextRec (UINT8 *p_cur_rec);
149 EXPORT_NDEF_API extern UINT8 *NDEF_MsgGetRecByIndex (UINT8 *p_msg, INT32 index);
161 EXPORT_NDEF_API extern UINT8 *NDEF_MsgGetLastRecInMsg (UINT8 *p_msg);
173 EXPORT_NDEF_API extern UINT8 *NDEF_MsgGetFirstRecByType (UINT8 *p_msg, UINT8 tnf, UINT8 *p_type, UI…
185 EXPORT_NDEF_API extern UINT8 *NDEF_MsgGetNextRecByType (UINT8 *p_cur_rec, UINT8 tnf, UINT8 *p_type,…
197 EXPORT_NDEF_API extern UINT8 *NDEF_MsgGetFirstRecById (UINT8 *p_msg, UINT8 *p_id, UINT8 ilen);
[all …]
Dllcp_api.h38 typedef UINT8 tLLCP_STATUS;
50 UINT8 max_payload_size; /* 64, 128, 192 or 254 */
51 UINT8 waiting_time;
52 UINT8 *p_gen_bytes;
53 UINT8 gen_bytes_len;
59 UINT8 rw; /* Local receiving window */
90 typedef void (tLLCP_LINK_CBACK) (UINT8 event, UINT8 reason);
112 UINT8 event; /* LLCP_SAP_EVT_DATA_IND */
113 UINT8 local_sap; /* SAP of local device */
114 UINT8 remote_sap; /* SAP of remote device */
[all …]
Dnci_hmsgs.h45 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);
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);
55 UINT8 nci_snd_discover_cmd (UINT8 num, tNCI_DISCOVER_PARAMS *p_param);
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);
[all …]
Dnfc_api.h76 typedef UINT8 tNFC_STATUS;
149 typedef UINT8 tNFC_PMID;
211 UINT8 nci_version; /* the NCI version of NFCC */
212 UINT8 max_conn; /* max number of connections by NFCC*/
217 UINT8 manufacture_id; /* the Manufacture ID for NFCC */
218 UINT8 nfcc_info[NFC_NFCC_INFO_LEN];/* the Manufacture Info for NFCC */
219UINT8 vs_interface[NFC_NFCC_MAX_NUM_VS_INTERFACE]; /* the NCI VS interfaces of …
227 UINT8 num_param_id; /* Number of rejected NCI Param ID */
228 UINT8 param_ids[NFC_MAX_NUM_IDS];/* NCI Param ID */
236 UINT8 *p_param_tlvs; /* TLV */
[all …]
Drw_api.h129 typedef UINT8 tRW_EVENT;
140 typedef UINT8 tRW_NDEF_FLAG;
152 UINT8 hr[T1T_HR_LEN];
153 UINT8 uid[T1T_CMD_UID_LEN];
165 UINT8 rc; /* RC (request code) used in the POLL request */
166 UINT8 response_num; /* Number of SENSF_RES responses */
167 UINT8 response_bufsize; /* Size of SENSF_RES responses */
168UINT8 *response_buf; /* Buffer of responses (length + SENSF_RES) see $8.1.2.2 of NC…
174 UINT8 num_system_codes; /* Number of system codes */
191 UINT8 num_bytes; /* number of reserved/lock bytes based on the type of tlv */
[all …]
Dce_api.h54 typedef UINT8 tCE_EVENT;
65 UINT8 *p_data;
73 UINT8 aid_handle;
88 typedef UINT8 tCE_T4T_AID_HANDLE; /* Handle for AID registration */
104 UINT8 *p_buf,
105 UINT8 *p_scratch_buf);
117 NFC_API extern tNFC_STATUS CE_T3tSetLocalNDefParams (UINT8 nbr, UINT8 nbw);
128 NFC_API extern tNFC_STATUS CE_T3tSendCheckRsp (UINT8 status1, UINT8 status2, UINT8 num_blocks, UINT…
139 NFC_API extern tNFC_STATUS CE_T3tSendUpdateRsp (UINT8 status1, UINT8 status2);
165 UINT8 *p_ndef_msg,
[all …]
/external/libnfc-nci/src/nfa/int/
Dnfa_hci_int.h60 typedef UINT8 tNFA_HCI_STATE;
69 typedef UINT8 tNFA_HCI_COMMAND;
70 typedef UINT8 tNFA_HCI_RESPONSE;
139 UINT8 gate;
147 UINT8 gate;
163 UINT8 pipe;
164 UINT8 reg_inx;
172 UINT8 pipe;
173 UINT8 reg_inx;
174 UINT8 size;
[all …]
Dnfa_dta_int.h111 UINT8 tlv_len;
112 UINT8 *p_tlv_params;
126 UINT8 event;
132 UINT8 event;
148 typedef UINT8 tNFA_DTA_LLCP_EVT;
158 typedef UINT8 tNFA_DTA_DATA_TYPE;
192 typedef UINT8 tNFA_DTA_STATE;
196 typedef UINT8 tNFA_DTA_SUBSTATE;
223 UINT8 *p_data;
264 UINT8 disc_state;
[all …]
Dnfa_dm_int.h90 UINT8 length;
91 UINT8 *p_data;
98 UINT8 num_ids;
130 UINT8 rf_disc_id;
166 UINT8 flags;
170UINT8 name_len; /* Length of type name or absolute URI …
171UINT8 name[1]; /* Type name or absolute URI of record-type that got was r…
194 UINT8 oid;
195 UINT8 cmd_params_len;
197 UINT8 *p_cmd_params;
[all …]
/external/libnfc-nci/src/nfc/int/
Dllcp_int.h41 typedef UINT8 tLLCP_LINK_STATE;
66 UINT8 flags; /* LLCP internal flags */
68 UINT8 agreed_major_version; /* llcp major version used in activated state */
69 UINT8 agreed_minor_version; /* llcp minor version used in activated state */
71 UINT8 peer_version; /* llcp version of peer device */
75 UINT8 peer_opt; /* Option field of peer device */
79 UINT8 symm_state; /* state of symmectric procedure */
81 UINT8 ll_idx; /* for scheduler of logical link connection */
82 UINT8 dl_idx; /* for scheduler of data link connection */
87 UINT8 link_deact_reason; /* reason of LLCP link deactivated */
[all …]
Drw_int.h57 typedef UINT8 tRW_T1T_LOCK_STATUS;
102UINT8 num_bits; /* Number of lock bits in the lock byte …
103UINT8 bytes_locked_per_bit; /* No. of tag bytes gets locked by a bit in th…
109UINT8 num_bytes; /* Number of reserved bytes as per the TLV …
114UINT8 tlv_index; /* Index of Lock control tlv that points to th…
115UINT8 byte_index; /* Index of Lock byte pointed by the TLV …
116UINT8 lock_byte; /* Value in the lock byte …
123UINT8 addr; /* ADD/ADD8/ADDS field value …
124UINT8 op_code; /* Command sent …
125UINT8 rsp_len; /* expected length of the response …
[all …]
Dtags_int.h36 UINT8 opcode;
37 UINT8 cmd_len;
38 UINT8 uid_offset;
39 UINT8 rsp_len;
44 UINT8 tag_model;
45 UINT8 tms;
46 UINT8 b_dynamic;
47 UINT8 lock_tlv[3];
48 UINT8 mem_tlv[3];
53 UINT8 manufacturer_id;
[all …]
Dnfc_int.h84 typedef UINT8 tNFC_STATE;
121 UINT8 id; /* NFCEE ID or RF Discovery ID or NFC_TEST_ID */
122 UINT8 act_protocol; /* the active protocol on this logical connection */
123 UINT8 conn_id; /* the connection id assigned by NFCC for this conn */
124 UINT8 buff_size; /* the max buffer size for this connection. . */
125 UINT8 num_buff; /* num of buffers left to send on this connection */
126 UINT8 init_credits; /* initial num of buffer credits */
140 UINT8 hal_evt; /* HAL event code */
141 UINT8 status; /* tHAL_NFC_STATUS */
161UINT8 conn_id[NFC_MAX_CONN_ID+1]; /* index: conn_id; conn_id[]: index(1 based) to co…
[all …]
/external/libnfc-nci/src/hal/include/
Dnfc_types.h54 …32_TO_STREAM(p, u32) {*(p)++ = (UINT8)(u32); *(p)++ = (UINT8)((u32) >> 8); *(p)++ = (UINT8)((u32) …
55 #define UINT24_TO_STREAM(p, u24) {*(p)++ = (UINT8)(u24); *(p)++ = (UINT8)((u24) >> 8); *(p)++ = (UI…
56 #define UINT16_TO_STREAM(p, u16) {*(p)++ = (UINT8)(u16); *(p)++ = (UINT8)((u16) >> 8);}
57 #define UINT8_TO_STREAM(p, u8) {*(p)++ = (UINT8)(u8);}
59 …M(p, a) {register int ijk; for (ijk = 0; ijk < 32; ijk++) *(p)++ = (UINT8) a[31 - ijk];}
60 …M(p, a) {register int ijk; for (ijk = 0; ijk < 16; ijk++) *(p)++ = (UINT8) a[15 - ijk];}
61 …M(p, a) {register int ijk; for (ijk = 0; ijk < 8; ijk++) *(p)++ = (UINT8) a[7 - ijk];}
62 …) {register int ijk; for (ijk = 0; ijk < BD_ADDR_LEN; ijk++) *(p)++ = (UINT8) a[BD_ADDR_LEN - 1…
63 … {register int ijk; for (ijk = 0; ijk < LAP_LEN; ijk++) *(p)++ = (UINT8) a[LAP_LEN - 1 - i…
64 … a) {register int ijk; for (ijk = 0; ijk < DEV_CLASS_LEN;ijk++) *(p)++ = (UINT8) a[DEV_CLASS_LEN -…
[all …]
/external/libnfc-nci/src/nfa/include/
Dnfa_hci_api.h66 typedef UINT8 tNFA_HCI_EVT;
78 typedef UINT8 tNFA_HCI_PIPE_STATE;
82 UINT8 pipe_id; /* Pipe ID */
84 UINT8 local_gate; /* local gate id */
85UINT8 dest_host; /* Peer host to which this pipe is connected */
86UINT8 dest_gate; /* Peer gate to which this pipe is connected */
94UINT8 num_pipes; /* Number of dynamic pipes exist for the appli…
95UINT8 num_gates; /* Number of generic gates exist for the appli…
108UINT8 num_pipes; /* Number of dynamic pipes exist for the appli…
110UINT8 num_gates; /* Number of generic gates exist for the appli…
[all …]
Dnfa_api.h83 typedef UINT8 tNFA_STATUS;
104 typedef UINT8 tNFA_PMID;
116 typedef UINT8 tNFA_TECHNOLOGY_MASK;
130 typedef UINT8 tNFA_NFC_PROTOCOL;
138 typedef UINT8 tNFA_PROTOCOL_MASK;
166 typedef UINT8 tNFA_RW_NDEF_FLAG;
172 UINT8 num_param_id; /* Number of rejected Param ID */
181 UINT8 param_tlvs[1]; /* TLV (Parameter ID-Len-Value byte stream) */
187 typedef UINT8 tNFA_DM_PWR_MODE;
203 UINT8 rf_field_status;/* NFA_DM_RF_FIELD_ON if operating field generated by remote */
[all …]
Dnfa_rw_api.h42 typedef UINT8 tNFA_RW_PRES_CHK_OPTION;
139 NFC_API extern tNFA_STATUS NFA_RwWriteNDef (UINT8 *p_data, UINT32 len);
215 NFC_API extern tNFA_STATUS NFA_RwLocateTlv (UINT8 tlv_type);
291 NFC_API extern tNFA_STATUS NFA_RwT1tRead (UINT8 block_number, UINT8 index);
310 NFC_API extern tNFA_STATUS NFA_RwT1tWrite (UINT8 block_number,
311 UINT8 index,
312 UINT8 data,
332 NFC_API extern tNFA_STATUS NFA_RwT1tReadSeg (UINT8 segment_number);
351 NFC_API extern tNFA_STATUS NFA_RwT1tRead8 (UINT8 block_number);
370 NFC_API extern tNFA_STATUS NFA_RwT1tWrite8 (UINT8 block_number,
[all …]
/external/libnfc-nci/src/include/
Dbt_types.h211 #define HCI_GET_CMD_HDR_OPCODE(p) (UINT16)((*((UINT8 *)((p) + 1) + p->offset) + \
212 (*((UINT8 *)((p) + 1) + p->offset + 1) << 8)))
213 #define HCI_GET_CMD_HDR_PARAM_LEN(p) (UINT8) (*((UINT8 *)((p) + 1) + p->offset + 2))
215 #define HCI_GET_EVT_HDR_OPCODE(p) (UINT8)(*((UINT8 *)((p) + 1) + p->offset))
216 #define HCI_GET_EVT_HDR_PARAM_LEN(p) (UINT8) (*((UINT8 *)((p) + 1) + p->offset + 1))
222 …32_TO_STREAM(p, u32) {*(p)++ = (UINT8)(u32); *(p)++ = (UINT8)((u32) >> 8); *(p)++ = (UINT8)((u32) …
223 #define UINT24_TO_STREAM(p, u24) {*(p)++ = (UINT8)(u24); *(p)++ = (UINT8)((u24) >> 8); *(p)++ = (UI…
224 #define UINT16_TO_STREAM(p, u16) {*(p)++ = (UINT8)(u16); *(p)++ = (UINT8)((u16) >> 8);}
225 #define UINT8_TO_STREAM(p, u8) {*(p)++ = (UINT8)(u8);}
227 …M(p, a) {register int ijk; for (ijk = 0; ijk < 32; ijk++) *(p)++ = (UINT8) a[31 - ijk];}
[all …]
/external/libnfc-nci/src/hal/int/
Dnfc_brcm_defs.h313UINT8 pipe_id; /* if MSB is set then valid, 7…
314UINT8 mode; /* Type A card emulation enabl…
315 UINT8 sak;
316 UINT8 uid_reg_len;
317 UINT8 uid_reg[NFC_HAL_HCI_CE_RF_A_UID_REG_LEN];
318 UINT8 atqa[NFC_HAL_HCI_CE_RF_A_ATQA_RSP_CODE_LEN]; /* ATQA response code */
319 UINT8 app_data_len;
320UINT8 app_data[NFC_HAL_HCI_CE_RF_A_MAX_HIST_DATA_LEN]; /* 15 bytes optional storage f…
321UINT8 fwi_sfgi; /* FRAME WAITING TIME, START-U…
322 UINT8 cid_support;
[all …]
Dnfc_hal_int.h74 typedef UINT8 tNFC_HAL_WAIT_RSP;
111 UINT8 userial_baud;
112 UINT8 userial_fc;
165 typedef UINT8 tNFC_HAL_NCI_RAS;
173 typedef UINT8 tNFC_HAL_POWER_MODE;
184 typedef UINT8 tNFC_HAL_LP_EVT;
223 typedef UINT8 tNFC_HAL_INIT_STATE;
236 typedef UINT8 tNFC_HAL_DM_CONFIG;
243 UINT8 *p_param_buf;
254 UINT8 block;
[all …]
/external/libnfc-nci/src/nfc/ndef/
Dndef_cho_utils.c35 static UINT8 *ndef_get_bt_oob_record (UINT8 *p_msg, UINT32 max_size, UINT32 *p_cur_size,
44 static UINT8 hr_rec_type[HR_REC_TYPE_LEN] = { 0x48, 0x72 }; /* "Hr" */
47 static UINT8 hs_rec_type[HS_REC_TYPE_LEN] = { 0x48, 0x73 }; /* "Hs" */
50 static UINT8 hc_rec_type[HC_REC_TYPE_LEN] = { 0x48, 0x63 }; /* "Hc" */
53 static UINT8 cr_rec_type[CR_REC_TYPE_LEN] = { 0x63, 0x72 }; /* "cr" */
56 static UINT8 ac_rec_type[AC_REC_TYPE_LEN] = { 0x61, 0x63 }; /* "ac" */
59 static UINT8 err_rec_type[ERR_REC_TYPE_LEN] = { 0x65, 0x72, 0x72 }; /* "err" */
62 static UINT8 *p_bt_oob_rec_type = (UINT8 *)"application/vnd.bluetooth.ep.oob";
65 static UINT8 *p_wifi_wsc_rec_type = (UINT8 *)"application/vnd.wfa.wsc";
76 tNDEF_STATUS NDEF_MsgCreateWktHr (UINT8 *p_msg, UINT32 max_size, UINT32 *p_cur_size, in NDEF_MsgCreateWktHr()
[all …]
Dndef_utils.c43 static void shiftdown (UINT8 *p_mem, UINT32 len, UINT32 shift_amount) in shiftdown()
45 register UINT8 *ps = p_mem + len - 1; in shiftdown()
46 register UINT8 *pd = ps + shift_amount; in shiftdown()
60 static void shiftup (UINT8 *p_dest, UINT8 *p_src, UINT32 len) in shiftup()
62 register UINT8 *ps = p_src; in shiftup()
63 register UINT8 *pd = p_dest; in shiftup()
79 tNDEF_STATUS NDEF_MsgValidate (UINT8 *p_msg, UINT32 msg_len, BOOLEAN b_allow_chunks) in NDEF_MsgValidate()
81 UINT8 *p_rec = p_msg; in NDEF_MsgValidate()
82 UINT8 *p_end = p_msg + msg_len; in NDEF_MsgValidate()
83 UINT8 rec_hdr=0, type_len, id_len; in NDEF_MsgValidate()
[all …]
/external/libnfc-nci/src/nfc/nci/
Dnci_hmsgs.c44 UINT8 nci_snd_core_reset (UINT8 reset_type) in nci_snd_core_reset()
47 UINT8 *pp; in nci_snd_core_reset()
56 pp = (UINT8 *) (p + 1) + p->offset; in nci_snd_core_reset()
76 UINT8 nci_snd_core_init (void) in nci_snd_core_init()
79 UINT8 *pp; in nci_snd_core_init()
88 pp = (UINT8 *) (p + 1) + p->offset; in nci_snd_core_init()
107 UINT8 nci_snd_core_get_config (UINT8 *param_ids, UINT8 num_ids) in nci_snd_core_get_config()
110 UINT8 *pp; in nci_snd_core_get_config()
119 pp = (UINT8 *) (p + 1) + p->offset; in nci_snd_core_get_config()
123 UINT8_TO_STREAM (pp, (UINT8) (num_ids + 1)); in nci_snd_core_get_config()
[all …]
/external/libnfc-nci/halimpl/bcm2079x/gki/common/
Dgki_common.h66 UINT8 q_id; /* id of the queue */
67 UINT8 task_id; /* task which allocated the buffer*/
68 UINT8 status; /* FREE, UNLINKED or QUEUED */
69 UINT8 Type;
111 UINT8 taskid;
112 UINT8 msg[GKI_MAX_EXCEPTION_MSGLEN];
128 UINT8 bufpool0[(ALIGN_POOL(GKI_BUF0_SIZE) + BUFFER_PADDING_SIZE) * GKI_BUF0_MAX];
132 UINT8 bufpool1[(ALIGN_POOL(GKI_BUF1_SIZE) + BUFFER_PADDING_SIZE) * GKI_BUF1_MAX];
136 UINT8 bufpool2[(ALIGN_POOL(GKI_BUF2_SIZE) + BUFFER_PADDING_SIZE) * GKI_BUF2_MAX];
140 UINT8 bufpool3[(ALIGN_POOL(GKI_BUF3_SIZE) + BUFFER_PADDING_SIZE) * GKI_BUF3_MAX];
[all …]
/external/libnfc-nci/src/gki/common/
Dgki_common.h66 UINT8 q_id; /* id of the queue */
67 UINT8 task_id; /* task which allocated the buffer*/
68 UINT8 status; /* FREE, UNLINKED or QUEUED */
69 UINT8 Type;
111 UINT8 taskid;
112 UINT8 msg[GKI_MAX_EXCEPTION_MSGLEN];
128 UINT8 bufpool0[(ALIGN_POOL(GKI_BUF0_SIZE) + BUFFER_PADDING_SIZE) * GKI_BUF0_MAX];
132 UINT8 bufpool1[(ALIGN_POOL(GKI_BUF1_SIZE) + BUFFER_PADDING_SIZE) * GKI_BUF1_MAX];
136 UINT8 bufpool2[(ALIGN_POOL(GKI_BUF2_SIZE) + BUFFER_PADDING_SIZE) * GKI_BUF2_MAX];
140 UINT8 bufpool3[(ALIGN_POOL(GKI_BUF3_SIZE) + BUFFER_PADDING_SIZE) * GKI_BUF3_MAX];
[all …]

123456789