Patent ID: 8458382

Claim:
A method in a smart card reader service of a computer device of facilitating communications between the computer device and a smart card reader having an associated smart card, the smart card reader service acting as a relay for commands between a smart card resource manager of the computer device and the smart card reader, the method comprising: receiving, from the smart card resource manager, a first command destined for the smart card, the first command for setting a protocol for communications with the smart card; prior to receiving, via the smart card reader, any reply from the smart card to the first command, responding to the smart card resource manager with a message indicating that the smart card has successfully received the first command; relaying the first command to the smart card reader through a wireless communication link; receiving, from the smart card resource manager, a second command destined for the smart card; relaying the second command to the smart card reader through the wireless communication link; receiving, from the smart card reader through the wireless communication link, a response to the second command; and relaying the response to the smart card resource manager, wherein, responsive to the first command having failed at the smart card, the response includes an indication of failure of the second command at the smart card.