{"action":"closed","issue":{"url":"https://api.github.com/repos/fuzxxl/nfc/issues/5","labels_url":"https://api.github.com/repos/fuzxxl/nfc/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/fuzxxl/nfc/issues/5/comments","events_url":"https://api.github.com/repos/fuzxxl/nfc/issues/5/events","html_url":"https://github.com/fuzxxl/nfc/issues/5","id":85149083,"number":5,"title":"Initiator Target Selection?","user":{"login":"wildattire","id":389543,"avatar_url":"https://avatars.githubusercontent.com/u/389543?v=3","gravatar_id":"","url":"https://api.github.com/users/wildattire","html_url":"https://github.com/wildattire","followers_url":"https://api.github.com/users/wildattire/followers","following_url":"https://api.github.com/users/wildattire/following{/other_user}","gists_url":"https://api.github.com/users/wildattire/gists{/gist_id}","starred_url":"https://api.github.com/users/wildattire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wildattire/subscriptions","organizations_url":"https://api.github.com/users/wildattire/orgs","repos_url":"https://api.github.com/users/wildattire/repos","events_url":"https://api.github.com/users/wildattire/events{/privacy}","received_events_url":"https://api.github.com/users/wildattire/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fuzxxl/nfc/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":{"login":"fuzxxl","id":328433,"avatar_url":"https://avatars.githubusercontent.com/u/328433?v=3","gravatar_id":"","url":"https://api.github.com/users/fuzxxl","html_url":"https://github.com/fuzxxl","followers_url":"https://api.github.com/users/fuzxxl/followers","following_url":"https://api.github.com/users/fuzxxl/following{/other_user}","gists_url":"https://api.github.com/users/fuzxxl/gists{/gist_id}","starred_url":"https://api.github.com/users/fuzxxl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fuzxxl/subscriptions","organizations_url":"https://api.github.com/users/fuzxxl/orgs","repos_url":"https://api.github.com/users/fuzxxl/repos","events_url":"https://api.github.com/users/fuzxxl/events{/privacy}","received_events_url":"https://api.github.com/users/fuzxxl/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-06-04T15:33:44Z","updated_at":"2015-06-04T18:08:28Z","closed_at":"2015-06-04T18:08:28Z","body":"This is more of a documentation issue than a bug. It's not at all clear how you actually select a target once you've listed them.\r\n\r\nI can get a Target enumerated from Device#InitiatorListPassiveTargets(), but how do I select it?\r\n\r\n1. There is no Select() method on the Target interface\r\n2. There IS a Device#InitiatorSelectPassiveTarget(), but there is no documentation on what the meaning of the second parameter initData is. What is supposed to be passed there? Simply passing a []byte{0} results in the following error:\r\n\r\nerror\tlibnfc.driver.acr122_usb\tInvalid RDR_to_PC_DataBlock frame\r\npanic: input / output error\r\n\r\nI've tried a number of approaches, none of which seem to work, and I can't find any documentation or examples for this.\r\n\r\nThanks.\r\n"}}