libNDEF library for the STMicroelectronics X-NUCLEO-NFC04A1
Dependents: mbed-os-nfc04a1 Wiagro-Lanza34-XDot
Diff: lib_wrapper.h
- Revision:
- 0:de13951f30f6
diff -r 000000000000 -r de13951f30f6 lib_wrapper.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lib_wrapper.h Thu Nov 14 10:34:11 2019 +0000 @@ -0,0 +1,49 @@ +/** + ****************************************************************************** + * @file lib_wrapper.h + * @author MMY Application Team + * @version $Revision: 2702 $ + * @date $Date: 2016-07-13 18:45:05 +0200 (Wed, 13 Jul 2016) $ + * @brief This file help to have upper layer independent from HW + ****************************************************************************** + * @attention + * + * <h2><center>© COPYRIGHT 2015 STMicroelectronics</center></h2> + * + * Licensed under ST MYLIBERTY SOFTWARE LICENSE AGREEMENT (the "License"); + * You may not use this file except in compliance with the License. + * You may obtain a copy of the License at: + * + * http://www.st.com/myliberty + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, + * AND SPECIFICALLY DISCLAIMING THE IMPLIED WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. + * See the License for the specific language governing permissions and + * limitations under the License. + * + ****************************************************************************** + */ + +/* Define to prevent recursive inclusion -------------------------------------*/ +#ifndef __LIB_WRAPPER_H +#define __LIB_WRAPPER_H + +/* Includes ------------------------------------------------------------------*/ +#include "NDEFcommon.h" +#include "mbed.h" + + + + +uint16_t NfcTag_ReadNDEF( uint8_t* pData, I2C* mi2cChannel ); +uint16_t NfcTag_WriteNDEF(uint16_t Length, uint8_t* pData, I2C* mi2cChannel ); +uint16_t NfcTag_WriteProprietary(uint16_t Length, uint8_t* pData, I2C* mi2cChannel ); +uint16_t NfcTag_GetLength(uint16_t* Length, I2C* mi2cChannel); + +#endif /* __LIB_WRAPPER_H */ + + +/******************* (C) COPYRIGHT 2015 STMicroelectronics *****END OF FILE****/