Telematics SDK - API Reference
v1.54.0
|
Data Structures | |
struct | v2x_config_event_info_t |
Typedefs | |
typedef void(* | cv2x_config_event_listener) (v2x_config_event_info_t info) |
Enumerations | |
enum | v2x_config_soure_t { V2X_CONFIG_SOURCE_UNKNOWN = 0u, V2X_CONFIG_SOURCE_PRECONFIG = 1u, V2X_CONFIG_SOURCE_SIM_CARD = 2u, V2X_CONFIG_SOURCE_OMA_DM = 4u } |
enum | v2x_config_event_t { V2X_CONFIG_EVENT_CHANGED = 0u, V2X_CONFIG_EVENT_EXPIRED = 1u } |
Functions | |
v2x_status_enum_type | v2x_register_for_config_change_ind (cv2x_config_event_listener callback) |
v2x_status_enum_type | v2x_update_configuration (const char *config_file_path) |
v2x_status_enum_type | v2x_retrieve_configuration (const char *config_file_path) |
This section contains C Config APIs related to Cellular-V2X operation. These APIs are provided as an abstraction of the CV2X configuration relevant interfaces.
Abstraction of the CV2X configuration relevant interfaces.
struct v2x_config_event_info_t |
Information about any update to a V2X config file.
Data Fields | ||
---|---|---|
v2x_config_soure_t | source |
The type of the V2X config file. |
v2x_config_event_t | event |
Config file event. |
typedef void(* cv2x_config_event_listener) (v2x_config_event_info_t info) |
Callback made when the v2x config file changes.
[in] | config | V2X config file information. |
enum v2x_config_soure_t |
V2X configuration source types listed in ascending order of priority. The system always uses the V2X configuration with the highest priority if multiple V2X configuration sources exist.
enum v2x_config_event_t |
v2x_status_enum_type v2x_register_for_config_change_ind | ( | cv2x_config_event_listener | callback | ) |
Register listener for any updates to CV2X configuration.
[in] | callback | Callback function of cv2x_config_event_listener structure that is used during CV2X config events (such as CV2X configuration expriy or changed). |
v2x_status_enum_type v2x_update_configuration | ( | const char * | config_file_path | ) |
Updates the OMA-DM V2X radio configuration file.
[in] | config_file_path | Pointer to the path of the configuration file. |
v2x_status_enum_type v2x_retrieve_configuration | ( | const char * | config_file_path | ) |
Retrieve the V2X radio configuration file.
[in] | config_file_path | Pointer to the path of the configuration file. |