{"action":"created","issue":{"url":"https://api.github.com/repos/nied/TellCore/issues/3","labels_url":"https://api.github.com/repos/nied/TellCore/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/nied/TellCore/issues/3/comments","events_url":"https://api.github.com/repos/nied/TellCore/issues/3/events","html_url":"https://github.com/nied/TellCore/pull/3","id":104473332,"number":3,"title":"Mixed up event handlers","user":{"login":"johanclasson","id":10547631,"avatar_url":"https://avatars.githubusercontent.com/u/10547631?v=3","gravatar_id":"","url":"https://api.github.com/users/johanclasson","html_url":"https://github.com/johanclasson","followers_url":"https://api.github.com/users/johanclasson/followers","following_url":"https://api.github.com/users/johanclasson/following{/other_user}","gists_url":"https://api.github.com/users/johanclasson/gists{/gist_id}","starred_url":"https://api.github.com/users/johanclasson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johanclasson/subscriptions","organizations_url":"https://api.github.com/users/johanclasson/orgs","repos_url":"https://api.github.com/users/johanclasson/repos","events_url":"https://api.github.com/users/johanclasson/events{/privacy}","received_events_url":"https://api.github.com/users/johanclasson/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-02T12:50:42Z","updated_at":"2015-09-03T05:26:59Z","closed_at":"2015-09-03T05:20:53Z","pull_request":{"url":"https://api.github.com/repos/nied/TellCore/pulls/3","html_url":"https://github.com/nied/TellCore/pull/3","diff_url":"https://github.com/nied/TellCore/pull/3.diff","patch_url":"https://github.com/nied/TellCore/pull/3.patch"},"body":"I was working on a wrapper around TelldusCore.dll myself when I stumbled on your project. After I had read through your code I found something that did not look right:\r\n\r\n1) Can only unregister callback deviceStateChangedCallbackId if I had previously registered for deviceChanged.\r\n2) Will call tdRegisterRawDeviceEvent every time I register for RawDeviceEvent, if I have not aldready registred for DeviceStateChanged, which in turn prevents tdRegisterRawDeviceEvent from being called when I am registring RawDeviceEvent.\r\n3) Can only unregister callback rawDeviceEventCallbackId if I had previously registered for deviceChanged."},"comment":{"url":"https://api.github.com/repos/nied/TellCore/issues/comments/137335445","html_url":"https://github.com/nied/TellCore/pull/3#issuecomment-137335445","issue_url":"https://api.github.com/repos/nied/TellCore/issues/3","id":137335445,"user":{"login":"nied","id":983826,"avatar_url":"https://avatars.githubusercontent.com/u/983826?v=3","gravatar_id":"","url":"https://api.github.com/users/nied","html_url":"https://github.com/nied","followers_url":"https://api.github.com/users/nied/followers","following_url":"https://api.github.com/users/nied/following{/other_user}","gists_url":"https://api.github.com/users/nied/gists{/gist_id}","starred_url":"https://api.github.com/users/nied/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nied/subscriptions","organizations_url":"https://api.github.com/users/nied/orgs","repos_url":"https://api.github.com/users/nied/repos","events_url":"https://api.github.com/users/nied/events{/privacy}","received_events_url":"https://api.github.com/users/nied/received_events","type":"User","site_admin":false},"created_at":"2015-09-03T05:26:59Z","updated_at":"2015-09-03T05:26:59Z","body":"Thanks again, pushed a new version of the NuGet-package as well: https://www.nuget.org/packages/TellCore/0.4.0"}}