{"action":"created","issue":{"url":"https://api.github.com/repos/cardid/WebCard/issues/8","labels_url":"https://api.github.com/repos/cardid/WebCard/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/cardid/WebCard/issues/8/comments","events_url":"https://api.github.com/repos/cardid/WebCard/issues/8/events","html_url":"https://github.com/cardid/WebCard/issues/8","id":114458953,"number":8,"title":"t0 or t1","user":{"login":"andreypapp","id":15544383,"avatar_url":"https://avatars.githubusercontent.com/u/15544383?v=3","gravatar_id":"","url":"https://api.github.com/users/andreypapp","html_url":"https://github.com/andreypapp","followers_url":"https://api.github.com/users/andreypapp/followers","following_url":"https://api.github.com/users/andreypapp/following{/other_user}","gists_url":"https://api.github.com/users/andreypapp/gists{/gist_id}","starred_url":"https://api.github.com/users/andreypapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreypapp/subscriptions","organizations_url":"https://api.github.com/users/andreypapp/orgs","repos_url":"https://api.github.com/users/andreypapp/repos","events_url":"https://api.github.com/users/andreypapp/events{/privacy}","received_events_url":"https://api.github.com/users/andreypapp/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-01T09:56:01Z","updated_at":"2015-11-01T16:18:07Z","closed_at":"2015-11-01T16:18:07Z","body":"is there any chance of getting/setting the protocol? (T=0 or T=1). The card i am trying to work with accepts commands in both protocols (low-level in t=0 and applet-based in t=1)\r\n\r\nThanks in advance."},"comment":{"url":"https://api.github.com/repos/cardid/WebCard/issues/comments/152841217","html_url":"https://github.com/cardid/WebCard/issues/8#issuecomment-152841217","issue_url":"https://api.github.com/repos/cardid/WebCard/issues/8","id":152841217,"user":{"login":"cheburashka","id":1056367,"avatar_url":"https://avatars.githubusercontent.com/u/1056367?v=3","gravatar_id":"","url":"https://api.github.com/users/cheburashka","html_url":"https://github.com/cheburashka","followers_url":"https://api.github.com/users/cheburashka/followers","following_url":"https://api.github.com/users/cheburashka/following{/other_user}","gists_url":"https://api.github.com/users/cheburashka/gists{/gist_id}","starred_url":"https://api.github.com/users/cheburashka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cheburashka/subscriptions","organizations_url":"https://api.github.com/users/cheburashka/orgs","repos_url":"https://api.github.com/users/cheburashka/repos","events_url":"https://api.github.com/users/cheburashka/events{/privacy}","received_events_url":"https://api.github.com/users/cheburashka/received_events","type":"User","site_admin":false},"created_at":"2015-11-01T16:18:07Z","updated_at":"2015-11-01T16:18:07Z","body":"Currently, the call to [SCardConnect](https://github.com/cardid/WebCard/blob/master/Reader.cpp#L7) lets the driver select the appropriate protocol. I have not seen cards that support both, so normally a card that supports T=1 will use it and if not it will fall back to T=0. You could change the code to explicitly state the protocol you want to use in that line."}}