14 lines
273 B
C++
14 lines
273 B
C++
|
#include <SpejsNode.h>
|
||
|
#include <endpoints/OutputEndpoint.h>
|
||
|
#include <endpoints/DHTEndpoint.h>
|
||
|
|
||
|
SpejsNode node("unconfigured-generic-device");
|
||
|
|
||
|
void init() {
|
||
|
node.init();
|
||
|
node.loadJSON({
|
||
|
&OutputEndpoint::fromJSON,
|
||
|
&DHTEndpoint::fromJSON,
|
||
|
});
|
||
|
}
|