4 Commits

Author SHA1 Message Date
1cf4272157 Fixed an error in connect function. 2015-01-05 16:15:14 +09:00
c87c9ac3f9 Fixed a compile error. 2014-11-19 13:23:23 +09:00
e816b1aa28 Update README.md 2014-11-12 08:41:57 +09:00
06a60e31e1 Create README.md 2014-11-11 17:20:46 +09:00
3 changed files with 22 additions and 1 deletions

View File

@ -1162,6 +1162,9 @@
*/
#define WIZCHIP_CRITICAL_ENTER() WIZCHIP.CRIS._enter()
#ifdef _exit
#undef _exit
#endif
/**
* @brief Exit a critical section
*

View File

@ -195,7 +195,7 @@ int8_t connect(uint8_t sn, uint8_t * addr, uint16_t port)
taddr = ((uint32_t)addr[0] & 0x000000FF);
taddr = (taddr << 8) + ((uint32_t)addr[1] & 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;
}
//

18
README.md Normal file
View 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 -->
![ioLibrary](http://wizwiki.net/wiki/lib/exe/fetch.php?media=products:w5500:iolibrary_bsd.jpg "ioLibrary")
- 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