dominicusmento / CSharpTradFriLibrary

This is a .NET Standard (2.0) library to communicate with the IKEA Home (Tradfri) ZigBee-based Gateway.
GNU General Public License v3.0
37 stars 20 forks source link

Added CoAP Observe implementation on DeviceController #14

Closed coriumalpha closed 5 years ago

coriumalpha commented 5 years ago

This method observes a device and takes actions on each device update, it also provides the TradFriDevice to callback function. It is important to know that when the application using this method is being run by the debugger, there may be some troubles on mantaining the EndPoint's port open. This issue is related to Window's Firewall and does not occur when running a published client (it asks for network permissions). The time that the non ephemeral port will last open depends on Windows version. CoAP-CSharp Observe Notes