This is Webservice SDK for mbed. LPCXpresso1769/LPC1768/FRDM-K64F/LPC4088
Fork of libMiMic by
Revision 97:6ca5900a2d68, committed 2014-10-19
- Comitter:
- nyatla
- Date:
- Sun Oct 19 08:44:52 2014 +0000
- Parent:
- 96:e6a0db86988e
- Child:
- 98:6284ce9a0476
- Commit message:
- Bugfix LPC4088 driver; Bugfix mDNS TTL;
Changed in this revision
--- a/core/driver/ethernet/lpc4088/EthDev_LPC4088.c Thu Oct 09 12:49:07 2014 +0000 +++ b/core/driver/ethernet/lpc4088/EthDev_LPC4088.c Sun Oct 19 08:44:52 2014 +0000 @@ -49,7 +49,7 @@ static void stop(void); static void* getRxEthFrame(unsigned short* o_len_of_data); static void nextRxEthFrame(void); -static struct void* allocTxBuf(NyLPC_TUInt16 i_hint,NyLPC_TUInt16* o_size); +static void* allocTxBuf(NyLPC_TUInt16 i_hint,NyLPC_TUInt16* o_size); static void releaseTxBuf(void* i_buf); static void sendTxEthFrame(void* i_buf,unsigned short i_size); static void processTx(void);
--- a/core/net/mdns/NyLPC_cMDnsServer.c Thu Oct 09 12:49:07 2014 +0000 +++ b/core/net/mdns/NyLPC_cMDnsServer.c Sun Oct 19 08:44:52 2014 +0000 @@ -385,7 +385,7 @@ s=TLabelCache_compress(i_ca,obuf); (*(NyLPC_TUInt16*)(obuf+s))=NyLPC_HTONS(NyLPC_TDnsQuestion_QTYPR_PTR); (*(NyLPC_TUInt16*)(obuf+s+2))=NyLPC_HTONS(NyLPC_TDnsQuestion_QCLASS_IN); - (*(NyLPC_TUInt32*)(obuf+s+4))=NyLPC_HTONS(NyLPC_TcMDns_TTL); + (*(NyLPC_TUInt32*)(obuf+s+4))=NyLPC_HTONL(NyLPC_TcMDns_TTL); l=s+2+2+4; //Resourceの書込み