Tamper Switch Interface Callbacks#

These callbacks are contributed by the Tamper Switch Interface plugin.

Functions#

Function Documentation#

emberAfPluginTamperSwitchTamperActiveCallback#

void emberAfPluginTamperSwitchTamperActiveCallback (void )

Tamper is active.

Parameters
TypeDirectionArgument NameDescription
voidN/A

This function is called whenever the tamper switch detects that it has entered the enclosure, thereby activating tamper monitoring.


emberAfPluginTamperSwitchTamperAlarmCallback#

void emberAfPluginTamperSwitchTamperAlarmCallback (void )

Tamper alarm.

Parameters
TypeDirectionArgument NameDescription
voidN/A

This function is called when the plugin detects that the enclosure has been opened.