Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Nucleo_NFC03A1_Demo
Diff: CR95HF.h
- Revision:
- 3:12c871b2412d
- Parent:
- 2:c7006765c441
- Child:
- 4:8fce71523e13
--- a/CR95HF.h Fri Aug 31 06:33:12 2018 +0000
+++ b/CR95HF.h Mon Sep 03 15:09:39 2018 +0000
@@ -26,35 +26,19 @@
class CR95HF
{
public:
- /**
- * Constructor
- */
+ /** Constructor */
CR95HF(PinName tx, PinName rx);
~CR95HF();
-
- /**
- * @brief Init the device
- */
uint8_t Init();
-
- /**
- * @brief search the ISO/IEC 15693 tag and get UID
- */
uint8_t ConfigManagerTagHunting();
private:
- /**
- * @brief the serial class
- */
Serial nfcDevice;
- /**
- * @brief sends the commands over uart
- * @param cmd buffer with commands
- * @param len length of the buffer
- */
void nfcWrite(uint8_t cmd[], uint8_t len);
- /**
- * @brief callback for uart rx
- */
+ bool rxMsgComplete;
+ uint8_t rxData[256];
+ uint8_t rxBufPos;
+ uint8_t blub;
+ uint8_t len;
void rxCallbackNFC();
-};
\ No newline at end of file
+};