Dave Hansen
c9d03037fb
consolidate some O commands
2011-03-25 15:34:24 -07:00
Dave Hansen
7c91594691
clean up some debugging cruft
2011-03-25 14:37:41 -07:00
Dave Hansen
b9e4c610fd
add upload status commands
...
I found these by watching my Canon S95. They let you monitor
the progress that a file is making during an upload.
2011-03-25 14:35:45 -07:00
Dave Hansen
986a301571
fix returns and compiler warnings for endless functions
2011-03-24 16:29:39 -07:00
Dave Hansen
e1215b135b
hook up enless transfer mode to command line
2011-03-24 16:16:06 -07:00
Dave Hansen
1351ae9851
support endless transfer mode
...
This lets you enable or disable the mode. It also lets you set the
trigger percentage.
2011-03-24 16:05:59 -07:00
Dave Hansen
1119862d9f
clean up a bit of whitespace
2011-03-24 15:18:06 -07:00
Dave Hansen
c7a3c70407
fix force argument handling
2011-03-24 15:17:42 -07:00
Dave Hansen
564a067707
change _ to - in help text
2011-03-20 17:31:15 -07:00
Dave Hansen
4a955df584
hook up wifi on/off code
2011-03-20 14:31:58 -07:00
Dave Hansen
9dbac12966
fix up transfer mode comments
2011-03-20 14:15:07 -07:00
Dave Hansen
c954aaf776
remove some transfer mode debugging cruft
2011-03-20 14:04:41 -07:00
Dave Hansen
7e12e343dd
fix up SELSHARE vs. SELUPLOAD
...
Whoops. I mixed up the string ordering of SELSHARE and SELUPLOAD.
Reorder the transfer mode function to always fetch and print the
current mode, even after a set operatio
Also remove some cruft I just added.
2011-03-20 13:11:38 -07:00
Dave Hansen
420927db5e
allow querying and setting of transfer modes
...
I probably need to pull the information about these out of the Eye-Fi
documentation. But, here's the code.
Note that the string names that are specified also mach the values
that you see in the card log.
2011-03-20 13:01:59 -07:00
Dave Hansen
719779c6f4
fix some ascii to hex conversion issues
2011-03-20 11:37:29 -07:00
Dave Hansen
592cc73b5b
don't leak FD
...
If this was called and we returned the cached mount, we leak the fopen().
Move the fopen down below the return.
2010-10-04 16:01:38 -07:00
Dave Hansen
ca5069404b
Remove unnecessary system()
...
> > Also, in eyefi-freebsd.c I forgot to remove
> > > system("cat /proc/mounts >&2");
> > > > in debug section, as it makes no sense anyway.
2010-09-15 10:28:20 -07:00
Dave Hansen
46f43282c9
FreeBSD support
...
From: Wesha the Leopard <wesha@wesha.dyndns.org>
To: dave@sr71.net
Subject: FreeBSD patches
Date: 09/13/2010 08:47:28 AM (Mon, 13 Sep 2010 10:47:28 -0500 (CDT))
10:21 http://pastebin.com/jaa44JsG
10:22 http://pastebin.com/FtSVCbPV
10:24 http://pastebin.com/wS5D9Huw
--Wesha.
2010-09-15 10:26:59 -07:00
Dave Hansen
09eaf82d41
add "wrote" variable
...
don't overwrite the write() result with the fd_flush() result.
2010-09-15 10:13:39 -07:00
Dave Hansen
00ba8a61d6
Add some new code to handle D90 commands
...
I've pulled the card out of my Nikon D90 a few times while
it is accessing the card. I can then put it in the PC and
see what the D90 was trying to do.
I've noticed two new commands: one to disable the WiFi on
the card, and the other to check to see if the WiFi is
currently disabled or not.
I haven't hooked these up to the user interface yet.
I also think the 'o' 13 command tells which ESSID the card
is currently associated with. 'o' 12 might be something to
do with pending uploads.
2010-08-09 13:10:11 -07:00
Dave Hansen
0c45dfb98b
Add firmware fetch perl script
2010-05-04 10:53:06 -07:00
Nathan Summers
d5ca2350cd
64-bit fixes
2009-03-26 15:31:19 -07:00
Nathan Summers
3bc61d296f
Support for 40-bit WEP keys.
2009-03-26 15:31:17 -07:00
Nathan Summers
210ba89c20
Added dependencies on eyefi-config.h
...
Added dependencies on eyefi-config.h for all appropriate object files
in the Makefile.
2009-03-26 15:31:16 -07:00
Dave Hansen
347bbf119a
fix gcc warning
2009-03-26 15:28:07 -07:00
Dave Hansen
447da84444
Don't clobber password.
...
We used to clobber the password that came in from the user
when converting it from ASCII to binary for WEP. That
screwed it up because we need to use it twice: once for
testing, and once for the actual addition.
2009-02-17 09:32:22 -08:00
Dave Hansen
468520221a
Make network scan list a bit cleaner.
2009-02-05 12:57:57 -08:00
Dave Hansen
e81e16ef8d
Replace O_DIRECT with posix_fadvise(). This is easier to compile
...
and does not draw Linus's ire http://lkml.org/lkml/2007/1/10/233 .
2009-02-05 12:50:25 -08:00
Dave Hansen
de5918a05d
Add some new WEP code and some experimental non-working
...
attempts at updating the card firmware.
2008-12-18 13:25:37 -08:00
Dave Hansen
84bbcda46c
prefix the network types with NET_
...
fix vprintf vs printf bug
do some strdups with optargs
2008-08-14 18:47:20 -07:00
Dave Hansen
6afcff686f
more portability improvements
2008-07-13 09:52:49 -07:00
Dave Hansen
0e17d59461
Add support for other operating systems:
...
chdk
OS X
2008-07-12 12:49:26 -07:00
Dave Hansen
5c7c83f0e6
Don't zero-out reqc, it might confuse the card
...
(it doesn show up in the log when I do this)
Start propogating error codes back from a bunch of
functions. We need this for the CHDK port because
we can't just exit() there.
Add dumping of the firmware version string.
2008-06-13 15:45:43 -07:00
Dave Hansen
e1f571250b
better error message
2008-06-11 12:30:28 -07:00
dave
3d8dcfafa2
add new files
2008-05-23 10:00:40 -07:00
dave
d02d7108db
Make the mount finding more comprehensive, and
...
move it around so the debugging flag can actually
be made to work.
2008-04-21 14:56:14 -07:00
dave
8efb31cf2d
Add standalone crypto implementation. Thanks wpa_supplicant!
2008-04-21 14:04:00 -07:00
dave
ef5f660ac2
add core to clean
2008-03-14 17:57:49 -07:00
dave
0b44cef8bb
Add auto detection of card mount point.
2008-03-14 17:57:41 -07:00
dave
abf419b195
add help message for log command
2008-03-10 19:55:47 -07:00
dave
2421aeed20
initial commit
2008-03-10 19:54:41 -07:00