Command network.start

The command network.start is used to start the device's modem.

Parameters

  1. variablereturn [integer]
    Return of the function:
    • 1: Modem initialized
    • Anything other than 1 means Error (modem not initialized)

Example


In the example above, the command network.start will start the device's modem and the value of return will be displayed.

Differences between the commands preconnect and network.start :

The POSXML command preconnect starts the device's modem and connects to host. The command network.start starts the device's modem but will NOT connect to host.