Endpoint Entity Functions
Sep 28 2022 at 12:00 AM
Is Endpoint Active
Function Description:
This function checks if an endpoint is active. In other words, whether the endpoint is linked to a gateway routing path.
Function Structure:
Inputs Required:
- Endpoint ID - It is the specific normal endpoint you are looking at. It can be of any data type.
Output Expected:
- Boolean - The output returned is a boolean (true/false). True if the endpoint is active (linked to a gateway), and false if not active (not linked to a gateway).
Use Case Example(s):
Example | Endpoint ID | Endpoint ID Gateway Path | Is Endpoint Active Output |
---|---|---|---|
1 | Motorbike/Telemetry/Engine Speed | 123ABC.RAPTOR|MOTORBIKE:TELEMETRY|ENGINE.SPEED | TRUE |
2 | Motorbike/Telemetry/Oil Temperature | (blank) | FALSE |
3 | CellTowerA/Alarms/Intruder | 789XYZ.RAPTOR|CELLSITE:ALARMS|SECURITY.INTRUDER | TRUE |
4 | CellTowerA/Alarms/Intruder | (blank) | FALSE |
Use Case Scenario(s):
1. Check all telemetry endpoints coming from a device in a gateway. If any of these endpoints are listed as not active, send an sms to investigate the configuration of the sensor, device and/or gateway. Figure 2 - Is Endpoint Active Scenario demonstrates this build visually.