{"action":"created","issue":{"url":"https://api.github.com/repos/google/eddystone/issues/39","labels_url":"https://api.github.com/repos/google/eddystone/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/google/eddystone/issues/39/comments","events_url":"https://api.github.com/repos/google/eddystone/issues/39/events","html_url":"https://github.com/google/eddystone/issues/39","id":97748974,"number":39,"title":"ios-eddystone-scanner-sample ignore UID beacons that include RFU bytes","user":{"login":"sandeepmistry","id":1163840,"avatar_url":"https://avatars.githubusercontent.com/u/1163840?v=3","gravatar_id":"","url":"https://api.github.com/users/sandeepmistry","html_url":"https://github.com/sandeepmistry","followers_url":"https://api.github.com/users/sandeepmistry/followers","following_url":"https://api.github.com/users/sandeepmistry/following{/other_user}","gists_url":"https://api.github.com/users/sandeepmistry/gists{/gist_id}","starred_url":"https://api.github.com/users/sandeepmistry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandeepmistry/subscriptions","organizations_url":"https://api.github.com/users/sandeepmistry/orgs","repos_url":"https://api.github.com/users/sandeepmistry/repos","events_url":"https://api.github.com/users/sandeepmistry/events{/privacy}","received_events_url":"https://api.github.com/users/sandeepmistry/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-28T16:33:09Z","updated_at":"2015-07-28T18:13:13Z","closed_at":null,"body":"As per the Eddystone-UID Frame Specification the frame size is 20 bytes, with the last 2 bytes having a value of 0 and RFU.\r\n\r\nHowever, the ios-eddystone-scanner-sample code checks that the frame size is equal to the size of [```ESSEddystoneUIDFrameFields```](https://github.com/google/eddystone/blob/master/tools/ios-eddystone-scanner-sample/EddystoneScannerSample/ESSEddystone.m#L40) (18 bytes). This structure does not include the 2 RFU bytes.\r\n\r\nhttps://github.com/google/eddystone/blob/master/tools/ios-eddystone-scanner-sample/EddystoneScannerSample/ESSEddystone.m#L170\r\n\r\nThe Android eddystone-validator tool, check that the last 2 bytes of the 20 byte frame are set to zero.\r\n\r\nhttps://github.com/google/eddystone/blob/master/tools/eddystone-validator/EddystoneValidator/app/src/main/java/com/google/sample/eddystonevalidator/UidValidator.java#L76\r\n\r\nDoes the iOS scanner example need to be corrected?\r\n"},"comment":{"url":"https://api.github.com/repos/google/eddystone/issues/comments/125700507","html_url":"https://github.com/google/eddystone/issues/39#issuecomment-125700507","issue_url":"https://api.github.com/repos/google/eddystone/issues/39","id":125700507,"user":{"login":"marcwan","id":525058,"avatar_url":"https://avatars.githubusercontent.com/u/525058?v=3","gravatar_id":"","url":"https://api.github.com/users/marcwan","html_url":"https://github.com/marcwan","followers_url":"https://api.github.com/users/marcwan/followers","following_url":"https://api.github.com/users/marcwan/following{/other_user}","gists_url":"https://api.github.com/users/marcwan/gists{/gist_id}","starred_url":"https://api.github.com/users/marcwan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcwan/subscriptions","organizations_url":"https://api.github.com/users/marcwan/orgs","repos_url":"https://api.github.com/users/marcwan/repos","events_url":"https://api.github.com/users/marcwan/events{/privacy}","received_events_url":"https://api.github.com/users/marcwan/received_events","type":"User","site_admin":false},"created_at":"2015-07-28T18:13:13Z","updated_at":"2015-07-28T18:13:13Z","body":"Hi Christopher. Nice spotting  that we're a little inconsistent here ^_^. Let me talk w some folks here and see what the right way to deal with this is."}}