![]() |
ACU6 Device API
|
System Service. More...
Data Structures | |
struct | a_ipc_dyn_array_enum_hwinfo_result |
Dynamic-length array of a_ipc_enum_hwinfo_result. More... | |
struct | a_ipc_msg_hwinfo_req |
Read hardware related information. More... | |
struct | a_ipc_msg_hwinfo_rsp |
Hardware information response. More... | |
Enumerations | |
enum | a_ipc_enum_hwinfo_result { A_IPC_ENUM_HWINFO_RESULT_OK , A_IPC_ENUM_HWINFO_RESULT_ERROR } |
Hardware versions result codes. More... | |
Functions | |
A_IPC_RESULT | a_ipc_init_hwinfo_req (a_ipc_msg *msg) |
Initialize the message buffer to contain a_ipc_msg_hwinfo_req. More... | |
A_IPC_RESULT | a_ipc_init_hwinfo_rsp (a_ipc_msg *msg, uint32_t serial_number_maxlength, uint32_t device_uuid_maxlength, uint32_t assembled_unit_maxlength, uint32_t sales_unit_maxlength, uint32_t manufacturing_timestamp_maxlength) |
Initialize the message buffer to contain a_ipc_msg_hwinfo_rsp. More... | |
System Service.
This page contains documentation of the System Service API.
struct a_ipc_dyn_array_enum_hwinfo_result |
Dynamic-length array of a_ipc_enum_hwinfo_result.
Data Fields | ||
---|---|---|
uint32_t | length | Length of the array (number of elements) |
a_ipc_enum_hwinfo_result * | value | The contents of the array. |
struct a_ipc_msg_hwinfo_req |
Read hardware related information.
If successful the response will include various data.
Response is delivered in a_ipc_msg_hwinfo_rsp.
Create using a_ipc_init_hwinfo_req().
Message type is A_IPC_MSG_HWINFO_REQ.
struct a_ipc_msg_hwinfo_rsp |
Hardware information response.
Sent in response to a_ipc_msg_hwinfo_req.
Create using a_ipc_init_hwinfo_rsp().
Message type is A_IPC_MSG_HWINFO_RSP.
Data Fields | ||
---|---|---|
a_ipc_dyn_string | assembled_unit | Assembled Unit. |
a_ipc_dyn_string | device_uuid | Device UUID. |
a_ipc_dyn_string | manufacturing_timestamp | Manufacturing Timestamp (UTC) |
a_ipc_enum_hwinfo_result | result | Result of the operation. |
a_ipc_dyn_string | sales_unit | Sales Unit. |
a_ipc_dyn_string | serial_number | Device Serial Number. |
A_IPC_RESULT a_ipc_init_hwinfo_req | ( | a_ipc_msg * | msg | ) |
Initialize the message buffer to contain a_ipc_msg_hwinfo_req.
msg->info.type
will be A_IPC_MSG_HWINFO_REQ.
This function can be called on an already initialized message to change its type.
msg | The message buffer to initialize |
A_IPC_RESULT a_ipc_init_hwinfo_rsp | ( | a_ipc_msg * | msg, |
uint32_t | serial_number_maxlength, | ||
uint32_t | device_uuid_maxlength, | ||
uint32_t | assembled_unit_maxlength, | ||
uint32_t | sales_unit_maxlength, | ||
uint32_t | manufacturing_timestamp_maxlength | ||
) |
Initialize the message buffer to contain a_ipc_msg_hwinfo_rsp.
msg->info.type
will be A_IPC_MSG_HWINFO_RSP.
This function can be called on an already initialized message to change its type.
msg | The message buffer to initialize |
serial_number_maxlength | The maximum string length for serial_number in the message. |
device_uuid_maxlength | The maximum string length for device_uuid in the message. |
assembled_unit_maxlength | The maximum string length for assembled_unit in the message. |
sales_unit_maxlength | The maximum string length for sales_unit in the message. |
manufacturing_timestamp_maxlength | The maximum string length for manufacturing_timestamp in the message. |
a_ipc_dyn_string a_ipc_msg_hwinfo_rsp::assembled_unit |
Assembled Unit.
a_ipc_dyn_string a_ipc_msg_hwinfo_rsp::device_uuid |
Device UUID.
a_ipc_dyn_string a_ipc_msg_hwinfo_rsp::manufacturing_timestamp |
Manufacturing Timestamp (UTC)
a_ipc_enum_hwinfo_result a_ipc_msg_hwinfo_rsp::result |
Result of the operation.
a_ipc_dyn_string a_ipc_msg_hwinfo_rsp::sales_unit |
Sales Unit.
a_ipc_dyn_string a_ipc_msg_hwinfo_rsp::serial_number |
Device Serial Number.