beautypg.com

Tcp,uid: tcp/ip authentication, Function, Command format – Spectra Precision ProFlex 800 Reference Manual User Manual

Page 494: Comments, Relevant query command, See also

background image

480

Set Command Library

$PASHS,ETH

TCP,UID: TCP/IP Authentication

Function

This command is used to enter the login and a password
allowing a TCP/IP connection (requiring authentication) to be
established.

Command Format

Syntax

$PASHS,TCP,UID,s1,s2[*cc]

Parameters

Example

Entering authentication parameters (login: BX312, password:
xwsead):

$PASHS,TCP,UID,BX312,xwsead*70

Comments

• The $PASHS,TCP,UID command should always be sent

first every time a user tries to connect to a remote receiver
through a secure TCP/IP connection (see $PASHS,TCP).
Only after providing authentification parameters will the
user be allowed to send commands or data to that
receiver.

• When the login and password are correct, or no

authentication is required, the receiver will return the
following reply:

$PASHR,TCP,OK*1B

• If authentication is required and the login or password is

wrong, the receiver will return the following reply:

$PASHR,TCP,FAIL*1D

Relevant Query

Command

None.

See also

$PASHS,TCP,PAR

Parameter

Description

Range

s1

Login

32 characters max.

s2

Password

32 characters max.

*cc

Optional checksum

*00-*FF