AppNearMe µNFC stack for the NXP PN532 chip License: You can use the stack free of charge to prototype with mbed; if you want to use the stack with your commercial product, get in touch!

Dependents:   IOT_sensor_nfc AppNearMe_MuNFC_PN532_Test p2p_nfc_test NFCMoodLamp ... more

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers pn532_frame.h Source File

pn532_frame.h

00001 /*
00002     pn532_frame.h 
00003     Copyright (c) Donatien Garnier 2012
00004     donatien.garnier@appnearme.com
00005     http://www.appnearme.com/
00006 */
00007 
00008 
00009 #ifndef PN532_FRAME_H_
00010 #define PN532_FRAME_H_
00011 
00012 #ifdef __cplusplus
00013 extern "C" {
00014 #endif
00015 
00016 #include "core/fwk.h"
00017 #include "core/buffer.h"
00018 
00019 int pn532_frame_send( buffer* pBuf );
00020 
00021 int pn532_frame_receive( buffer* pBuf );
00022 
00023 int pn532_frame_send_ack( void );
00024 
00025 int pn532_frame_send_nack( void );
00026 
00027 int pn532_frame_receive_ack_nack( void );
00028 
00029 int pn532_frame_available( void );
00030 
00031 #ifdef __cplusplus
00032 }
00033 #endif
00034 
00035 #endif /* PN532_FRAME_H_ */