NFC API for mbed using the MicroNFCBoard as a peripheral

Dependents:   MicroNFCBoardAPI_P2P_Client MicroNFCBoardAPI_Blink MicroNFCBoardAPI_Tag_Emulator MicroNFCBoardAPI_Tag_Reader ... more

Revision:
2:9b0733b8fa95
Parent:
1:1d246e0872c6
diff -r 1d246e0872c6 -r 9b0733b8fa95 micronfcboard.h
--- a/micronfcboard.h	Fri Apr 24 12:59:31 2015 +0000
+++ b/micronfcboard.h	Thu May 14 16:41:27 2015 +0000
@@ -15,6 +15,7 @@
 See the License for the specific language governing permissions and
 limitations under the License.
  */
+
 #ifndef SRC_MICRONFCBOARD_H_
 #define SRC_MICRONFCBOARD_H_
 
@@ -36,7 +37,9 @@
 
   bool connected();
 
-  bool type2();
+  bool type2Tag();
+
+  bool type4Emulator();
 
   bool p2p();
 
@@ -52,7 +55,7 @@
 
   bool ndefSuccess();
 
-  void startPolling();
+  void startPolling(bool readerWriter, bool emulator, bool p2p);
 
   void stopPolling();
 
@@ -64,9 +67,9 @@
 
   bool readNdefText(char* text, size_t maxTextLength);
 
-  void writeNdefUri(char* uri);
+  void writeNdefUri(const char* uri);
 
-  void writeNdefText(char* text);
+  void writeNdefText(const char* lang, const char* text);
 
 protected:
   Transport _transport;