Home | History | Annotate | Download | only in gatt

Lines Matching refs:UINT16

33 #define GATT_CREATE_CONN_ID(tcb_idx, gatt_if)  ((UINT16) ((((UINT8)(tcb_idx) ) << 8) | ((UINT8) (gatt_if))))
34 #define GATT_GET_TCB_IDX(conn_id) ((UINT8) (((UINT16) (conn_id)) >> 8))
106 UINT16 s_handle; /* starting handle */
107 UINT16 e_handle; /* ending handle */
108 UINT16 value_len; /* length of the attribute value */
123 UINT16 handle; /* read, handle value confirmation */
124 UINT16 mtu;
131 UINT16 handle;
144 UINT16 handle; /* WRITE, WRITE_BLOB */
145 UINT16 mtu; /* exchange MTU request */
153 UINT16 char_val_handle;
182 UINT16 handle;
183 UINT16 uuid;
195 UINT16 handle;
209 UINT16 handle;
222 UINT16 end_handle; /* Last handle number */
223 UINT16 next_handle; /* Next usable handle value */
235 UINT16 service_instance; /* service instance number */
236 UINT16 type; /* service type UUID, primary or secondary */
237 UINT16 s_hdl; /* service starting handle */
238 UINT16 e_hdl; /* service ending handle */
267 UINT16 clcb_idx;
276 typedef UINT16 tGATT_APP_MASK;
288 UINT16 handle;
308 UINT16 gatt_start_hdl;
309 UINT16 gap_start_hdl;
310 UINT16 app_start_hdl;
326 UINT16 count;
334 UINT16 s_hdl;
346 UINT16 count;
357 UINT16 att_lcid; /* L2CAP channel ID for ATT */
358 UINT16 payload_size;
368 UINT16 indicate_handle;
389 UINT16 next_disc_start_hdl; /* starting handle for the next inc srvv discovery */
400 UINT16 conn_id; /* connection handle */
401 UINT16 clcb_idx;
402 UINT16 s_handle; /* starting handle of the active request */
403 UINT16 e_handle; /* ending handle of the active request */
404 UINT16 counter; /* used as offset, attribute length, num of prepare write */
405 UINT16 start_offset;
425 UINT16 clcb_idx;
431 UINT16 handle;
432 UINT16 uuid;
452 UINT16 conn_id;
461 UINT16 s_handle;
462 UINT16 e_handle;
471 UINT16 next_handle; /* next available handle */
485 UINT16 def_mtu_size;
491 UINT16 handle;
495 UINT16 handle_of_h_r; /* Handle of the handles reused characteristic value */
550 extern UINT16 gatt_profile_find_conn_id_by_bd_addr(BD_ADDR bda);
554 extern tGATT_STATUS attp_send_cl_msg (tGATT_TCB *p_tcb, UINT16 clcb_idx, UINT8 op_code, tGATT_CL_MSG *p_msg);
561 extern UINT32 gatt_add_sdp_record (tBT_UUID *p_uuid, UINT16 start_hdl, UINT16 end_hdl);
562 extern BOOLEAN gatt_parse_uuid_from_cmd(tBT_UUID *p_uuid, UINT16 len, UINT8 **p_data);
567 extern void gatt_start_rsp_timer(UINT16 clcb_idx);
573 extern tGATT_STATUS gatt_send_error_rsp(tGATT_TCB *p_tcb, UINT8 err_code, UINT8 op_code, UINT16 handle, BOOLEAN deq);
577 extern tGATTS_PENDING_NEW_SRV_START *gatt_sr_is_new_srv_chg(tBT_UUID *p_app_uuid128, tBT_UUID *p_svc_uuid, UINT16 svc_inst);
592 extern tGATT_HDL_LIST_ELEM *gatt_find_hdl_buffer_by_app_id (tBT_UUID *p_app_uuid128, tBT_UUID *p_svc_uuid, UINT16 svc_inst);
593 extern tGATT_HDL_LIST_ELEM *gatt_find_hdl_buffer_by_handle(UINT16 handle);
615 extern UINT8 gatt_sr_find_i_rcb_by_handle(UINT16 handle);
616 extern UINT8 gatt_sr_find_i_rcb_by_app_id(tBT_UUID *p_app_uuid128, tBT_UUID *p_svc_uuid, UINT16 svc_inst);
620 UINT16 len, UINT8 *p_data);
621 extern void gatt_sr_send_req_callback(UINT16 conn_id, UINT32 trans_id,
623 extern UINT32 gatt_sr_enqueue_cmd (tGATT_TCB *p_tcb, UINT8 op_code, UINT16 handle);
629 extern BOOLEAN gatt_is_clcb_allocated (UINT16 conn_id);
630 extern tGATT_CLCB *gatt_clcb_alloc (UINT16 conn_id);
644 extern tGATT_TCB * gatt_find_tcb_by_cid(UINT16 lcid);
652 extern UINT8 gatt_send_write_msg(tGATT_TCB *p_tcb, UINT16 clcb_idx, UINT8 op_code, UINT16 handle,
653 UINT16 len, UINT16 offset, UINT8 *p_data);
654 extern void gatt_cleanup_upon_disc(BD_ADDR bda, UINT16 reason, tBT_TRANSPORT transport);
658 extern void gatt_act_read(tGATT_CLCB *p_clcb, UINT16 offset);
660 extern UINT8 gatt_act_send_browse(tGATT_TCB *p_tcb, UINT16 index, UINT8 op, UINT16 s_handle, UINT16 e_handle,
663 extern BOOLEAN gatt_cmd_enq(tGATT_TCB *p_tcb, UINT16 clcb_idx, BOOLEAN to_send, UINT8 op_code, BT_HDR *p_buf);
665 UINT16 len, UINT8 *p_data);
677 extern BOOLEAN gatts_init_service_db (tGATT_SVC_DB *p_db, tBT_UUID *p_service, BOOLEAN is_pri, UINT16 s_hdl, UINT16 num_handle);
678 extern UINT16 gatts_add_included_service (tGATT_SVC_DB *p_db, UINT16 s_handle, UINT16 e_handle, tBT_UUID service);
679 extern UINT16 gatts_add_characteristic (tGATT_SVC_DB *p_db, tGATT_PERM perm, tGATT_CHAR_PROP property, tBT_UUID *p_char_uuid);
680 extern UINT16 gatts_add_char_descr (tGATT_SVC_DB *p_db, tGATT_PERM perm, tBT_UUID *p_dscp_uuid);
681 extern tGATT_STATUS gatts_db_read_attr_value_by_type (tGATT_TCB *p_tcb, tGATT_SVC_DB *p_db, UINT8 op_code, BT_HDR *p_rsp, UINT16 s_handle,
682 UINT16 e_handle, tBT_UUID type, UINT16 *p_len, tGATT_SEC_FLAG sec_flag, UINT8 key_size,UINT32 trans_id, UINT16 *p_cur_handle);
683 extern tGATT_STATUS gatts_read_attr_value_by_handle(tGATT_TCB *p_tcb,tGATT_SVC_DB *p_db, UINT8 op_code, UINT16 handle, UINT16 offset,
684 UINT8 *p_value, UINT16 *p_len, UINT16 mtu,tGATT_SEC_FLAG sec_flag,UINT8 key_size,UINT32 trans_id);
685 extern tGATT_STATUS gatts_write_attr_perm_check (tGATT_SVC_DB *p_db, UINT8 op_code,UINT16 handle, UINT16 offset, UINT8 *p_data,
686 UINT16 len, tGATT_SEC_FLAG sec_flag, UINT8 key_size);
687 extern tGATT_STATUS gatts_read_attr_perm_check(tGATT_SVC_DB *p_db, BOOLEAN is_long, UINT16 handle, tGATT_SEC_FLAG sec_flag,UINT8 key_size);
688 extern void gatts_update_srv_list_elem(UINT8 i_sreg, UINT16 handle, BOOLEAN is_primary);