SonicWALL P/N 232-002603-00 Cell Phone User Manual


 
21 | SonicWALL Mobile Connect for Android User Guide
Connect Command Parameters
Disconnect Command
The disconnect command is used to disconnect an active connection. In addition, a callback
URL can be provided that Mobile Connect will open after the connection is disconnected, which
makes it possible to return to the calling app. If there is no active VPN connection, the command
is ignored.
Syntax:
mobileconnect://disconnect[/]
mobileconnect://disconnect[/]?[callbackurl=<callbackurl>]
Following are examples of the disconnect command:
mobileconnect://disconnect
mobileconnect://disconnect/
sonicwallmobileconnect://disconnect
mobileconnect://
disconnect?callbackurl=customapp%3A%2F%2Fhost%3Fstatus%3D%24STATUS%24%
26login_group%3D%24LOGIN_GROUP%26error_code%3D%24ERROR_CODE%24
sonicwallmobileconnect://
disconnect?callbackurl=customapp%3A%2F%2Fhost%3Fstatus%3D%24STATUS%24%
26login_group%3D%24LOGIN_GROUP%26error_code%3D%24ERROR_CODE%24
Command Parameter Description
name
The unique name of the VPN connection entry that will be created and
appear in the Mobile Connect Connections list. Mobile Connect accepts
the name only if it is unique. Letters are case sensitive.
server
The domain name or IP address of the Dell SonicWall appliance in which
you wish to connect. For example:
vpn.example.com
username
Optional: The username used in the VPN connection.
password
Optional: The password used in the VPN connection.
realm
Optional: The realm used in the VPN connection profile. Applies to EX
series connections only.
domain
Optional: The domain used in the VPN connection profile. Applies to SRA
and UTM connections only.
sessionid
Optional: The session ID or Team ID used for authentication.
connect
Optional: If presented and the value is non-null, the connection will be ini-
tiated if the profile was successfully added.
callbackurl
Optional: The callback URL is be opened by Mobile Connect after the
connect command has been processed. See Connect Command on
page 20 for full details of the callback URL syntax and options.