Lines Matching full:handle
35 #define GATT_WRITE_LONG_HDR_SIZE 5 /* 1 opcode + 2 handle + 2 offset */
124 else /* end of handle range */
167 msg.handle = p_clcb->s_handle;
180 msg.read_blob.handle = p_clcb->s_handle;
187 msg.read_blob.handle = p_clcb->s_handle;
198 msg.handle = p_clcb->s_handle;
236 p_clcb->s_handle = p_attr->handle;
241 p_attr->handle,
250 p_clcb->s_handle = p_attr->handle;
255 p_attr->handle,
330 if (p_rsp_value->handle != p_attr->handle ||
376 p_clcb->s_handle = p_attr->handle;
389 p_attr->handle,
408 ** Description This function is called to handle find by type value response.
430 /* returns a series of handle ranges */
433 STREAM_TO_UINT16 (result.handle, p);
443 /* last handle + 1 */
452 ** Description This function is called to handle the read information
488 STREAM_TO_UINT16 (result.handle, p);
504 p_clcb->s_handle = (result.handle == 0) ? 0 :(result.handle + 1);
519 UINT16 handle, UINT8 reason)
524 UNUSED(handle);
552 ** Description This function is called to handle the error response
562 UINT16 handle;
570 STREAM_TO_UINT16(handle, p);
575 gatt_proc_disc_error_rsp(p_tcb, p_clcb, opcode, handle, reason);
583 (handle == p_attr->handle) )
605 ** Description This function is called to handle the read response
626 STREAM_TO_UINT16 (value.handle, p);
636 /* application should verify handle offset
652 ** Description This function is called to handle the handle value indication
653 ** or handle value notification.
677 STREAM_TO_UINT16 (value.handle, p);
681 if (!GATT_HANDLE_IS_VALID(value.handle))
683 /* illegal handle, send ack now */
703 /* should notify all registered client with the handle value notificaion/indication
718 else /* no app to indicate, or invalid handle */
738 ** Description This function is called to handle the read by type response.
751 UINT16 handle = 0;
779 value_len -= handle_len; /* substract the handle pairs bytes */
784 STREAM_TO_UINT16(handle, p);
786 if (!GATT_HANDLE_IS_VALID(handle))
795 result.handle = handle;
804 STREAM_TO_UINT16(handle, p);
806 if (!GATT_HANDLE_IS_VALID(handle))
813 record_value.group_value.e_handle = handle;
843 p_clcb->read_uuid128.next_disc_start_hdl = handle + 1;
861 p_clcb->s_handle = handle;
916 /* result is (handle, 16bits UUID) pairs */
924 p_clcb->s_handle = (handle == 0) ? 0 : (handle + 1);
941 ** Description This function is called to handle the read BLOB response
1031 ** Description This function is called to handle the write response
1156 ** Description This function is called to handle the server response to