Tamper Switch Interface Callbacks#
These callbacks are contributed by the Tamper Switch Interface plugin.
Function Documentation#
emberAfPluginTamperSwitchTamperActiveCallback#
void emberAfPluginTamperSwitchTamperActiveCallback (void )
Tamper is active.
Parameters
Type | Direction | Argument Name | Description |
---|---|---|---|
void | N/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
Type | Direction | Argument Name | Description |
---|---|---|---|
void | N/A |
This function is called when the plugin detects that the enclosure has been opened.