Lines Matching +full:response +full:- +full:timeout
4 * SPDX-License-Identifier: Apache-2.0
43 #define UBX_FRM_CHECKSUM_STOP_IDX(frame_len) (frame_len - 2)
60 struct ubx_frame *response; member
64 k_timeout_t timeout; member
126 * @brief Writes the ubx frame in script.request and reads back its response (if available)
128 * 1. The device sends back a UBX-ACK frame to denote 'acknowledge' and 'not-acknowledge'.
129 * Note: the message id of UBX-ACK frame determines whether the device acknowledged.
130 * Ex: when we send a UBX-CFG frame, the device responds with a UBX-ACK frame.
134 * This response (if received) is written to script.response.
136 * This function writes the ubx frame in script.request then reads back it's response.
138 * script.match to check if a match occurred. This could be used to match UBX-ACK frame sent
139 * from the device by populating script.match with UBX-ACK that the script expects to receive.
143 * 2. timeout (denoted by script.timeout) occurs.
148 * @returns 0 if device acknowledged via UBX-ACK and no "get" response was received
149 * @returns positive integer denoting the length of "get" response that was received