CR95F X-Nucleo NFC03A1 Shield STM
Dependents: Nucleo_NFC03A1_Demo
Diff: CR95HF.h
- Revision:
- 3:12c871b2412d
- Parent:
- 2:c7006765c441
- Child:
- 4:8fce71523e13
diff -r c7006765c441 -r 12c871b2412d CR95HF.h --- 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 +};