• 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;
326 uint16_t read_req_current_mtu; /* This is the MTU value that the read was
331 uint16_t handle;
332 uint16_t uuid;
343 uint16_t conn_id;
352 uint16_t s_handle;
353 uint16_t e_handle;
360 uint16_t next_handle; /* next available handle */
361 uint16_t last_service_handle; /* handle of last service */
370 uint16_t def_mtu_size;
376 uint16_t handle;
380 uint16_t
419 extern uint16_t gatt_profile_find_conn_id_by_bd_addr(const RawAddress& bda);
432 uint16_t start_hdl, uint16_t end_hdl);
433 extern bool gatt_parse_uuid_from_cmd(bluetooth::Uuid* p_uuid, uint16_t len,
448 uint8_t op_code, uint16_t handle,
467 uint16_t svc_inst);
468 extern tGATT_HDL_LIST_ELEM* gatt_find_hdl_buffer_by_handle(uint16_t handle);
477 uint16_t handle);
483 uint16_t len, uint8_t* p_data);
484 extern void gatt_sr_send_req_callback(uint16_t conn_id, uint32_t trans_id,
487 uint16_t handle);
489 extern void gatt_notify_phy_updated(uint8_t status, uint16_t handle,
494 extern bool gatt_is_clcb_allocated(uint16_t conn_id);
495 extern tGATT_CLCB* gatt_clcb_alloc(uint16_t conn_id);
509 extern tGATT_TCB* gatt_find_tcb_by_cid(uint16_t lcid);
521 uint8_t op_code, uint16_t handle,
522 uint16_t len, uint16_t offset,
524 extern void gatt_cleanup_upon_disc(const RawAddress& bda, uint16_t reason,
530 extern void gatt_act_read(tGATT_CLCB* p_clcb, uint16_t offset);
536 uint16_t len, uint8_t* p_data);
550 uint16_t s_hdl, uint16_t num_handle);
551 extern uint16_t gatts_add_included_service(tGATT_SVC_DB& db, uint16_t s_handle,
552 uint16_t e_handle,
554 extern uint16_t gatts_add_characteristic(tGATT_SVC_DB& db, tGATT_PERM perm,
557 extern uint16_t gatts_add_char_descr(tGATT_SVC_DB& db, tGATT_PERM perm,
561 uint16_t s_handle, uint16_t e_handle, const bluetooth::Uuid& type,
562 uint16_t* p_len, tGATT_SEC_FLAG sec_flag, uint8_t key_size,
563 uint32_t trans_id, uint16_t* p_cur_handle);
565 tGATT_TCB& tcb, tGATT_SVC_DB* p_db, uint8_t op_code, uint16_t handle,
566 uint16_t offset, uint8_t* p_value, uint16_t* p_len, uint16_t mtu,
569 tGATT_SVC_DB* p_db, uint8_t op_code, uint16_t handle, uint16_t offset,
570 uint8_t* p_data, uint16_t len, tGATT_SEC_FLAG sec_flag, uint8_t key_size);
572 uint16_t handle,