![]() |
ACU6 Device API
|
Cellular Data Service. More...
Cellular Data Service.
This page contains documentation of the Cellular Data Service API.
ACU6-Pro: Cellular Internet is available on the eth1
interface, with local IP 198.18.3.2
.
ACU6-Lite: N/A.
struct a_ipc_dyn_array_enum_cellular_result |
Dynamic-length array of a_ipc_enum_cellular_result.
Data Fields | ||
---|---|---|
uint32_t | length | Length of the array (number of elements) |
a_ipc_enum_cellular_result * | value | The contents of the array. |
struct a_ipc_dyn_array_enum_cellular_connection_status |
Dynamic-length array of a_ipc_enum_cellular_connection_status.
Data Fields | ||
---|---|---|
uint32_t | length | Length of the array (number of elements) |
a_ipc_enum_cellular_connection_status * | value | The contents of the array. |
struct a_ipc_dyn_array_enum_cellular_access_technology |
Dynamic-length array of a_ipc_enum_cellular_access_technology.
Data Fields | ||
---|---|---|
uint32_t | length | Length of the array (number of elements) |
a_ipc_enum_cellular_access_technology * | value | The contents of the array. |
struct a_ipc_msg_cellular_data_request_req |
Request a modem data connection.
If successful the requester is guaranteed a data connection until a a_ipc_msg_cellular_data_release_ind is sent. (External circumstances, can of course affect the connection) A data connection might be available even if not requested, since the main system or other users can have a modem data request active.
Response is delivered in a_ipc_msg_cellular_data_request_rsp.
Create using a_ipc_init_cellular_data_request_req().
Message type is A_IPC_MSG_CELLULAR_DATA_REQUEST_REQ.
Data Fields | ||
---|---|---|
a_ipc_dyn_string | user | User identifier, max 15 characters long. |
struct a_ipc_msg_cellular_data_request_rsp |
Modem data connection request result.
Sent in response to a_ipc_msg_cellular_data_request_req.
Create using a_ipc_init_cellular_data_request_rsp().
Message type is A_IPC_MSG_CELLULAR_DATA_REQUEST_RSP.
Data Fields | ||
---|---|---|
a_ipc_enum_cellular_result | result | Result of the operation. |
struct a_ipc_msg_cellular_data_release_req_norsp |
Release a modem data connection.
After this is sent the requester is not guaranteed a data connection.
Create using a_ipc_init_cellular_data_release_req_norsp().
Message type is A_IPC_MSG_CELLULAR_DATA_RELEASE_REQ_NORSP.
Data Fields | ||
---|---|---|
a_ipc_dyn_string | user | User identifier, max 15 characters long. |
struct a_ipc_msg_cellular_data_secondary_request_req |
Request the secondary modem data connection.
If successful the requester is guaranteed a data connection until a a_ipc_msg_cellular_data_release_ind is sent. (External circumstances, can of course affect the connection) A data connection might be available even if not requested, since the main system or other users can have a secondary data request active.
Response is delivered in a_ipc_msg_cellular_data_secondary_request_rsp.
Create using a_ipc_init_cellular_data_secondary_request_req().
Message type is A_IPC_MSG_CELLULAR_DATA_SECONDARY_REQUEST_REQ.
Data Fields | ||
---|---|---|
a_ipc_dyn_string | user | User identifier, max 15 characters long. |
struct a_ipc_msg_cellular_data_secondary_request_rsp |
Modem data connection request result.
Sent in response to a_ipc_msg_cellular_data_secondary_request_req.
Create using a_ipc_init_cellular_data_secondary_request_rsp().
Message type is A_IPC_MSG_CELLULAR_DATA_SECONDARY_REQUEST_RSP.
Data Fields | ||
---|---|---|
a_ipc_enum_cellular_result | result | Result of the operation. |
struct a_ipc_msg_cellular_data_secondary_release_req_norsp |
Release the secondary modem data connection.
After this is sent the requester is not guaranteed a data connection.
Create using a_ipc_init_cellular_data_secondary_release_req_norsp().
Message type is A_IPC_MSG_CELLULAR_DATA_SECONDARY_RELEASE_REQ_NORSP.
Data Fields | ||
---|---|---|
a_ipc_dyn_string | user | User identifier, max 15 characters long. |
struct a_ipc_msg_cellular_info_req |
Request Modem and SIM information.
Response is delivered in a_ipc_msg_cellular_info_rsp.
Create using a_ipc_init_cellular_info_req().
Message type is A_IPC_MSG_CELLULAR_INFO_REQ.
struct a_ipc_msg_cellular_info_rsp |
Modem and SIM information result.
Sent in response to a_ipc_msg_cellular_info_req.
Create using a_ipc_init_cellular_info_rsp().
Message type is A_IPC_MSG_CELLULAR_INFO_RSP.
Data Fields | ||
---|---|---|
a_ipc_dyn_string | euiccid | EUICCID. |
a_ipc_dyn_string | iccid | ICCID. |
a_ipc_dyn_string | imei | IMEI. |
a_ipc_dyn_string | imsi | IMSI. |
a_ipc_enum_cellular_result | result | Result of the operation. |
struct a_ipc_msg_cellular_status_publish_ind |
A message with the current cellular status.
Status updates are sent when there is a change in status.
Subscribe using a_ipc_msg_cellular_status_subscribe_req and unsubscribe using a_ipc_msg_cellular_status_unsubscribe_req_norsp.
Create using a_ipc_init_cellular_status_publish_ind().
Message type is A_IPC_MSG_CELLULAR_STATUS_PUBLISH_IND.
struct a_ipc_msg_cellular_status_secondary_publish_ind |
A message with the current cellular status for secondary cellular connection.
Status updates are sent when there is a change in status.
Subscribe using a_ipc_msg_cellular_status_secondary_subscribe_req and unsubscribe using a_ipc_msg_cellular_status_secondary_unsubscribe_req_norsp.
Create using a_ipc_init_cellular_status_secondary_publish_ind().
Message type is A_IPC_MSG_CELLULAR_STATUS_SECONDARY_PUBLISH_IND.
Data Fields | ||
---|---|---|
bool | connected |
Secondary data connection status. true if there is a working cellular packet data connection. false if not. |
struct a_ipc_msg_cellular_temperature_req |
Request Modem temperature.
Response is delivered in a_ipc_msg_cellular_temperature_rsp.
Create using a_ipc_init_cellular_temperature_req().
Message type is A_IPC_MSG_CELLULAR_TEMPERATURE_REQ.
struct a_ipc_msg_cellular_temperature_rsp |
Request Modem temperature result.
Sent in response to a_ipc_msg_cellular_temperature_req.
Create using a_ipc_init_cellular_temperature_rsp().
Message type is A_IPC_MSG_CELLULAR_TEMPERATURE_RSP.
Data Fields | ||
---|---|---|
a_ipc_enum_cellular_result | result | Result of the operation. |
int32_t | temperature | Temperature. |
struct a_ipc_msg_cellular_status_latest_req |
Request latest known cellular status.
Response is delivered in a_ipc_msg_cellular_status_latest_rsp.
Create using a_ipc_init_cellular_status_latest_req().
Message type is A_IPC_MSG_CELLULAR_STATUS_LATEST_REQ.
struct a_ipc_msg_cellular_status_latest_rsp |
Request latest known cellular status result.
Sent in response to a_ipc_msg_cellular_status_latest_req.
Create using a_ipc_init_cellular_status_latest_rsp().
Message type is A_IPC_MSG_CELLULAR_STATUS_LATEST_RSP.
Data Fields | ||
---|---|---|
bool | connected |
Data connection status. true if there is a working cellular packet data connection. false if not. |
a_ipc_enum_cellular_result | result | Result of the operation. |
int32_t | rssi |
Signal strength in dBm, if known. -1 if the signal strength is unknown. |
struct a_ipc_msg_cellular_status_secondary_latest_req |
Request latest known secondary cellular status.
Response is delivered in a_ipc_msg_cellular_status_secondary_latest_rsp.
Create using a_ipc_init_cellular_status_secondary_latest_req().
Message type is A_IPC_MSG_CELLULAR_STATUS_SECONDARY_LATEST_REQ.
struct a_ipc_msg_cellular_status_secondary_latest_rsp |
Request latest known second_cellular status result.
Sent in response to a_ipc_msg_cellular_status_secondary_latest_req.
Create using a_ipc_init_cellular_status_secondary_latest_rsp().
Message type is A_IPC_MSG_CELLULAR_STATUS_SECONDARY_LATEST_RSP.
Data Fields | ||
---|---|---|
bool | connected |
Data connection status. true if there is a working cellular packet data connection. false if not. |
a_ipc_enum_cellular_result | result | Result of the operation. |
struct a_ipc_msg_cellular_extended_status_publish_ind |
A message with extended cellular status information.
Subscribe using a_ipc_msg_cellular_extended_status_subscribe_req and unsubscribe using a_ipc_msg_cellular_extended_status_unsubscribe_req_norsp.
Create using a_ipc_init_cellular_extended_status_publish_ind().
Message type is A_IPC_MSG_CELLULAR_EXTENDED_STATUS_PUBLISH_IND.
Data Fields | ||
---|---|---|
a_ipc_enum_cellular_access_technology | access_technology | Currently active radio access technology. |
uint32_t | arfcn |
Radio Frequency Channel Number. Mapping to actual frequency depends on access technology GSM: ARFCN - Absolute Radio Frequency Channel Number UMTS: UARFCN - UTRAN Absolute Radio Frequency Channel Number LTE: EARFCN - E-UTRA Absolute Radio Frequency Channel Number 5G: ARFCN - Absolute Radio Frequency Channel Number |
uint32_t | cid |
Cell ID (CID) GSM: Cell ID, 16-bit UMTS: Cell ID, 28-bit LTE: Global Cell ID, 28-bit |
a_ipc_enum_cellular_connection_status | data_status | Current status of the cellular data connection. |
uint16_t | lac_tac |
Location ID within MCC/MNC. Referred to as LAC in GSM and UMTS and TAC in LTE and 5G |
char | mcc[3+1] |
Mobile Country Code (ITU Rec E.212) Valid for all access technologies |
char | mnc[3+1] |
Mobile Network Code (ITU Rec E.212) Can be 2 or 3 digits, where leading zeros are significant, so that MNC of 01 and 001 are two different distinct IDs. Valid for all access technologies |
uint16_t | pci |
Phyiscal Cell ID (PCI) Only valid for LTE and 5G networks |
int16_t | signal_quality |
Signal quality. The mapping, range and relation to "good reception" is access technology specific If unknown, it is set to INT16_MIN (lowest possible int16_t) GSM: Unavailable UMTS: EC/IO - Carrier-to-interference ratio in dBm LTE: RSRQ - Reference Signal Received Quality in dB 5: TBD |
int16_t | signal_strength |
Signal power. The mapping, range and relation to "good reception" is access technology specific If unknown, it is set to INT16_MIN (lowest possible int16_t) GSM: RSSI - Received Signal Strength Indicator, signal strength in dBm UMTS: RSCP - Received Signal Code Power, in dBm LTE: RSRP - Reference Signal Received Power, strength of LTE reference signal in dBm 5G: TBD |
struct a_ipc_msg_cellular_status_subscribe_req |
Subscribe to updates for cellular_status.
a_ipc_msg_cellular_status_publish_ind will be received until a_ipc_msg_cellular_status_unsubscribe_req_norsp is sent.
Response is delivered in a_ipc_msg_cellular_status_subscribe_rsp.
Create using a_ipc_init_cellular_status_subscribe_req().
Message type is A_IPC_MSG_CELLULAR_STATUS_SUBSCRIBE_REQ.
struct a_ipc_msg_cellular_status_subscribe_rsp |
Sent in response to a_ipc_msg_cellular_status_subscribe_req.
Create using a_ipc_init_cellular_status_subscribe_rsp().
Message type is A_IPC_MSG_CELLULAR_STATUS_SUBSCRIBE_RSP.
Data Fields | ||
---|---|---|
a_ipc_enum_ipc_subscribe_result | result | The result of the subscription request. |
struct a_ipc_msg_cellular_status_unsubscribe_req_norsp |
Unsubscribe from updates for cellular_status.
a_ipc_msg_cellular_status_publish_ind will no longer be received.
Create using a_ipc_init_cellular_status_unsubscribe_req_norsp().
Message type is A_IPC_MSG_CELLULAR_STATUS_UNSUBSCRIBE_REQ_NORSP.
struct a_ipc_msg_cellular_status_secondary_subscribe_req |
Subscribe to updates for cellular_status_secondary.
a_ipc_msg_cellular_status_secondary_publish_ind will be received until a_ipc_msg_cellular_status_secondary_unsubscribe_req_norsp is sent.
Response is delivered in a_ipc_msg_cellular_status_secondary_subscribe_rsp.
Create using a_ipc_init_cellular_status_secondary_subscribe_req().
Message type is A_IPC_MSG_CELLULAR_STATUS_SECONDARY_SUBSCRIBE_REQ.
struct a_ipc_msg_cellular_status_secondary_subscribe_rsp |
Sent in response to a_ipc_msg_cellular_status_secondary_subscribe_req.
Create using a_ipc_init_cellular_status_secondary_subscribe_rsp().
Message type is A_IPC_MSG_CELLULAR_STATUS_SECONDARY_SUBSCRIBE_RSP.
Data Fields | ||
---|---|---|
a_ipc_enum_ipc_subscribe_result | result | The result of the subscription request. |
struct a_ipc_msg_cellular_status_secondary_unsubscribe_req_norsp |
Unsubscribe from updates for cellular_status_secondary.
a_ipc_msg_cellular_status_secondary_publish_ind will no longer be received.
Create using a_ipc_init_cellular_status_secondary_unsubscribe_req_norsp().
Message type is A_IPC_MSG_CELLULAR_STATUS_SECONDARY_UNSUBSCRIBE_REQ_NORSP.
struct a_ipc_msg_cellular_extended_status_subscribe_req |
Subscribe to updates for cellular_extended_status.
a_ipc_msg_cellular_extended_status_publish_ind will be received until a_ipc_msg_cellular_extended_status_unsubscribe_req_norsp is sent.
Response is delivered in a_ipc_msg_cellular_extended_status_subscribe_rsp.
Create using a_ipc_init_cellular_extended_status_subscribe_req().
Message type is A_IPC_MSG_CELLULAR_EXTENDED_STATUS_SUBSCRIBE_REQ.
struct a_ipc_msg_cellular_extended_status_subscribe_rsp |
Sent in response to a_ipc_msg_cellular_extended_status_subscribe_req.
Create using a_ipc_init_cellular_extended_status_subscribe_rsp().
Message type is A_IPC_MSG_CELLULAR_EXTENDED_STATUS_SUBSCRIBE_RSP.
Data Fields | ||
---|---|---|
a_ipc_enum_ipc_subscribe_result | result | The result of the subscription request. |
struct a_ipc_msg_cellular_extended_status_unsubscribe_req_norsp |
Unsubscribe from updates for cellular_extended_status.
a_ipc_msg_cellular_extended_status_publish_ind will no longer be received.
Create using a_ipc_init_cellular_extended_status_unsubscribe_req_norsp().
Message type is A_IPC_MSG_CELLULAR_EXTENDED_STATUS_UNSUBSCRIBE_REQ_NORSP.
Result codes.
A_IPC_RESULT a_ipc_init_cellular_data_release_req_norsp | ( | a_ipc_msg * | msg, |
uint32_t | user_maxlength | ||
) |
Initialize the message buffer to contain a_ipc_msg_cellular_data_release_req_norsp.
msg->info.type
will be A_IPC_MSG_CELLULAR_DATA_RELEASE_REQ_NORSP.
This function can be called on an already initialized message to change its type.
msg | The message buffer to initialize |
user_maxlength | The maximum string length for user in the message. |
A_IPC_RESULT a_ipc_init_cellular_data_request_req | ( | a_ipc_msg * | msg, |
uint32_t | user_maxlength | ||
) |
Initialize the message buffer to contain a_ipc_msg_cellular_data_request_req.
msg->info.type
will be A_IPC_MSG_CELLULAR_DATA_REQUEST_REQ.
This function can be called on an already initialized message to change its type.
msg | The message buffer to initialize |
user_maxlength | The maximum string length for user in the message. |
A_IPC_RESULT a_ipc_init_cellular_data_request_rsp | ( | a_ipc_msg * | msg | ) |
Initialize the message buffer to contain a_ipc_msg_cellular_data_request_rsp.
msg->info.type
will be A_IPC_MSG_CELLULAR_DATA_REQUEST_RSP.
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_cellular_data_secondary_release_req_norsp | ( | a_ipc_msg * | msg, |
uint32_t | user_maxlength | ||
) |
Initialize the message buffer to contain a_ipc_msg_cellular_data_secondary_release_req_norsp.
msg->info.type
will be A_IPC_MSG_CELLULAR_DATA_SECONDARY_RELEASE_REQ_NORSP.
This function can be called on an already initialized message to change its type.
msg | The message buffer to initialize |
user_maxlength | The maximum string length for user in the message. |
A_IPC_RESULT a_ipc_init_cellular_data_secondary_request_req | ( | a_ipc_msg * | msg, |
uint32_t | user_maxlength | ||
) |
Initialize the message buffer to contain a_ipc_msg_cellular_data_secondary_request_req.
msg->info.type
will be A_IPC_MSG_CELLULAR_DATA_SECONDARY_REQUEST_REQ.
This function can be called on an already initialized message to change its type.
msg | The message buffer to initialize |
user_maxlength | The maximum string length for user in the message. |
A_IPC_RESULT a_ipc_init_cellular_data_secondary_request_rsp | ( | a_ipc_msg * | msg | ) |
Initialize the message buffer to contain a_ipc_msg_cellular_data_secondary_request_rsp.
msg->info.type
will be A_IPC_MSG_CELLULAR_DATA_SECONDARY_REQUEST_RSP.
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_cellular_extended_status_publish_ind | ( | a_ipc_msg * | msg | ) |
Initialize the message buffer to contain a_ipc_msg_cellular_extended_status_publish_ind.
msg->info.type
will be A_IPC_MSG_CELLULAR_EXTENDED_STATUS_PUBLISH_IND.
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_cellular_extended_status_subscribe_req | ( | a_ipc_msg * | msg | ) |
Initialize the message buffer to contain a_ipc_msg_cellular_extended_status_subscribe_req.
msg->info.type
will be A_IPC_MSG_CELLULAR_EXTENDED_STATUS_SUBSCRIBE_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_cellular_extended_status_subscribe_rsp | ( | a_ipc_msg * | msg | ) |
Initialize the message buffer to contain a_ipc_msg_cellular_extended_status_subscribe_rsp.
msg->info.type
will be A_IPC_MSG_CELLULAR_EXTENDED_STATUS_SUBSCRIBE_RSP.
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_cellular_extended_status_unsubscribe_req_norsp | ( | a_ipc_msg * | msg | ) |
Initialize the message buffer to contain a_ipc_msg_cellular_extended_status_unsubscribe_req_norsp.
msg->info.type
will be A_IPC_MSG_CELLULAR_EXTENDED_STATUS_UNSUBSCRIBE_REQ_NORSP.
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_cellular_info_req | ( | a_ipc_msg * | msg | ) |
Initialize the message buffer to contain a_ipc_msg_cellular_info_req.
msg->info.type
will be A_IPC_MSG_CELLULAR_INFO_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_cellular_info_rsp | ( | a_ipc_msg * | msg, |
uint32_t | iccid_maxlength, | ||
uint32_t | euiccid_maxlength, | ||
uint32_t | imei_maxlength, | ||
uint32_t | imsi_maxlength | ||
) |
Initialize the message buffer to contain a_ipc_msg_cellular_info_rsp.
msg->info.type
will be A_IPC_MSG_CELLULAR_INFO_RSP.
This function can be called on an already initialized message to change its type.
msg | The message buffer to initialize |
iccid_maxlength | The maximum string length for iccid in the message. |
euiccid_maxlength | The maximum string length for euiccid in the message. |
imei_maxlength | The maximum string length for imei in the message. |
imsi_maxlength | The maximum string length for imsi in the message. |
A_IPC_RESULT a_ipc_init_cellular_status_latest_req | ( | a_ipc_msg * | msg | ) |
Initialize the message buffer to contain a_ipc_msg_cellular_status_latest_req.
msg->info.type
will be A_IPC_MSG_CELLULAR_STATUS_LATEST_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_cellular_status_latest_rsp | ( | a_ipc_msg * | msg | ) |
Initialize the message buffer to contain a_ipc_msg_cellular_status_latest_rsp.
msg->info.type
will be A_IPC_MSG_CELLULAR_STATUS_LATEST_RSP.
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_cellular_status_publish_ind | ( | a_ipc_msg * | msg | ) |
Initialize the message buffer to contain a_ipc_msg_cellular_status_publish_ind.
msg->info.type
will be A_IPC_MSG_CELLULAR_STATUS_PUBLISH_IND.
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_cellular_status_secondary_latest_req | ( | a_ipc_msg * | msg | ) |
Initialize the message buffer to contain a_ipc_msg_cellular_status_secondary_latest_req.
msg->info.type
will be A_IPC_MSG_CELLULAR_STATUS_SECONDARY_LATEST_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_cellular_status_secondary_latest_rsp | ( | a_ipc_msg * | msg | ) |
Initialize the message buffer to contain a_ipc_msg_cellular_status_secondary_latest_rsp.
msg->info.type
will be A_IPC_MSG_CELLULAR_STATUS_SECONDARY_LATEST_RSP.
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_cellular_status_secondary_publish_ind | ( | a_ipc_msg * | msg | ) |
Initialize the message buffer to contain a_ipc_msg_cellular_status_secondary_publish_ind.
msg->info.type
will be A_IPC_MSG_CELLULAR_STATUS_SECONDARY_PUBLISH_IND.
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_cellular_status_secondary_subscribe_req | ( | a_ipc_msg * | msg | ) |
Initialize the message buffer to contain a_ipc_msg_cellular_status_secondary_subscribe_req.
msg->info.type
will be A_IPC_MSG_CELLULAR_STATUS_SECONDARY_SUBSCRIBE_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_cellular_status_secondary_subscribe_rsp | ( | a_ipc_msg * | msg | ) |
Initialize the message buffer to contain a_ipc_msg_cellular_status_secondary_subscribe_rsp.
msg->info.type
will be A_IPC_MSG_CELLULAR_STATUS_SECONDARY_SUBSCRIBE_RSP.
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_cellular_status_secondary_unsubscribe_req_norsp | ( | a_ipc_msg * | msg | ) |
Initialize the message buffer to contain a_ipc_msg_cellular_status_secondary_unsubscribe_req_norsp.
msg->info.type
will be A_IPC_MSG_CELLULAR_STATUS_SECONDARY_UNSUBSCRIBE_REQ_NORSP.
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_cellular_status_subscribe_req | ( | a_ipc_msg * | msg | ) |
Initialize the message buffer to contain a_ipc_msg_cellular_status_subscribe_req.
msg->info.type
will be A_IPC_MSG_CELLULAR_STATUS_SUBSCRIBE_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_cellular_status_subscribe_rsp | ( | a_ipc_msg * | msg | ) |
Initialize the message buffer to contain a_ipc_msg_cellular_status_subscribe_rsp.
msg->info.type
will be A_IPC_MSG_CELLULAR_STATUS_SUBSCRIBE_RSP.
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_cellular_status_unsubscribe_req_norsp | ( | a_ipc_msg * | msg | ) |
Initialize the message buffer to contain a_ipc_msg_cellular_status_unsubscribe_req_norsp.
msg->info.type
will be A_IPC_MSG_CELLULAR_STATUS_UNSUBSCRIBE_REQ_NORSP.
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_cellular_temperature_req | ( | a_ipc_msg * | msg | ) |
Initialize the message buffer to contain a_ipc_msg_cellular_temperature_req.
msg->info.type
will be A_IPC_MSG_CELLULAR_TEMPERATURE_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_cellular_temperature_rsp | ( | a_ipc_msg * | msg | ) |
Initialize the message buffer to contain a_ipc_msg_cellular_temperature_rsp.
msg->info.type
will be A_IPC_MSG_CELLULAR_TEMPERATURE_RSP.
This function can be called on an already initialized message to change its type.
msg | The message buffer to initialize |
a_ipc_enum_cellular_access_technology a_ipc_msg_cellular_extended_status_publish_ind::access_technology |
Currently active radio access technology.
uint32_t a_ipc_msg_cellular_extended_status_publish_ind::arfcn |
Radio Frequency Channel Number.
Mapping to actual frequency depends on access technology
GSM: ARFCN - Absolute Radio Frequency Channel Number UMTS: UARFCN - UTRAN Absolute Radio Frequency Channel Number LTE: EARFCN - E-UTRA Absolute Radio Frequency Channel Number 5G: ARFCN - Absolute Radio Frequency Channel Number
uint32_t a_ipc_msg_cellular_extended_status_publish_ind::cid |
Cell ID (CID)
GSM: Cell ID, 16-bit UMTS: Cell ID, 28-bit LTE: Global Cell ID, 28-bit
bool a_ipc_msg_cellular_status_publish_ind::connected |
Data connection status.
true if there is a working cellular packet data connection. false if not.
bool a_ipc_msg_cellular_status_secondary_publish_ind::connected |
Secondary data connection status.
true if there is a working cellular packet data connection. false if not.
bool a_ipc_msg_cellular_status_latest_rsp::connected |
Data connection status.
true if there is a working cellular packet data connection. false if not.
bool a_ipc_msg_cellular_status_secondary_latest_rsp::connected |
Data connection status.
true if there is a working cellular packet data connection. false if not.
a_ipc_enum_cellular_connection_status a_ipc_msg_cellular_extended_status_publish_ind::data_status |
Current status of the cellular data connection.
a_ipc_dyn_string a_ipc_msg_cellular_info_rsp::euiccid |
EUICCID.
a_ipc_dyn_string a_ipc_msg_cellular_info_rsp::iccid |
ICCID.
a_ipc_dyn_string a_ipc_msg_cellular_info_rsp::imei |
IMEI.
a_ipc_dyn_string a_ipc_msg_cellular_info_rsp::imsi |
IMSI.
uint16_t a_ipc_msg_cellular_extended_status_publish_ind::lac_tac |
Location ID within MCC/MNC.
Referred to as LAC in GSM and UMTS and TAC in LTE and 5G
char a_ipc_msg_cellular_extended_status_publish_ind::mcc[3+1] |
Mobile Country Code (ITU Rec E.212)
Valid for all access technologies
char a_ipc_msg_cellular_extended_status_publish_ind::mnc[3+1] |
Mobile Network Code (ITU Rec E.212) Can be 2 or 3 digits, where leading zeros are significant, so that MNC of 01 and 001 are two different distinct IDs.
Valid for all access technologies
uint16_t a_ipc_msg_cellular_extended_status_publish_ind::pci |
Phyiscal Cell ID (PCI)
Only valid for LTE and 5G networks
a_ipc_enum_cellular_result a_ipc_msg_cellular_data_request_rsp::result |
Result of the operation.
a_ipc_enum_cellular_result a_ipc_msg_cellular_data_secondary_request_rsp::result |
Result of the operation.
a_ipc_enum_cellular_result a_ipc_msg_cellular_info_rsp::result |
Result of the operation.
a_ipc_enum_cellular_result a_ipc_msg_cellular_temperature_rsp::result |
Result of the operation.
a_ipc_enum_cellular_result a_ipc_msg_cellular_status_latest_rsp::result |
Result of the operation.
a_ipc_enum_cellular_result a_ipc_msg_cellular_status_secondary_latest_rsp::result |
Result of the operation.
a_ipc_enum_ipc_subscribe_result a_ipc_msg_cellular_status_subscribe_rsp::result |
The result of the subscription request.
a_ipc_enum_ipc_subscribe_result a_ipc_msg_cellular_status_secondary_subscribe_rsp::result |
The result of the subscription request.
a_ipc_enum_ipc_subscribe_result a_ipc_msg_cellular_extended_status_subscribe_rsp::result |
The result of the subscription request.
int32_t a_ipc_msg_cellular_status_publish_ind::rssi |
Signal strength in dBm, if known.
-1 if the signal strength is unknown.
int32_t a_ipc_msg_cellular_status_latest_rsp::rssi |
Signal strength in dBm, if known.
-1 if the signal strength is unknown.
int16_t a_ipc_msg_cellular_extended_status_publish_ind::signal_quality |
Signal quality.
The mapping, range and relation to "good reception" is access technology specific If unknown, it is set to INT16_MIN (lowest possible int16_t)
GSM: Unavailable UMTS: EC/IO - Carrier-to-interference ratio in dBm LTE: RSRQ - Reference Signal Received Quality in dB 5: TBD
int16_t a_ipc_msg_cellular_extended_status_publish_ind::signal_strength |
Signal power.
The mapping, range and relation to "good reception" is access technology specific If unknown, it is set to INT16_MIN (lowest possible int16_t)
GSM: RSSI - Received Signal Strength Indicator, signal strength in dBm UMTS: RSCP - Received Signal Code Power, in dBm LTE: RSRP - Reference Signal Received Power, strength of LTE reference signal in dBm 5G: TBD
int32_t a_ipc_msg_cellular_temperature_rsp::temperature |
Temperature.
a_ipc_dyn_string a_ipc_msg_cellular_data_request_req::user |
User identifier, max 15 characters long.
a_ipc_dyn_string a_ipc_msg_cellular_data_release_req_norsp::user |
User identifier, max 15 characters long.
a_ipc_dyn_string a_ipc_msg_cellular_data_secondary_request_req::user |
User identifier, max 15 characters long.
a_ipc_dyn_string a_ipc_msg_cellular_data_secondary_release_req_norsp::user |
User identifier, max 15 characters long.