ACU6 Device API
ipc_core_msgs_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.318477 */
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_CORE_MSGS_GENERATED_H
8 #define A_IPC_IPC_CORE_MSGS_GENERATED_H
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 
28 typedef enum {
47 typedef struct {
49  uint32_t length;
53 
57 typedef enum {
58  /* Session opened successfully */
59  A_IPC_ENUM_IPC_OPEN_SESSION_RESULT_OK = 0,
60  /* Session did not open. Unknown error. */
61  A_IPC_ENUM_IPC_OPEN_SESSION_RESULT_ERROR = 1,
62  /* Session did not open. Peer has no session slots available. */
63  A_IPC_ENUM_IPC_OPEN_SESSION_RESULT_ERROR_NO_SLOTS_AVAILABLE = 2,
69 typedef struct {
71  uint32_t length;
75 
79 typedef enum {
80  /* The other peer requested it to be closed */
81  A_IPC_ENUM_IPC_SESSION_CLOSED_REASON_REQUESTED = 0,
82  /* Timeout when communicating */
83  A_IPC_ENUM_IPC_SESSION_CLOSED_REASON_TIMEOUT = 1,
89 typedef struct {
91  uint32_t length;
95 
99 typedef enum {
109 typedef struct {
111  uint32_t length;
115 
119 typedef enum {
129 typedef struct {
131  uint32_t length;
135 
143 typedef struct {
147  int32_t msg_type;
162 typedef struct {
164  uint8_t _compiler_no_error;
176 typedef struct {
189 typedef struct {
191  uint8_t _compiler_no_error;
205 typedef struct {
207  uint8_t _compiler_no_error;
219 typedef struct {
232 typedef struct {
322 
323 #ifdef __cplusplus
324 }
325 #endif
326 
327 #endif
328 
a_ipc_enum_ipc_open_session_result * value
The contents of the array.
Definition: ipc_core_msgs_generated.h:73
uint32_t length
Length of the array (number of elements)
Definition: ipc_core_msgs_generated.h:131
uint32_t length
Length of the array (number of elements)
Definition: ipc_core_msgs_generated.h:71
a_ipc_enum_ipc_session_closed_reason * value
The contents of the array.
Definition: ipc_core_msgs_generated.h:93
uint32_t length
Length of the array (number of elements)
Definition: ipc_core_msgs_generated.h:111
a_ipc_enum_ipc_subscribe_result * value
The contents of the array.
Definition: ipc_core_msgs_generated.h:113
a_ipc_enum_ipc_send_error_reason * value
The contents of the array.
Definition: ipc_core_msgs_generated.h:51
uint32_t length
Length of the array (number of elements)
Definition: ipc_core_msgs_generated.h:49
a_ipc_enum_ipc_debug_command * value
The contents of the array.
Definition: ipc_core_msgs_generated.h:133
uint32_t length
Length of the array (number of elements)
Definition: ipc_core_msgs_generated.h:91
A_IPC_RESULT a_ipc_init_ipc_session_opened_ind(a_ipc_msg *msg)
Initialize the message buffer to contain a_ipc_msg_ipc_session_opened_ind.
a_ipc_enum_ipc_debug_command command
Command to send to other side.
Definition: ipc_core_msgs_generated.h:236
a_ipc_enum_ipc_send_error_reason reason
Reason why the message could not be delivered.
Definition: ipc_core_msgs_generated.h:151
a_ipc_enum_ipc_debug_command
Command sent to IPC implementation for remote debugging functions.
Definition: ipc_core_msgs_generated.h:119
a_ipc_enum_ipc_subscribe_result
Result of subscribing.
Definition: ipc_core_msgs_generated.h:99
a_ipc_enum_ipc_session_closed_reason
Reason why a session was closed.
Definition: ipc_core_msgs_generated.h:79
A_IPC_RESULT a_ipc_init_ipc_send_error_ind(a_ipc_msg *msg)
Initialize the message buffer to contain a_ipc_msg_ipc_send_error_ind.
A_IPC_RESULT a_ipc_init_ipc_session_closed_ind(a_ipc_msg *msg)
Initialize the message buffer to contain a_ipc_msg_ipc_session_closed_ind.
int32_t msg_type
Type ID of the sent message.
Definition: ipc_core_msgs_generated.h:147
A_IPC_RESULT a_ipc_init_ipc_open_session_rsp(a_ipc_msg *msg)
Initialize the message buffer to contain a_ipc_msg_ipc_open_session_rsp.
A_IPC_RESULT a_ipc_init_ipc_close_session_req_norsp(a_ipc_msg *msg)
Initialize the message buffer to contain a_ipc_msg_ipc_close_session_req_norsp.
a_ipc_enum_ipc_open_session_result
Result when trying to open a session.
Definition: ipc_core_msgs_generated.h:57
a_ipc_enum_ipc_session_closed_reason reason
Reason why the session was closed.
Definition: ipc_core_msgs_generated.h:223
a_ipc_enum_ipc_open_session_result result
The result of trying to open the session.
Definition: ipc_core_msgs_generated.h:180
a_ipc_enum_ipc_send_error_reason
Reason for why sending a message failed.
Definition: ipc_core_msgs_generated.h:28
A_IPC_RESULT a_ipc_init_ipc_open_session_req(a_ipc_msg *msg)
Initialize the message buffer to contain a_ipc_msg_ipc_open_session_req.
A_IPC_RESULT a_ipc_init_ipc_debug_command_req_norsp(a_ipc_msg *msg)
Initialize the message buffer to contain a_ipc_msg_ipc_debug_command_req_norsp.
@ A_IPC_ENUM_IPC_DEBUG_COMMAND_DEBUG_RESERVED
Empty command.
Definition: ipc_core_msgs_generated.h:123
@ A_IPC_ENUM_IPC_DEBUG_COMMAND_DEBUG_DUMP_USAGE
Dump IPC usage statistics.
Definition: ipc_core_msgs_generated.h:121
@ A_IPC_ENUM_IPC_SUBSCRIBE_RESULT_OK
Successfully subscribed.
Definition: ipc_core_msgs_generated.h:101
@ A_IPC_ENUM_IPC_SUBSCRIBE_RESULT_ERROR
Failed to subscribe.
Definition: ipc_core_msgs_generated.h:103
@ A_IPC_ENUM_IPC_SEND_ERROR_REASON_PEER_UNREACHABLE
The peer was not reachable.
Definition: ipc_core_msgs_generated.h:32
@ A_IPC_ENUM_IPC_SEND_ERROR_REASON_NO_SESSION
No active sesion, but one is needed.
Definition: ipc_core_msgs_generated.h:39
@ A_IPC_ENUM_IPC_SEND_ERROR_REASON_SEND_FAILED
Generic send failure.
Definition: ipc_core_msgs_generated.h:30
@ A_IPC_ENUM_IPC_SEND_ERROR_REASON_TRANSPORT_ERROR
Error in the underlying transport protocol.
Definition: ipc_core_msgs_generated.h:34
@ A_IPC_ENUM_IPC_SEND_ERROR_REASON_SESSION_EXISTS
A session is already open towards the peer.
Definition: ipc_core_msgs_generated.h:41
Dynamic-length array of a_ipc_enum_ipc_debug_command.
Definition: ipc_core_msgs_generated.h:129
Dynamic-length array of a_ipc_enum_ipc_open_session_result.
Definition: ipc_core_msgs_generated.h:69
Dynamic-length array of a_ipc_enum_ipc_send_error_reason.
Definition: ipc_core_msgs_generated.h:47
Dynamic-length array of a_ipc_enum_ipc_session_closed_reason.
Definition: ipc_core_msgs_generated.h:89
Dynamic-length array of a_ipc_enum_ipc_subscribe_result.
Definition: ipc_core_msgs_generated.h:109
Close communication session with the peer.
Definition: ipc_core_msgs_generated.h:189
Internal IPC debugging functions.
Definition: ipc_core_msgs_generated.h:232
Request to open a communication session with a peer.
Definition: ipc_core_msgs_generated.h:162
Open communication session response.
Definition: ipc_core_msgs_generated.h:176
Sent when a message could not be delivered.
Definition: ipc_core_msgs_generated.h:143
Received when the peer closed the session.
Definition: ipc_core_msgs_generated.h:219
Received when the peer opened a session.
Definition: ipc_core_msgs_generated.h:205
A_IPC_RESULT
IPC function result codes.
Definition: ipc.h:211
AIPC Message.
Definition: ipc_generated.h:1204