![FALCOM DISCO-B5-MAGNET Hardware Manual Download Page 25](http://html1.mh-extra.com/html/falcom/disco-b5-magnet/disco-b5-magnet_hardware-manual_3257196025.webp)
DISCO-B5-MAGNET H
ARDWARE
M
ANUAL
V
ERSION
1.0.1
The light/dark sensor inside the device which is connected to the I/O1 pin (known from the
DISCO-B4 device) can be set to set to signal that the device has been opened or closed. This
feature is called "Anti-tamper detection
".
The Anti-tamper detection system supports two
events
IO.e0=redge
and
IO.e0=fedge
. The Anti-tamper detection is configurable using the
event
IO.e0=redge
when the device case is opened and
IO.e0=fedge
when the device case is
closed.
To configure the operation condition of the light/dark sensor, you have to send the following
configuration settings to the device:
$PFAL,CNF.Set,IO0.CFG=DI,5.000,8.000
The recommended AiWu settings for waking up automatically the device when opening it:
Sys.Device.Sleep=ExtPwAiWu=0,1.5
Examples how to configure these events are given below:
PFAL,Cnf.Set,AL1=IO.e0=redge:GSM.SMS.Send,"+491111111",8,"Opening detected"
PFAL,Cnf.Set,AL2=IO.e0=fedge:GSM.SMS.Send,"+491111111",8,"Closing detected"
The first alarm automatically sends an alert message with the last known position to the
user/contact when the device case has been opened and the second alarm when the device
case has been closed.
PFAL,Cnf.Set,AL3=IO.e0=redge:TCP.Client.Send,8,"Opening detected"
PFAL,Cnf.Set,AL4=IO.e0=fedge:TCP.Client.Send,8,"Closing detected"
The first alarm automatically sends an alert message with the last known position to the
remote server when the device case has been opened and the second alarm when the device
case has been closed.
This confidential document is a property of FALCOM and may not be copied or circulated without previous permission.
Page 25 of 35