{"action":"closed","issue":{"url":"https://api.github.com/repos/broughtong/LibMercuryRFID/issues/1","repository_url":"https://api.github.com/repos/broughtong/LibMercuryRFID","labels_url":"https://api.github.com/repos/broughtong/LibMercuryRFID/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/broughtong/LibMercuryRFID/issues/1/comments","events_url":"https://api.github.com/repos/broughtong/LibMercuryRFID/issues/1/events","html_url":"https://github.com/broughtong/LibMercuryRFID/issues/1","id":149401442,"number":1,"title":"tagCallbcack in libmercuryrfid.c","user":{"login":"MFernandezCarmona","id":16796642,"avatar_url":"https://avatars.githubusercontent.com/u/16796642?v=3","gravatar_id":"","url":"https://api.github.com/users/MFernandezCarmona","html_url":"https://github.com/MFernandezCarmona","followers_url":"https://api.github.com/users/MFernandezCarmona/followers","following_url":"https://api.github.com/users/MFernandezCarmona/following{/other_user}","gists_url":"https://api.github.com/users/MFernandezCarmona/gists{/gist_id}","starred_url":"https://api.github.com/users/MFernandezCarmona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MFernandezCarmona/subscriptions","organizations_url":"https://api.github.com/users/MFernandezCarmona/orgs","repos_url":"https://api.github.com/users/MFernandezCarmona/repos","events_url":"https://api.github.com/users/MFernandezCarmona/events{/privacy}","received_events_url":"https://api.github.com/users/MFernandezCarmona/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-19T09:24:20Z","updated_at":"2016-04-20T21:16:14Z","closed_at":"2016-04-20T21:16:14Z","body":"Just detected an error in this function. Where it says\r\n`sprintf(msg, \"%i:%s:%d:%i:%i:%i:%ui\", readerLocation, tagID, t->rssi, t->phase, t->frequency, t->timestampHigh, t->timestampLow);\r\n`\r\nIt should be:\r\n`sprintf(msg, \"%i:%s:%d:%i:%i:%u:%u\", readerLocation, tagID, t->rssi, t->phase, t->frequency, t->timestampHigh, t->timestampLow);`\r\nSo timestamps are printed as unsigned integers and without the extra 'i' at the end.\r\n\r\nAlso I found out how to cast timestampHigh and Low to unix miliseconds timestamps:\r\n`uint64_t timestamp = ((uint64_t) t->timestampHigh<< 32 ) | t->timestampLow;`\r\n\r\nCheers!"}}