cablelabs / micronets-gw

Micronets Gateway Daemon and Distribution #micronets
Other
2 stars 1 forks source link

Add support for setting the NetReach Device "associated" and "connected" flags #57

Closed craigpratt closed 2 years ago

craigpratt commented 3 years ago

A Device object's "associated" flag needs to be set when the wifi Station connects. And the "connected" flag should be set on a Device object when the station gets an address via DHCP.

A Device object's "associated" and "connected" flags should be reset when the wifi station disassociates.

Both of these should be able to be accomplished by using PATCH on the /v1/netreach/<service id>/devices/<device id> endpoint.