Zephyr Project API 4.1.99
A Scalable Open Source RTOS
|
#include <zephyr/kernel.h>
#include <zephyr/types.h>
#include <zephyr/sys/atomic.h>
#include <zephyr/modem/pipe.h>
#include <zephyr/modem/ubx/protocol.h>
Go to the source code of this file.
Data Structures | |
struct | modem_ubx_match |
struct | modem_ubx_script |
struct | modem_ubx |
struct | modem_ubx_config |
Macros | |
#define | MODEM_UBX_MATCH_ARRAY_DEFINE(_name, ...) struct modem_ubx_match _name[] = {__VA_ARGS__}; |
#define | MODEM_UBX_MATCH_DEFINE(_class_id, _msg_id, _handler) |
Typedefs | |
typedef void(* | modem_ubx_match_callback) (struct modem_ubx *ubx, const struct ubx_frame *frame, size_t len, void *user_data) |
Functions | |
int | modem_ubx_attach (struct modem_ubx *ubx, struct modem_pipe *pipe) |
Attach pipe to Modem Ubx. | |
void | modem_ubx_release (struct modem_ubx *ubx) |
Release pipe from Modem Ubx instance. | |
int | modem_ubx_init (struct modem_ubx *ubx, const struct modem_ubx_config *config) |
Initialize Modem Ubx instance. | |
int | modem_ubx_run_script (struct modem_ubx *ubx, struct modem_ubx_script *script) |
Writes the ubx frame in script.request and reads back its response (if available) | |
int | modem_ubx_run_script_for_each (struct modem_ubx *ubx, struct modem_ubx_script *script, struct ubx_frame *array, size_t array_size) |