Access Control

In this example we set 3 simple rules to realize an access control that activates the opening of a gate when a phone call is received from a user stored in the device

RULE 1

An incoming call from an enabled user will turn on the output 1 for 3 seconds to activate the gate opening system, then hangs up the call: no answer, no charge.
Enabled user means that is within a valid period and has enough ticket.

  • An incoming telephone call from an enabled user triggers the rule
  • We do not set any conditions
  • The first action is the activation of output 1 for 3 seconds
  • The second action is to hang up the call without answer

Image

RULE 2

Device hangs up immediately an incoming call from a disabled user.

  • An incoming telephone call from a disabled user triggers the rule
  • We do not set any conditions
  • The first action is to hang up the call without answer

Image

RULE 3

Device hangs up immediately an incoming call from a unknown.

  • An incoming telephone call from a disabled user triggers the rule
  • We do not set any conditions
  • The first action is to hang up the call without answer

Image

AT COMMANDS

The rules described above can also be set with the following AT commands

AT#ER=XXX_CAE______out1=ON,3_ATH___
AT#ER=XXX_CAD______ATH____
AT#ER=XXX_CAU______ATH____