Home | History | Annotate | Download | only in gatt

Lines Matching full:uint8

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))
35 #define GATT_GET_GATT_IF(conn_id) ((tGATT_IF)((UINT8) (conn_id)))
37 #define GATT_GET_SR_REG_PTR(index) (&gatt_cb.sr_reg[(UINT8) (index)]);
48 typedef UINT8 tGATT_SEC_ACTION;
95 typedef UINT8 tGATT_SEC_FLAG;
109 UINT8 value[GATT_MAX_MTU_SIZE]; /* pointer to the attribute value to be found */
132 UINT8 cmd_code;
133 UINT8 reason;
171 typedef UINT8 tGATT_ATTR_UUID_TYPE;
210 UINT8 uuid[LEN_UUID_128];
219 UINT8 *p_free_mem; /* Pointer to free memory */
257 UINT8 listening; /* if adv for all has been enabled */
268 UINT8 op_code;
274 typedef UINT8 tGATT_APP_MASK;
289 UINT8 op_code;
290 UINT8 status;
291 UINT8 cback_cnt[GATT_MAX_APPS];
300 typedef UINT8 tGATT_CH_STATE;
335 UINT8 i_sreg;
361 UINT8 ch_flags;
373 UINT8 prep_cnt[GATT_MAX_APPS];
374 UINT8 ind_count;
378 UINT8 pending_cl_req;
379 UINT8 next_slot_inq; /* index of next available slot in queue */
382 UINT8 tcb_idx;
397 UINT8 sccb_idx;
398 UINT8 *p_attr_buf; /* attribute buffer for read multiple, prepare write */
407 UINT8 operation; /* one logic channel can have one operation active */
408 UINT8 op_subtype; /* operation subtype */
409 UINT8 status; /* operation status */
414 UINT8 retry_count;
459 UINT8 ccc_stage;
460 UINT8 ccc_result;
484 UINT8 trace_level;
489 UINT8 req_op_code;
490 UINT8 err_status;
522 extern void gatt_set_err_rsp(BOOLEAN enable, UINT8 req_op_code, UINT8 err_status);
554 extern tGATT_STATUS attp_send_cl_msg (tGATT_TCB *p_tcb, UINT16 clcb_idx, UINT8 op_code, tGATT_CL_MSG *p_msg);
555 extern BT_HDR *attp_build_sr_msg(tGATT_TCB *p_tcb, UINT8 op_code, tGATT_SR_MSG *p_msg);
560 extern UINT8 * gatt_dbg_op_name(UINT8 op_code);
562 extern BOOLEAN gatt_parse_uuid_from_cmd(tBT_UUID *p_uuid, UINT16 len, UINT8 **p_data);
563 extern UINT8 gatt_build_uuid_to_stream(UINT8 **p_dst, tBT_UUID uuid);
565 extern void gatt_convert_uuid32_to_uuid128(UINT8 uuid_128[LEN_UUID_128], UINT32 uuid_32);
566 extern void gatt_sr_get_sec_info(BD_ADDR rem_bda, tBT_TRANSPORT transport, UINT8 *p_sec_flag, UINT8 *p_key_size);
573 extern tGATT_STATUS gatt_send_error_rsp(tGATT_TCB *p_tcb, UINT8 err_code, UINT8 op_code, UINT16 handle, BOOLEAN deq);
582 extern BOOLEAN gatt_find_the_connected_bda(UINT8 start_idx, BD_ADDR bda, UINT8 *p_found_idx, tBT_TRANSPORT *p_transport);
608 extern UINT8 gatt_get_num_apps_for_bg_dev(BD_ADDR bd_addr);
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);
617 extern UINT8 gatt_sr_alloc_rcb(tGATT_HDL_LIST_ELEM *p_list);
618 extern tGATT_STATUS gatt_sr_process_app_rsp (tGATT_TCB *p_tcb, tGATT_IF gatt_if, UINT32 trans_id, UINT8 op_code, tGATT_STATUS status, tGATTS_RSP *p_msg);
619 extern void gatt_server_handle_client_req (tGATT_TCB *p_tcb, UINT8 op_code,
620 UINT16 len, UINT8 *p_data);
622 UINT8 op_code, tGATTS_DATA *p_req_data);
623 extern UINT32 gatt_sr_enqueue_cmd (tGATT_TCB *p_tcb, UINT8 op_code, UINT16 handle);
641 extern BOOLEAN gatt_find_app_hold_link(tGATT_TCB *p_tcb, UINT8 start_idx, UINT8 *p_found_idx, tGATT_IF *p_gatt_if);
642 extern UINT8 gatt_num_apps_hold_link(tGATT_TCB *p_tcb);
643 extern UINT8 gatt_num_clcb_by_bd_addr(BD_ADDR bda);
646 extern tGATT_TCB * gatt_get_tcb_by_idx(UINT8 tcb_idx);
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);
659 extern void gatt_act_write(tGATT_CLCB *p_clcb, UINT8 sec_act);
660 extern UINT8 gatt_act_send_browse(tGATT_TCB *p_tcb, UINT16 index, UINT8 op, UINT16 s_handle, UINT16 e_handle,
662 extern tGATT_CLCB *gatt_cmd_dequeue(tGATT_TCB *p_tcb, UINT8 *p_opcode);
663 extern BOOLEAN gatt_cmd_enq(tGATT_TCB *p_tcb, UINT16 clcb_idx, BOOLEAN to_send, UINT8 op_code, BT_HDR *p_buf);
664 extern void gatt_client_handle_server_rsp (tGATT_TCB *p_tcb, UINT8 op_code,
665 UINT16 len, UINT8 *p_data);
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);