I am trying to get a lightweight C based server together that will run on my underpowered ReadyNAS NV+. The perl code by others (sorry, I am so crap at names) works fine but is very heavy on memory footprint even after converting it to use XML::Simple... 300MB for a 30MB RAW file kills the poor NAS.
So rather then ripping out the XML and HTTP modules from the perl script I started out with mongoose (a replacement for shttpd) as a web server and have build a small program to get the inital request and return the StartSession response. The credentials are correct - I test using a perl script that uses the core for eyefilistener.pl - and I have tried as hard as I can to emulate the precise HTTP headers and ordering that I have seen elsewhere. In the eye-fi log I simply get:
[35:05] Using probed IP address 192.168.234.234:59278 for agent.
[35:05] Starting to upload "/public/DCIM/100EOS1D/DCP_0075.JPG"...
[35:07] eyefilmGetPhotoStatus() SOAP RPC failed.
[35:07] Returning from upload function with error 357.
Can anyone point to perhaps a way of generating further debugging ?
Is anyone interesting in the PCAP files I have comparing the network traffic ? I even have the HTTP body part of the response the same size in bytes with only the credentials and the random snonce changed.
... I am going to give up now and watch some Blurays, my eyes are going blurred