READ USER
Returns the settings of a specific user.
All users of same type are returned specifying the type only.
Command
|
AT#RU=<y>[,<id>]
|
Response
|
<y>,<id>,<n>,<g>,<s>,<e>,<w>,<t>
COMMAND ACCEPTED
OK
COMMAND ACCEPTED, NO USER FOUND
ERROR
COMMAND REJECTED
|
Parameters
|
<y>
USER TYPE
T : TELEPHONE
E : EMAIL
U : BLUETOOTH
W : DEVICE
A : APP
K : WIEGAND
M : ACCESSORIES
<id>
IDENTIFIER
<n>
USER NAME
<g>
USER GROUP
<s>
START
<e>
END
<w>
WEEKDAYS
<t>
TICKETS
|
|
EDIT USER
Adds a new user or modifies an existing user.
Command
|
AT#EU=<y>,<id>[,<n>,<g>,<s>,<e>,<w>,<t>]
|
Response
|
OK
COMMAND ACCEPTED
ERROR
COMMAND REJECTED
|
Parameters
|
<y>
USER TYPE
T : TELEPHONE
E : EMAIL
U : BLUETOOTH
W : DEVICE
A : APP
K : WIEGAND
M : ACCESSORI
<id>
IDENTIFIER
DEPENDING ON USER TYPE
see USERS
<n>
USER NAME - SINGLE WORD UP TO 20 CHARACTERS
<g>
USER GROUP - SINGLE WORD UP TO 8 CHARACTERS
LEAVE BLANK FOR NO GROUP
<s>
START - YYMMDDhhmm
DEFAULT 0001010000 - starts 1/1/2000 at 00:00
or, starting after specified time from NOW:
H (hours) D (days) W (weeks) M (months) Y (years)
<e>
END - YYMMMDDhhmm
DEFAULT 9912312359 - ends 31/12/2099 at 23:59
or, starting after specified time from NOW:
H (hours) D (days) W (weeks) M (months) Y (years)
<w>
WEEKDAYS
N = DISABLED
Y = YES ENABLED UNTIL END TIME
C = CONTINUOUS ENABLED ALL THE DAY
DEFAULT YYYYYYY
MONDAY TO SUNDAY
<t>
SET TICKETS [0...999]
ADD TICKETS +[1...999]
LEAVE BLANK FOR UNLIMITED
|
Specify type and identifier only, to remove an existing user:
AT#EU=<y>,<id>
OK
Specify type only, to remove all users of same type:
AT#EU=<y>
OK
Add user enabled all day starting 1 day from NOW and disabled 3 weeks from NOW:
AT#EU=T,+44123456,Mark,,1D,3W,CCCCCCC,
OK
To remove all users, use the command:
AT#EU=C
OK
To add a 100 tickets to the existing ones (if the sum is greater than the limit they will be set to 999):
AT#EU=T,+44123456,Mark,,,,+100
OK
|