MZCS Application Commands
MZCS Start Process
MZCS can be executed as a standalone application from the CLI or it can be controlled and run from the Process-handler. The service can be started by following the specified pattern,
monoZConnectService.exe-c<COM Port>
<upon success>
MZOK
<upon failure>
MZNG
Defined Values
COM Port
Maximum Response Time
| 15s |
MZCS Device Initialization
This API establishes the communication with the MZC device and check the device’s configuration status. If MZC device is not configured, the service will be closed and an appropriate message will be displayed. To ensure proper usage, this API must be called first after the start of MZCS application.
mzcs_init
<upon success>
MZOK
<upon failure>
MZRUNDEVICECONFIG
MZNG
Defined Values
None
Maximum Response Time
| 311 s + 900 ms |
MZCS Device Configuration
The main function of this API is to set up the MZC device by configuring its Band, APN, LwM2M settings. The configured settings will be saved in the device memory. Once the device has been successfully configured, this API returns the endpoint name that will be used for further communication with the PF. Additionally, the application will close its service upon completion of this API. It is recommended to use this API when initially configuring the device or when updating the existing settings. However, frequent usage of this API should be avoided as it is intended for configuring the device only.
mzcs_devcfg
<upon success>
MZOK
<upon failure>
MZNG
Defined Values
None
Maximum Response Time
| 1407 s + 200 ms |
MZCS Set Network Attach
To establish communication with the Server/Platform (PF), the MZC device needs network connectivity, which can be enabled by using this API. It is important to note that the usage of this API should be restricted to the following conditions:
- It must be called after a successful execution of the “MZCS Device Initialization” API.
- It should not be called before network disconnection (network detach).
- It should not be called until the registration interval expires. For more information, please refer to “Network Attach Attempt”.
mzcs_nwattach
<upon success>
MZOK
<upon failure>
MZNG
Defined Values
None