The wrapper implements OS dependent services for libweave
The example binaries land in the out/Debug/ directory build all of them at once:
make all-examples
...or one at a time.
make out/Debug/weave_daemon_light
Set disable-user-service-publishing=no in /etc/avahi/avahi-daemon.conf
sudo service avahi-daemon restart
{"userEmail": "me"}
{ "userEmail": "user@google.com", "kind": "weave#registrationTicket", "expirationTimeMs": "1443204934855", "deviceId": "0f8a5ff5-1ef0-ec39-f9d8-66d1caeb9e3d", "creationTimeMs": "1443204694855", "id": "93019287-6b26-04a0-22ee-d55ad23a4226" }
93019287-6b26-04a0-22ee-d55ad23a4226
sudo out/Debug/weave_daemon_sample --registration_ticket=93019287-6b26-04a0-22ee-d55ad23a4226
Publishing service Saving settings to /var/lib/weave/weave_settings.json
sudo cat /var/lib/weave/weave_settings.json
... "device_id": 0f8a5ff5-1ef0-ec39-f9d8-66d1caeb9e3d ...
{ "deviceId": "0f8a5ff5-1ef0-ec39-f9d8-66d1caeb9e3d", "name": "_sample.hello", "component": "sample", "parameters": { "name": "cloud user" } }