Session Management Message Structure

In the case where Manual session management is used with WPAN devices that require a connection based protocol (AT^AUTOSESSION=0). The following commands are valid:

$PEVN,ID,CODE*hh<CR><LF> (Generated by WPAN device)
Where:
ID is the 64-bit hex address of the endpoint device
CODE is 7-bit hex event code
hh is NMEA checksum

Event code can have the following values:
Code Description
00 Registration Attempt
01 Connection Established
02 Connection Lost


$PEVA,ID,CODE*hh<CR><LF> (Generated by DCE device)
Where:
ID is the 64-bit hex address of the endpoint device
CODE is 8-bit hex event code with bit 7 set to 1 to allow or 0 to reject. If CODE=FF the session must be broken
hh is NMEA checksum

Example:

$PEVN,0013A20040111213,00*79
If automatic session management is disabled on the gateway, the external DCE device such as a modem must acknowledge the above messages using the following format:

$PEVA,0013A20040111213,80*7E => Allow session establishment
$PEVA,0013A20040111213,00*76 => Reject session with the device
$PEVA,0013A20040111213,FF*76 => Close current session with this device.

Subscribe to our
free newsletter