** In the api add ykp_ndef_as_text() to export the text from a YK_NDEF structure.
+** Higher timeout for configuration writes as in particular swap can take
+longer than 600 ms.
+
* Version 1.9.0 (released 2012-11-08)
** ykinfo: New tool to print information about YubiKey.
/*
* Yubikey low-level interface section 2.4 (Report arbitration polling) specifies
* a 600 ms timeout for a Yubikey to process something written to it.
+ * Where can that document be found?
+ * It has been discovered that for swap 600 is not enough, swapping can worst
+ * case take 920 ms, which we then add 25% to for safety margin, arriving at
+ * 1150 ms.
*/
-#define WAIT_FOR_WRITE_FLAG 600
+#define WAIT_FOR_WRITE_FLAG 1150
int yk_init(void)
{