I# 1. Add a user: # P|||||||||| # This command adds a new user to the system. # CREDENTIAL is the key, card or PIN number (the full 32 bits including the site code if applicable for a card system). # TYPE is C for a card, K for a key and P for a PIN. It determines the field in the user database which is used to store the credential. # USERNAME is the name of the user. # ACCESS LEVEL NAME is the name of the access level. If this name doesn't exist in the access level list the message will be ignored # DATA 1 is the first optional data field. # DATA 2 is the second optional data field # ACTIVATION DATE/ ACTIVATION TIME is for when the user is activated in the format of DDMMYY and HHMM respectively. # DEACTIVATION DATE/ DEACTIVATION TIME is for when the user is deactivated in the format DDMMYY and HHMM respectively # Add a user 'John Smith' to access level 'ACCESS DOOR 1' from 2pm 19/2/2015 to 3pm 19/2/2015 P|1234|P|John Smith|ACCESS DOOR 1|description 1|description 2|190215|1400|190215|1500 # 2: delete a user # M,,,DELETE # This command searches for a user with the appropriate credential (taking into account the type C, K or P) and deletes if it exists. M,1234,P,DELETE