DSWifi lib release, version 0.3 Copyright (C) 2005 Stephen Stair - sgstair@akkit.org - http://www.akkit.org DSWifi Lib and test materials are licenced under the MIT open source licence: Copyright (c) 2005 Stephen Stair Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ============================ Finally, once again, a new release of the dswifi lib is at hand! This version clears up a huge number of issues from the previous lib and adds an equally large number of new features - they are all listed below in the release notes. If you do find a bug (especially a serious one) in the lib somewhere, or would like to request a feature that doesn't presently exist in the lib, feel free to bother me about it; I can be found on #dswifi on EFnet, you can comment on my blog if you like, otherwise my contact information is available on my website if you look for it. -Stephen http://www.akkit.org/ http://blog.akkit.org/ ============================ Naming: ============================ I've named the debug build of the lib libdswifi9d.a and libdswifi7d.a I've named the release build of the lib libdswifi9r.a and libdswifi7r.a And the project itself just spits out lib names without the appended 'd' and 'r'. The general purpose of this is just to not have the debug/release reference builds overwritten if anyone starts playing around. ============================ Installation: ============================ To install the library, I would suggest you copy the libdswifi*.a files into your libnds/lib directory, and copy the include files (dswifi*.h, and the berkley emulation files) into your libnds/include directory. Then, to include the proper libraries in a project, you can add the -ldswifi* to your LIBS define in the makefile for the project you're building. ============================ Known Bugs and other issues: ============================ * Promiscuous mode isn't very promiscuous yet (still being worked on) * IP fragmentation is not yet supported ============================ Release notes: ============================ Version 0.3: * WEP is now working * DHCP has been implemented * basic ICMP support was added, you can ping the DS. * a rough DNS implementation was added * TCP support has been added, but still may be rough in some areas. * Berkley sockets emulation expanded to properly support blocking and non-blocking sockets, for TCP and UDP * some additional checksum bugs have been squashed * memblock code was rewritten to be purely dynamic * LED blinking control code added * Library now loads and can use Nintendo WFC data from the firmware to connect to a router automaticly * Library now supports "instant" notification of updates using DS FIFO * Library now mostly supports setting errno when bad things happen * Some smaller examples have been built to provide a nicer "starting point" for new projects than the enormous wifi lib test. * Probably a bundle of other small things I'm failing to remember Version 0.2b: * Fixed incoming UDP checksum problems on odd length packets * Probably fixed issue with transmit locking up. Transmit is far more stable now. Version 0.2a: * Fixed Crash bug in ARP timeout code * Changed Associacion code to associate faster and more reliably, and codebase now includes rate spoofing to connect to a wider range of APs * ([0.2a_1] fixed a possible sync crash causing whitescreens in the test app) * ([0.2a_2] fixed another bug in ARP code, and made it more reliable in general.) (didn't actually make it out into 0.2a_2 though, oops. - fix is in 0.2b though) Version 0.2: (Initial release) * Things that are done and working nicely are: AP listing, association, and UDP... * Things that are not complete and are still being worked on are: IP fragmentation, TCP, DNS, and DHCP (and WEP)