This is Webservice SDK for mbed. LPCXpresso1769/LPC1768/FRDM-K64F/LPC4088

Fork of libMiMic by Ryo Iizuka

Committer:
furutani
Date:
Fri Feb 24 04:43:41 2017 +0000
Revision:
115:fa79286d8ea4
Parent:
109:18f12ac01097
Delete missing include line.; Add parameter "timeout" to TCPSocket::connect(), precv().; Fix to send ARP request to default gateway when connecting to IP address of different segment.;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
nyatla 48:00d211aac2ec 1 /*********************************************************************************
nyatla 48:00d211aac2ec 2 * PROJECT: MiMic
nyatla 48:00d211aac2ec 3 * --------------------------------------------------------------------------------
nyatla 48:00d211aac2ec 4 *
nyatla 48:00d211aac2ec 5 * This file is part of MiMic
nyatla 48:00d211aac2ec 6 * Copyright (C)2011 Ryo Iizuka
nyatla 48:00d211aac2ec 7 *
nyatla 48:00d211aac2ec 8 * MiMic is free software: you can redistribute it and/or modify
nyatla 48:00d211aac2ec 9 * it under the terms of the GNU Lesser General Public License as published
nyatla 48:00d211aac2ec 10 * by the Free Software Foundation, either version 3 of the License, or
nyatla 48:00d211aac2ec 11 * (at your option) any later version.
nyatla 48:00d211aac2ec 12 *
nyatla 48:00d211aac2ec 13 * This program is distributed in the hope that it will be useful,
nyatla 48:00d211aac2ec 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
nyatla 48:00d211aac2ec 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
nyatla 48:00d211aac2ec 16 * GNU General Public License for more details.
nyatla 48:00d211aac2ec 17 *
nyatla 48:00d211aac2ec 18 * You should have received a copy of the GNU Lesser General Public License
nyatla 48:00d211aac2ec 19 * along with this program. If not, see <http://www.gnu.org/licenses/>.
nyatla 48:00d211aac2ec 20 *
nyatla 48:00d211aac2ec 21 * For further information please contact.
nyatla 48:00d211aac2ec 22 * http://nyatla.jp/
nyatla 48:00d211aac2ec 23 * <airmail(at)ebony.plala.or.jp> or <nyatla(at)nyatla.jp>
nyatla 48:00d211aac2ec 24 *
nyatla 48:00d211aac2ec 25 *********************************************************************************/
nyatla 48:00d211aac2ec 26 #ifndef NYLPC_CUUID_H_
nyatla 48:00d211aac2ec 27 #define NYLPC_CUUID_H_
nyatla 48:00d211aac2ec 28 #include "NyLPC_stdlib.h"
nyatla 109:18f12ac01097 29 #include "NyLPC_netif.h"
nyatla 48:00d211aac2ec 30
nyatla 48:00d211aac2ec 31
nyatla 48:00d211aac2ec 32 #ifdef __cplusplus
nyatla 48:00d211aac2ec 33 extern "C" {
nyatla 48:00d211aac2ec 34 #endif /* __cplusplus */
nyatla 48:00d211aac2ec 35
nyatla 48:00d211aac2ec 36
nyatla 48:00d211aac2ec 37 typedef struct NyLPC_TcUuid NyLPC_TcUuid_t;
nyatla 48:00d211aac2ec 38 struct NyLPC_TcUuid
nyatla 48:00d211aac2ec 39 {
nyatla 48:00d211aac2ec 40 NyLPC_TUInt32 f1; //time-L
nyatla 48:00d211aac2ec 41 NyLPC_TUInt16 f2; //time-M
nyatla 48:00d211aac2ec 42 NyLPC_TUInt16 f3; //time-H version
nyatla 48:00d211aac2ec 43 NyLPC_TUInt8 f4; //SQ-H RES
nyatla 48:00d211aac2ec 44 NyLPC_TUInt8 f5; //SQ-L
nyatla 48:00d211aac2ec 45 NyLPC_TUInt8 f6[6];//NODE
nyatla 48:00d211aac2ec 46 };
nyatla 48:00d211aac2ec 47 void NyLPC_cUuid_initialize(NyLPC_TcUuid_t* i_inst);
nyatla 48:00d211aac2ec 48 #define NyLPC_cUuid_finalize(i_inst)
nyatla 48:00d211aac2ec 49
nyatla 48:00d211aac2ec 50 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);
nyatla 48:00d211aac2ec 51
nyatla 48:00d211aac2ec 52 void NyLPC_cUuid_toString(NyLPC_TcUuid_t* i_inst,NyLPC_TChar* i_buf);
nyatla 48:00d211aac2ec 53
nyatla 48:00d211aac2ec 54
nyatla 48:00d211aac2ec 55
nyatla 48:00d211aac2ec 56 #ifdef __cplusplus
nyatla 48:00d211aac2ec 57 }
nyatla 48:00d211aac2ec 58 #endif /* __cplusplus */
nyatla 48:00d211aac2ec 59
nyatla 48:00d211aac2ec 60 #endif /* NYLPC_CUUID_H_ */