• Home
  • Raw
  • Download

Lines Matching refs:uint16_t

36   ((uint16_t)((((uint8_t)(tcb_idx)) << 8) | ((uint8_t)(gatt_if))))
37 #define GATT_GET_TCB_IDX(conn_id) ((uint8_t)(((uint16_t)(conn_id)) >> 8))
105 uint16_t s_handle; /* starting handle */
106 uint16_t e_handle; /* ending handle */
107 uint16_t value_len; /* length of the attribute value */
122 uint16_t handle; /* read, handle value confirmation */
123 uint16_t mtu;
129 uint16_t handle;
141 uint16_t handle; /* WRITE, WRITE_BLOB */
142 uint16_t mtu; /* exchange MTU request */
149 uint16_t char_val_handle;
172 uint16_t handle;
181 uint16_t end_handle; /* Last handle number */
182 uint16_t next_handle; /* Next usable handle value */
211 typedef uint16_t tGATT_APP_MASK;
222 uint16_t handle;
241 uint16_t gatt_start_hdl;
242 uint16_t gap_start_hdl;
243 uint16_t app_start_hdl;
259 uint16_t type; /* service type UUID, primary or secondary */
260 uint16_t s_hdl; /* service starting handle */
261 uint16_t e_hdl; /* service ending handle */
273 uint16_t att_lcid; /* L2CAP channel ID for ATT */
274 uint16_t payload_size;
284 uint16_t indicate_handle;
301 uint16_t
312 uint16_t conn_id; /* connection handle */
313 uint16_t s_handle; /* starting handle of the active request */
314 uint16_t e_handle; /* ending handle of the active request */
315 uint16_t counter; /* used as offset, attribute length, num of prepare write */
316 uint16_t start_offset;
329 uint16_t handle;
330 uint16_t uuid;
341 uint16_t conn_id;
350 uint16_t s_handle;
351 uint16_t e_handle;
358 uint16_t next_handle; /* next available handle */
359 uint16_t last_service_handle; /* handle of last service */
368 uint16_t def_mtu_size;
374 uint16_t handle;
378 uint16_t
417 extern uint16_t gatt_profile_find_conn_id_by_bd_addr(const RawAddress& bda);
430 uint16_t start_hdl, uint16_t end_hdl);
431 extern bool gatt_parse_uuid_from_cmd(bluetooth::Uuid* p_uuid, uint16_t len,
446 uint8_t op_code, uint16_t handle,
465 uint16_t svc_inst);
466 extern tGATT_HDL_LIST_ELEM* gatt_find_hdl_buffer_by_handle(uint16_t handle);
475 uint16_t handle);
481 uint16_t len, uint8_t* p_data);
482 extern void gatt_sr_send_req_callback(uint16_t conn_id, uint32_t trans_id,
485 uint16_t handle);
487 extern void gatt_notify_phy_updated(uint8_t status, uint16_t handle,
492 extern bool gatt_is_clcb_allocated(uint16_t conn_id);
493 extern tGATT_CLCB* gatt_clcb_alloc(uint16_t conn_id);
507 extern tGATT_TCB* gatt_find_tcb_by_cid(uint16_t lcid);
519 uint8_t op_code, uint16_t handle,
520 uint16_t len, uint16_t offset,
522 extern void gatt_cleanup_upon_disc(const RawAddress& bda, uint16_t reason,
528 extern void gatt_act_read(tGATT_CLCB* p_clcb, uint16_t offset);
534 uint16_t len, uint8_t* p_data);
548 uint16_t s_hdl, uint16_t num_handle);
549 extern uint16_t gatts_add_included_service(tGATT_SVC_DB& db, uint16_t s_handle,
550 uint16_t e_handle,
552 extern uint16_t gatts_add_characteristic(tGATT_SVC_DB& db, tGATT_PERM perm,
555 extern uint16_t gatts_add_char_descr(tGATT_SVC_DB& db, tGATT_PERM perm,
559 uint16_t s_handle, uint16_t e_handle, const bluetooth::Uuid& type,
560 uint16_t* p_len, tGATT_SEC_FLAG sec_flag, uint8_t key_size,
561 uint32_t trans_id, uint16_t* p_cur_handle);
563 tGATT_TCB& tcb, tGATT_SVC_DB* p_db, uint8_t op_code, uint16_t handle,
564 uint16_t offset, uint8_t* p_value, uint16_t* p_len, uint16_t mtu,
567 tGATT_SVC_DB* p_db, uint8_t op_code, uint16_t handle, uint16_t offset,
568 uint8_t* p_data, uint16_t len, tGATT_SEC_FLAG sec_flag, uint8_t key_size);
570 uint16_t handle,