ACU6 Device API
ipc_bub_export_generated.h
Go to the documentation of this file.
1 /* IPC code generated by ipc_generator.py version v10.4.0-dirty 2024-08-22 09:58:36.335891 */
2 /* Input files: ipc_core_msgs_spec.c ipc_accelerometer_export_spec.c ipc_analog_inputs_export_spec.c ipc_bt_export_spec.c ipc_bub_export_spec.c ipc_can_export_spec.c ipc_cellular_export_spec.c ipc_connectivity_export_spec.c ipc_diagnostics_export_spec.c ipc_digital_inputs_export_spec.c ipc_digital_outputs_export_spec.c ipc_ethernet_export_spec.c ipc_gyroscope_export_spec.c ipc_hwinfo_export_spec.c ipc_led_export_spec.c ipc_location_export_spec.c ipc_modem_export_spec.c ipc_power_export_spec.c ipc_rtc_export_spec.c ipc_softwareupdate_export_spec.c ipc_wifi_export_spec.c ipc_mqtt_export_spec.c */
3 /* Copyright Actia Nordic AB 2019 */
4 
6 #ifndef A_IPC_IPC_BUB_EXPORT_GENERATED_H
8 #define A_IPC_IPC_BUB_EXPORT_GENERATED_H
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19 
24 typedef enum {
44 typedef struct {
46  uint32_t length;
50 
62 typedef struct {
79 typedef struct {
94 typedef struct {
111 typedef struct {
113  uint8_t _compiler_no_error;
127 typedef struct {
135  bool present;
143  bool requested;
147  bool engaged;
151  uint8_t soh;
155  uint8_t soc;
170 typedef struct {
172  uint8_t _compiler_no_error;
186 typedef struct {
194  int16_t temperature;
209 typedef struct {
211  uint8_t _compiler_no_error;
225 typedef struct {
233  int16_t temperature;
247 A_IPC_RESULT a_ipc_init_bub_request_req(a_ipc_msg *msg, uint32_t user_maxlength);
345 
346 #ifdef __cplusplus
347 }
348 #endif
349 
350 #endif
351 
a_ipc_enum_bub_result * value
The contents of the array.
Definition: ipc_bub_export_generated.h:48
uint32_t length
Length of the array (number of elements)
Definition: ipc_bub_export_generated.h:46
int16_t temperature
Measured temperature represented in C.
Definition: ipc_bub_export_generated.h:233
A_IPC_RESULT a_ipc_init_bub_board_temperature_req(a_ipc_msg *msg)
Initialize the message buffer to contain a_ipc_msg_bub_board_temperature_req.
uint8_t soc
Returns the relative State of Charge in % of backup battery.
Definition: ipc_bub_export_generated.h:155
A_IPC_RESULT a_ipc_init_bub_request_req(a_ipc_msg *msg, uint32_t user_maxlength)
Initialize the message buffer to contain a_ipc_msg_bub_request_req.
a_ipc_dyn_string user
User identifier, max 15 characters long.
Definition: ipc_bub_export_generated.h:98
bool requested
True if backup battery service is requested.
Definition: ipc_bub_export_generated.h:143
a_ipc_dyn_string user
User identifier, max 15 characters long.
Definition: ipc_bub_export_generated.h:66
a_ipc_enum_bub_result result
Result of the operation.
Definition: ipc_bub_export_generated.h:131
A_IPC_RESULT a_ipc_init_bub_battery_temperature_req(a_ipc_msg *msg)
Initialize the message buffer to contain a_ipc_msg_bub_battery_temperature_req.
A_IPC_RESULT a_ipc_init_bub_board_temperature_rsp(a_ipc_msg *msg)
Initialize the message buffer to contain a_ipc_msg_bub_board_temperature_rsp.
int16_t temperature
Measured temperature represented in C.
Definition: ipc_bub_export_generated.h:194
uint8_t soh
Returns the State of Health in % of backup battery.
Definition: ipc_bub_export_generated.h:151
A_IPC_RESULT a_ipc_init_bub_status_rsp(a_ipc_msg *msg)
Initialize the message buffer to contain a_ipc_msg_bub_status_rsp.
bool engaged
True if backup battery is the current power source.
Definition: ipc_bub_export_generated.h:147
a_ipc_enum_bub_result result
Result of the operation.
Definition: ipc_bub_export_generated.h:229
A_IPC_RESULT a_ipc_init_bub_release_req_norsp(a_ipc_msg *msg, uint32_t user_maxlength)
Initialize the message buffer to contain a_ipc_msg_bub_release_req_norsp.
a_ipc_enum_bub_result result
Result of the operation.
Definition: ipc_bub_export_generated.h:83
A_IPC_RESULT a_ipc_init_bub_request_rsp(a_ipc_msg *msg)
Initialize the message buffer to contain a_ipc_msg_bub_request_rsp.
A_IPC_RESULT a_ipc_init_bub_status_req(a_ipc_msg *msg)
Initialize the message buffer to contain a_ipc_msg_bub_status_req.
A_IPC_RESULT a_ipc_init_bub_battery_temperature_rsp(a_ipc_msg *msg)
Initialize the message buffer to contain a_ipc_msg_bub_battery_temperature_rsp.
a_ipc_enum_bub_result
Result codes.
Definition: ipc_bub_export_generated.h:24
bool functional
True if backup battery is functional.
Definition: ipc_bub_export_generated.h:139
a_ipc_enum_bub_result result
Result of the operation.
Definition: ipc_bub_export_generated.h:190
bool present
True if backup battery is present.
Definition: ipc_bub_export_generated.h:135
@ A_IPC_ENUM_BUB_RESULT_ERROR_UNKNOWN
Unknown error.
Definition: ipc_bub_export_generated.h:38
@ A_IPC_ENUM_BUB_RESULT_NOT_AVAILABLE
Not available.
Definition: ipc_bub_export_generated.h:28
@ A_IPC_ENUM_BUB_RESULT_OK
No error.
Definition: ipc_bub_export_generated.h:26
@ A_IPC_ENUM_BUB_RESULT_ERROR_WRONG_STATE
Wrong state.
Definition: ipc_bub_export_generated.h:36
Dynamic-length array of a_ipc_enum_bub_result.
Definition: ipc_bub_export_generated.h:44
Request to read the battery temperature.
Definition: ipc_bub_export_generated.h:170
Sent in response to bub_battery_temperature_req message.
Definition: ipc_bub_export_generated.h:186
Request to read the board temperature.
Definition: ipc_bub_export_generated.h:209
Sent in response to bub_board_temperature_req message.
Definition: ipc_bub_export_generated.h:225
Release a BUB interface.
Definition: ipc_bub_export_generated.h:94
Request a BUB interface.
Definition: ipc_bub_export_generated.h:62
BUB interface request result.
Definition: ipc_bub_export_generated.h:79
Check the state of the BUB interface.
Definition: ipc_bub_export_generated.h:111
BUB status.
Definition: ipc_bub_export_generated.h:127
A_IPC_RESULT
IPC function result codes.
Definition: ipc.h:211
Dynamic-length string.
Definition: ipc_generated.h:1064
AIPC Message.
Definition: ipc_generated.h:1204