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

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!

PN532/munfc/drv/pn532/pn532_frame.h

Committer:
AppNearMe
Date:
2012-11-07
Revision:
10:2af578c635cd

File content as of revision 10:2af578c635cd:

/*
    pn532_frame.h 
    Copyright (c) Donatien Garnier 2012
    donatien.garnier@appnearme.com
    http://www.appnearme.com/
*/


#ifndef PN532_FRAME_H_
#define PN532_FRAME_H_

#ifdef __cplusplus
extern "C" {
#endif

#include "core/fwk.h"
#include "core/buffer.h"

int pn532_frame_send( buffer* pBuf );

int pn532_frame_receive( buffer* pBuf );

int pn532_frame_send_ack( void );

int pn532_frame_send_nack( void );

int pn532_frame_receive_ack_nack( void );

int pn532_frame_available( void );

#ifdef __cplusplus
}
#endif

#endif /* PN532_FRAME_H_ */