☑ Server and Client Functionality: The CoAP gateway acts as both a server and a client, facilitating communication with IoT devices through a single connection.
☑ OCF Specification Compliance: The CoAP gateway adheres to the OCF specification for IoT devices, ensuring compatibility and interoperability with other OCF-compliant devices.
☑ Device Authentication: The CoAP gateway supports multiple authentication methods, including OCF identity certificate, any certificate, and disable authentication, providing flexibility in verifying device credentials.
☑ Device Authorization: Devices are authorized to access the IoT hub based on the JWT token provided, either by requiring a device ID claim or validating the overall token’s validity.
☑ Device Twin Synchronization: After authentication, the CoAP gateway synchronizes the device twin by subscribing to device resources, forwarding changes to the IoT hub, and ensuring an accurate representation of the device’s state.
☑ Event Processing: The CoAP gateway subscribes to events from the IoT hub and converts them into CoAP commands, allowing seamless communication with devices during the device twin synchronization process.
☑ Time Resource: The CoAP gateway provides the current time to authenticated devices, allowing them to synchronize their internal clocks.
☑ Device Twin Synchronization with ETAG: Implementing the ETAG mechanism will ensure that device twin synchronization occurs only when the device’s state has changed since the last synchronization. This optimization reduces unnecessary data transfer between the CoAP gateway and the IoT hub, enhancing performance when the device is online.
☑ Monitoring Device Connectivity: Monitors device connectivity status to determine if a device is online or offline.
☐ Device Logging: Introduce device logging capabilities to record detailed activity logs of each device. The logs can be forwarded to the Open Telemetry collector for further analysis and monitoring purposes.
☐ OpenTelemetry Metrics: The CoAP gateway will incorporate OpenTelemetry metrics, providing detailed insights into the gateway’s performance and resource utilization. This feature will allow for comprehensive monitoring and analysis of the gateway’s behavior.