Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: mbed-os-nfc04a1 Wiagro-Lanza34-XDot
lib_NDEF_Geo.h
00001 /** 00002 ****************************************************************************** 00003 * @file lib_NDEF_Geo.h 00004 * @author MMY Application Team 00005 * @version $Revision: 2475 $ 00006 * @date $Date: 2016-06-24 12:11:59 +0200 (Fri, 24 Jun 2016) $ 00007 * @brief This file help to manage Geolocation NDEF file. 00008 ****************************************************************************** 00009 * @attention 00010 * 00011 * <h2><center>© COPYRIGHT 2015 STMicroelectronics</center></h2> 00012 * 00013 * Licensed under ST MYLIBERTY SOFTWARE LICENSE AGREEMENT (the "License"); 00014 * You may not use this file except in compliance with the License. 00015 * You may obtain a copy of the License at: 00016 * 00017 * http://www.st.com/myliberty 00018 * 00019 * Unless required by applicable law or agreed to in writing, software 00020 * distributed under the License is distributed on an "AS IS" BASIS, 00021 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, 00022 * AND SPECIFICALLY DISCLAIMING THE IMPLIED WARRANTIES OF MERCHANTABILITY, 00023 * FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. 00024 * See the License for the specific language governing permissions and 00025 * limitations under the License. 00026 * 00027 ****************************************************************************** 00028 */ 00029 00030 /* Define to prevent recursive inclusion -------------------------------------*/ 00031 #ifndef __LIB_NDEF_GEO_H 00032 #define __LIB_NDEF_GEO_H 00033 00034 00035 /* Includes ------------------------------------------------------------------*/ 00036 #include "lib_NDEF.h" 00037 00038 typedef struct 00039 { 00040 char Latitude[20]; 00041 char Longitude[20]; 00042 char Information[100]; 00043 }sGeoInfo; 00044 00045 uint16_t NDEF_ReadGeo( sRecordInfo_t *pRecordStruct, sGeoInfo *pGeoStruct ); 00046 uint16_t NDEF_WriteGeo( sGeoInfo *pGeoStruct, I2C* mi2cChannel ); 00047 void NDEF_PrepareGeoMessage( sGeoInfo *pGeoStruct, uint8_t *pNDEFMessage, uint16_t *size ); 00048 00049 00050 #endif /* __LIB_NDEF_GEO_H */ 00051 00052 /******************* (C) COPYRIGHT 2015 STMicroelectronics *****END OF FILE****/
Generated on Fri Jul 15 2022 08:51:12 by
1.7.2