follower
|
3d3d14263a
|
Use new 'readMatch' routine to match start of the request to simplify state machine.
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@80 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
follower
|
e732cd1a42
|
Add routine to read and match bytes received. (Essentially strcmp replacement without requiring a large receive buffer.) Note that failed matches drop any bytes matched successfully.
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@79 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
follower
|
a099cfd0af
|
Tidy up code by removing now unused rx buffer and other dead code/comments.
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@78 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
follower
|
b2fe6b8e9c
|
Move the byte receiving into a convenience function and stop using the rx buffer.
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@77 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
follower
|
5e9cbb88e0
|
Of course, it might be nice if we change the filename to be consistent too. (Also, the following changes are really 'back-porting' from a demo version I have on local disk.)
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@76 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
follower
|
346522a470
|
Start working on a new 'tidier' version of the webserver demo but keep the old one around so we don't confuse people with a broken one...
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@75 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
follower
|
3d6b27c0e3
|
Fix for Safari not displaying the response correctly--the issue was it displayed the Content-Type header in the page--seemingly due to using '\r' in the response (I thought this was required...). Also change the buffer offset used to change the page background colour to match the corrected response string.
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@74 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
follower
|
3b8dab23f0
|
Apply xSmurf's fix for the order of socket close/disconnect. With this fix Safari isn't left hanging, but the response isn't displayed 100% correct due to another bug--a fix for that comes up next.
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@73 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
follower
|
504380217e
|
Now we've copied xSmurf's PROGMEM and other changes to his branch we'll back them out from here for now as they require SPrint from cral which we don't yet supply by default (this caused problems for people trying out the code in its current state.).
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@72 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
follower
|
580cf788fe
|
Copy xsmurf's PROGMEM and other changes into a branch so we don't lose them.
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@71 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
follower
|
7004c8a934
|
Add branch for xsmurf's code.
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@70 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
mlalondesvn
|
9ae608bfa9
|
MODIF - Moved debug output to progmem functions
FIXED - Unexpected connection closing issue: close() before disconnect()
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@69 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
follower
|
290ba148fd
|
Add initial 'web server' flashing LED URL pattern demo.
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@68 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
follower
|
da32f20570
|
Clarify the install instructions a little as to which files go where.
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@67 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
follower
|
2a5e2e31c6
|
Add comments to initialisation code. Remove debug prints. Remove some (probably) unnecessary comments.
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@66 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
follower
|
215a3deaf2
|
Move module and driver initialisation code into separate function.
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@65 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
follower
|
137136833f
|
Fiddle some comment formatting.
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@64 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
follower
|
b2ec2cb92e
|
Pull SPI configuration into separate function.
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@63 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
follower
|
87a68cad36
|
Remove defines used by pre-driver-port SPI code.
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@62 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
follower
|
24953c0e31
|
Remove some unnecessary debug code.
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@61 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
follower
|
ad0428f2a8
|
Remove comments associated with removed pre-driver-port code.
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@60 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
follower
|
b2c869d1f4
|
Remove initial pre-driver-port code that configured the module via SPI with a network configuration to enable a ping test. Includes code to communicate via SPI and to read address/register/memory locations. Remove associated code credit for spi_transfer from playground. All these functions are now implemented within the driver itself. TODO: Could we implement the driver SPI comms in a more efficient manner?
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@59 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
follower
|
cd1bdecdae
|
Add initial very-rough demo of 'echo' server.
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@58 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
follower
|
8245c6d8be
|
DOS to Unix line-encoding conversion.
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@57 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
follower
|
f7c399c222
|
Move comment on changing the interface mode to the new README and remove the remainder of the original driver README.
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@56 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
follower
|
fe832a02bd
|
Add instructions for building/installation.
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@55 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
follower
|
2762498bee
|
Remove instructions referring to using Makefile.
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@54 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
follower
|
ccfa563b98
|
It turns out Arduino compiles the files quite happily without the Makefile (with maybe 20 bytes difference). We're ditching the Makefile as I never got the Makefile to a state where it was fully working anyway as I ended up using: avr-gcc -mmcu=atmega168 -Wall -Os -fsigned-char -combine -c socket.c w5100.c -o wiz810mj.o && avr-strip --strip-debug --strip-unneeded -X -x *.o
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@53 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
follower
|
eccbe0ee95
|
Add basic license and readme files.
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@52 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
follower
|
680c63d572
|
Remove unused file.
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@51 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
follower
|
47a0ac06f0
|
Make functions visible to C++ code in Arduino.
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@50 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
follower
|
f6b6554d57
|
DOS to Unix line-encoding conversion.
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@49 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
follower
|
aabe93b198
|
DOS to Unix line-encoding conversion.
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@48 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
follower
|
059bdfd7f8
|
Conditional exclusion of boolean type Arduino chokes on.
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@47 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
follower
|
e47f0a6bfb
|
Add header file to enable inclusion in Arduino sketch.
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@46 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
follower
|
2857e8988d
|
Whoops, inclusion of delay.h should be dependent on PPPoE use.
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@45 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
follower
|
2f963b350d
|
The delay functions are only used for PPPoE so we're ditching the files.
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@44 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
follower
|
4ac7c1b66e
|
For Arduino we don't want to re-configure the SPI each time as we assume it's configured elsewhere. We also only want to touch the chip select pin unlike the original driver code.
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@43 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
follower
|
0059c0212a
|
Let's try doing this chip select pin stuff a different way.
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@42 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
follower
|
8ada5a1aa6
|
Let's leave the original pin manipulation code untouched.
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@41 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
follower
|
9be0816bfc
|
Specify the 'chip/slave select' pin as a named define. (Not yet used.)
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@40 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
follower
|
8d033609e7
|
Configure to use SPI to communicate.
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@39 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
follower
|
35155a347f
|
Remove all references to mcu.o, serial.o, dns.o as we do not need them for the driver. Remove all references to sockutil.o and util.o as we are not using them at present. Note: It might be worth re-introducing some of the sockutil functions at a later date.
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@38 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
follower
|
f631dffd5e
|
Fix directory reference.
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@37 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
follower
|
24a12ce158
|
Remove all references to main.o as we do not require it in the library.
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@36 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
follower
|
badeebd072
|
*Really* don't include any of the interrupt features for the Arduino. (Note: AFAIK INT4 is not a valid interrupt for the Atmega168 so would have to be changed if interrupts are re-introduced.)
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@35 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
follower
|
f77a2ef44b
|
DOS to Unix line-encoding conversion.
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@34 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
follower
|
aa056f1139
|
Don't include debug, interrupt or PPPoE code for Arduino. (Interrupt code might make a return if it is needed and works with SPI.)
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@33 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
follower
|
6268437cf2
|
Create a define __ARDUINO__ so we can manage current Arduino-only driver modifications. (Assuming we may want to change these at a later date and it's better to preserve the existing code.)
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@32 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |
follower
|
26ad716ba2
|
DOS to Unix line-encoding conversion.
git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@31 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
|
17 years ago |