Lines Matching full:frame
126 * @brief Writes the ubx frame in script.request and reads back its response (if available)
127 * @details For each ubx frame sent, the device responds in 0, 1 or both of the following ways:
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.
131 * 2. The device sends back the same frame that we sent to it, with it's payload populated.
132 * It's used to get the current configuration corresponding to the frame that we sent.
133 * Ex: frame types such as "get" or "poll" ubx frames respond this way.
136 * This function writes the ubx frame in script.request then reads back it's response.
137 * If script.match is not NULL, then every ubx frame received from the device is compared with
138 * script.match to check if a match occurred. This could be used to match UBX-ACK frame sent
146 * @note The length of ubx frame in the script.request should not exceed UBX_FRM_SZ_MAX
155 * @brief Initialize ubx frame
156 * @param ubx_frame Ubx frame buffer
157 * @param ubx_frame_size Ubx frame buffer size
162 * @returns positive integer denoting the length of the ubx frame created