Moxa ioPAC 8500-5-RJ45-C-T [33/66] Mx_cellular_modem_rssi

Moxa ioPAC 8500-2-M12-C-T [33/66] Mx_cellular_modem_rssi
Developer's Guide for Moxa RTU Controllers Programmer's Guide
2-25
MX_Cellular_Net_Stop
INT32 MX_Cellular_Net_Stop(void);
MX_Cellular_Net_Stop stops the cellular network. On success, the state will be changed to READY.
Input Parameters
None.
Return Value
Returns MODEM_ERR_OK on success. Refer to the returned code table for return values when an error occurs.
Notes
ioLogik W5348-C series only
MX_Cellular_Net_State
INT32 MX_Cellular_Net_State(void);
Returns the API state.
Input Parameters
None.
Return Value
The value of the API state is listed in the header file of the library.
Notes
ioLogik W5348-C series only
MX_Cellular_Modem_RSSI
INT32 MX_Cellular_Modem_RSSI(UINT8 *rssi);
The user’s program can enable this function to retrieve the RSSI. The RSSI value ranges from 0 to 31.
Input Parameters
Rssi
Users should provide a UINT8 buffer for retrieving the RSSI value.
Return Value
Returns MODEM_ERR_OK on success. Refer to the returned code table for return values when an error occurs.
Notes
ioLogik W5348-C series only
MX_Cellular_Modem_Reset
INT32 MX_Cellular_Modem_Reset(void);
Resets the cellular modem. The user’s program should use this function very carefully. The recommended way
to use this function is to enable it if Auto Reconnect is disabled, and the API state is in READY or
DISCONNECTED. Never use this function when the API state is in CONNECTING or CONNECTED.
Input Parameters
None.
Return Value
Returns MODEM_ERR_OK on success. Refer to the returned code table for return values when an error occurs.
Notes
ioLogik W5348-C series only

Содержание

Скачать