From 23bc4ea3e4d929b9b6c07a475acbe523f072afad Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Sun, 21 Feb 2021 08:04:53 +0100 Subject: [PATCH] Content update --- README.md | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7a9e769..980ddd7 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,28 @@ Returns the response $apdu as string or FALSE. ### scard_status($connection); -Returns the status or FALSE. +Returns the status array or FALSE. + +#### Example: + +``` +array(7) { + ["state"]=> + int(52) + ["SCARD_PRESENT"]=> + int(1) + ["SCARD_POWERED"]=> + int(1) + ["SCARD_NEGOTIABLE"]=> + int(1) + ["SCARD_PROTOCOL_T0"]=> + int(1) + ["PROTOCOL"]=> + string(3) "T=1" + ["ATR"]=> + string(28) "3B8980014A434F5033315632324A" +} +``` ### scard_cancel($context);