{"action":"created","issue":{"url":"https://api.github.com/repos/OpenZWave/node-openzwave-shared/issues/96","repository_url":"https://api.github.com/repos/OpenZWave/node-openzwave-shared","labels_url":"https://api.github.com/repos/OpenZWave/node-openzwave-shared/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/OpenZWave/node-openzwave-shared/issues/96/comments","events_url":"https://api.github.com/repos/OpenZWave/node-openzwave-shared/issues/96/events","html_url":"https://github.com/OpenZWave/node-openzwave-shared/issues/96","id":155167661,"number":96,"title":"Provide API for OpenZWave statistics functions","user":{"login":"shanemadden","id":3057436,"avatar_url":"https://avatars.githubusercontent.com/u/3057436?v=3","gravatar_id":"","url":"https://api.github.com/users/shanemadden","html_url":"https://github.com/shanemadden","followers_url":"https://api.github.com/users/shanemadden/followers","following_url":"https://api.github.com/users/shanemadden/following{/other_user}","gists_url":"https://api.github.com/users/shanemadden/gists{/gist_id}","starred_url":"https://api.github.com/users/shanemadden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shanemadden/subscriptions","organizations_url":"https://api.github.com/users/shanemadden/orgs","repos_url":"https://api.github.com/users/shanemadden/repos","events_url":"https://api.github.com/users/shanemadden/events{/privacy}","received_events_url":"https://api.github.com/users/shanemadden/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-17T03:10:22Z","updated_at":"2016-05-17T18:47:33Z","closed_at":null,"body":"Hopefully not too big of a task, but definitely a feature request: it'd be great to have the OpenZWave `GetDriverStatistics` and `GetNodeStatistics` API calls exposed through the library to be able to fetch the stats data.\r\n\r\nThanks for the great work on this!"},"comment":{"url":"https://api.github.com/repos/OpenZWave/node-openzwave-shared/issues/comments/219815646","html_url":"https://github.com/OpenZWave/node-openzwave-shared/issues/96#issuecomment-219815646","issue_url":"https://api.github.com/repos/OpenZWave/node-openzwave-shared/issues/96","id":219815646,"user":{"login":"shanemadden","id":3057436,"avatar_url":"https://avatars.githubusercontent.com/u/3057436?v=3","gravatar_id":"","url":"https://api.github.com/users/shanemadden","html_url":"https://github.com/shanemadden","followers_url":"https://api.github.com/users/shanemadden/followers","following_url":"https://api.github.com/users/shanemadden/following{/other_user}","gists_url":"https://api.github.com/users/shanemadden/gists{/gist_id}","starred_url":"https://api.github.com/users/shanemadden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shanemadden/subscriptions","organizations_url":"https://api.github.com/users/shanemadden/orgs","repos_url":"https://api.github.com/users/shanemadden/repos","events_url":"https://api.github.com/users/shanemadden/events{/privacy}","received_events_url":"https://api.github.com/users/shanemadden/received_events","type":"User","site_admin":false},"created_at":"2016-05-17T18:47:33Z","updated_at":"2016-05-17T18:47:33Z","body":"Haha, fair enough - in that case, make sure my understanding is right before I start hacking at it..\r\n\r\nBecause these calls expect passed in pointers to `Driver::DriverData`/`Node::NodeData` structs for them to populate with the return data, the nan wrapper will need to create the struct, pass the pointer to the OZW call, then harvest the result data out of that struct into a nan object to be returned.  It looks like `GetNodeNeighbors` is working in a similar way, just using an int array instead of a struct (and returning an array instead of an object) - am I missing anything glaring?"}}