This is Webservice SDK for mbed. LPCXpresso1769/LPC1768/FRDM-K64F/LPC4088
Dependents: MbedFileServer_1768MiniDK2 RedWireBridge IssueDebug_gcc MiMicRemoteMCU-for-Mbed ... more
NyLPC_cUuid.h
00001 /********************************************************************************* 00002 * PROJECT: MiMic 00003 * -------------------------------------------------------------------------------- 00004 * 00005 * This file is part of MiMic 00006 * Copyright (C)2011 Ryo Iizuka 00007 * 00008 * MiMic is free software: you can redistribute it and/or modify 00009 * it under the terms of the GNU Lesser General Public License as published 00010 * by the Free Software Foundation, either version 3 of the License, or 00011 * (at your option) any later version. 00012 * 00013 * This program is distributed in the hope that it will be useful, 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 * GNU General Public License for more details. 00017 * 00018 * You should have received a copy of the GNU Lesser General Public License 00019 * along with this program. If not, see <http://www.gnu.org/licenses/>. 00020 * 00021 * For further information please contact. 00022 * http://nyatla.jp/ 00023 * <airmail(at)ebony.plala.or.jp> or <nyatla(at)nyatla.jp> 00024 * 00025 *********************************************************************************/ 00026 #ifndef NYLPC_CUUID_H_ 00027 #define NYLPC_CUUID_H_ 00028 #include "NyLPC_stdlib.h" 00029 #include "NyLPC_netif.h" 00030 00031 00032 #ifdef __cplusplus 00033 extern "C" { 00034 #endif /* __cplusplus */ 00035 00036 00037 typedef struct NyLPC_TcUuid NyLPC_TcUuid_t; 00038 struct NyLPC_TcUuid 00039 { 00040 NyLPC_TUInt32 f1; //time-L 00041 NyLPC_TUInt16 f2; //time-M 00042 NyLPC_TUInt16 f3; //time-H version 00043 NyLPC_TUInt8 f4; //SQ-H RES 00044 NyLPC_TUInt8 f5; //SQ-L 00045 NyLPC_TUInt8 f6[6];//NODE 00046 }; 00047 void NyLPC_cUuid_initialize(NyLPC_TcUuid_t* i_inst); 00048 #define NyLPC_cUuid_finalize(i_inst) 00049 00050 void NyLPC_cUuid_setTimeBase(NyLPC_TcUuid_t* i_inst,NyLPC_TUInt32 i_time_l,NyLPC_TUInt32 i_time_h,NyLPC_TUInt16 i_seq,struct NyLPC_TEthAddr* eth_mac); 00051 00052 void NyLPC_cUuid_toString(NyLPC_TcUuid_t* i_inst,NyLPC_TChar* i_buf); 00053 00054 00055 00056 #ifdef __cplusplus 00057 } 00058 #endif /* __cplusplus */ 00059 00060 #endif /* NYLPC_CUUID_H_ */
Generated on Tue Jul 12 2022 15:46:17 by 1.7.2