Move $fw/slot over to $implementation, don't publish $type on $implementation
parent
e264d9279e
commit
9098670b47
|
@ -156,7 +156,7 @@ void SpejsNode::onConnected() {
|
|||
notify("$mac", WifiStation.getMAC());
|
||||
notify("$fw/name", "spejsiot");
|
||||
notify("$fw/version", BUILD_ID);
|
||||
notify("$fw/slot", String(currentSlot));
|
||||
notify("$implementation/slot", String(currentSlot));
|
||||
|
||||
// HTTP initialization
|
||||
http.listen(80);
|
||||
|
|
|
@ -9,7 +9,8 @@ protected:
|
|||
rBootHttpUpdate* otaUpdater = 0;
|
||||
|
||||
public:
|
||||
ImplementationEndpoint() : Endpoint("$implementation") {}
|
||||
// Use empty endpoint type to just keep it unpublished
|
||||
ImplementationEndpoint() : Endpoint("") {}
|
||||
|
||||
EndpointResult onValue(String property, String value);
|
||||
void otaUpdateCallback(rBootHttpUpdate& updater, bool result);
|
||||
|
|
Loading…
Reference in New Issue