Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
1cf4272157 | |||
c87c9ac3f9 | |||
e816b1aa28 | |||
06a60e31e1 |
@ -1162,6 +1162,9 @@
|
|||||||
*/
|
*/
|
||||||
#define WIZCHIP_CRITICAL_ENTER() WIZCHIP.CRIS._enter()
|
#define WIZCHIP_CRITICAL_ENTER() WIZCHIP.CRIS._enter()
|
||||||
|
|
||||||
|
#ifdef _exit
|
||||||
|
#undef _exit
|
||||||
|
#endif
|
||||||
/**
|
/**
|
||||||
* @brief Exit a critical section
|
* @brief Exit a critical section
|
||||||
*
|
*
|
||||||
|
@ -195,7 +195,7 @@ int8_t connect(uint8_t sn, uint8_t * addr, uint16_t port)
|
|||||||
taddr = ((uint32_t)addr[0] & 0x000000FF);
|
taddr = ((uint32_t)addr[0] & 0x000000FF);
|
||||||
taddr = (taddr << 8) + ((uint32_t)addr[1] & 0x000000FF);
|
taddr = (taddr << 8) + ((uint32_t)addr[1] & 0x000000FF);
|
||||||
taddr = (taddr << 8) + ((uint32_t)addr[2] & 0x000000FF);
|
taddr = (taddr << 8) + ((uint32_t)addr[2] & 0x000000FF);
|
||||||
taddr = (taddr << 8) + ((uint32_t)addr[0] & 0x000000FF);
|
taddr = (taddr << 8) + ((uint32_t)addr[3] & 0x000000FF);
|
||||||
if( taddr == 0xFFFFFFFF || taddr == 0) return SOCKERR_IPINVALID;
|
if( taddr == 0xFFFFFFFF || taddr == 0) return SOCKERR_IPINVALID;
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
|
18
README.md
Normal file
18
README.md
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
#ioLibrary Driver
|
||||||
|
The ioLibrary means “Internet Offload Library” for WIZnet chip. It includes drivers and application protocols.
|
||||||
|
The driver (ioLibrary) can be used for [W5500](http://wizwiki.net/wiki/doku.php?id=products:w5500:start) application designs. These will be updated continuously.
|
||||||
|
|
||||||
|
##ioLibrary
|
||||||
|
This driver provides the Berkeley Socket type APIs.
|
||||||
|
- Directory Structure
|
||||||
|
<!-- ioLibrary pic -->
|
||||||
|

|
||||||
|
|
||||||
|
- Ethernet : SOCKET APIs like BSD & WIZCHIP([W5500](http://wizwiki.net/wiki/doku.php?id=products:w5500:start), W5200 and etc) Driver
|
||||||
|
- Internet :
|
||||||
|
- DHCP client
|
||||||
|
- DNS client
|
||||||
|
- Others will be added.
|
||||||
|
|
||||||
|
## Revision History
|
||||||
|
Last release : Nov. 2014
|
Reference in New Issue
Block a user