Question about adding Eyefi-config code to CHDK build. - page 4 - General Discussion and Assistance - CHDK Forum  

Question about adding Eyefi-config code to CHDK build.

  • 84 Replies
  • 23417 Views
Re: Question about adding Eyefi-config code to CHDK build.
« Reply #30 on: 07 / August / 2013, 03:17:30 »
Advertisements
Would like to get back into programming the CHDK Eyefi part. Just have not had the time at the moment. The additions to CHDK would not be that much. Being able to see the MAC and maybe adding Wifi access points (The problem has always been input, IE Keyboard emulation).
G12 1.00g

Re: Question about adding Eyefi-config code to CHDK build.
« Reply #31 on: 07 / August / 2013, 11:09:16 »
Not that I wouldn't love to be able to manage access points directly through CHDK, but if it would help speed up integration with CHDK, then I think that it's a feature that's not quite as important anymore now that smartphones are so common.  I can easily transfer the files onto my smartphone using the Eye-Fi app and then use my smartphone to connect to whatever access point/service I want.

Re: Question about adding Eyefi-config code to CHDK build.
« Reply #32 on: 20 / September / 2013, 18:35:27 »
I implemented a minimal Eyefi functionality in CHDK. I'm able to scan for networks, add and delete them on my G15.

I would be glad to release my code but have no idea how to do it. Anybody wanting to lose some time to explain me?

The code needs some refinements and, needless to say, translations for the string that are now hardcoded in english.
---
P.S. Actually if you transfer to your phone you will lose the upload to your PC and (I think) the georeferentiation of the pictures.

Re: Question about adding Eyefi-config code to CHDK build.
« Reply #33 on: 20 / September / 2013, 19:19:38 »
I would be glad to release my code but have no idea how to do it. Anybody wanting to lose some time to explain me?
Ideally,  you would create and post a patch file against the source tree.   How you create that depends on what O/S you are using and how you got your source tree in the first place.   So I'll need those details to help you any farther.

Alternatively,  if you only modified one or two source files,  you can simple zip them up and post here.  I'll create a patch file for you from that.

Ported :   A1200    SD940   G10    Powershot N    G16


Re: Question about adding Eyefi-config code to CHDK build.
« Reply #34 on: 20 / September / 2013, 19:37:12 »
Thanks for your quick reply. I started from trunk3117 (release 1.3.0).
Working on Windows. I'm afraid I modified 4-5 files and added 5.... probably better to produce the patch myself. Is something like diff from Cygwin useful?
Here is a screenshot listing available networks detected by the Eyefi card

Re: Question about adding Eyefi-config code to CHDK build.
« Reply #35 on: 20 / September / 2013, 20:40:12 »
Is something like diff from Cygwin useful?
Probably.  Post it and I can take a look.

But be warned that the path from there to eventual inclusion in the svn trunk is a long and sometimes painful one.
Ported :   A1200    SD940   G10    Powershot N    G16

*

Offline ahull

  • *****
  • 634
Re: Question about adding Eyefi-config code to CHDK build.
« Reply #36 on: 21 / September / 2013, 06:27:05 »
Is something like diff from Cygwin useful?
Probably.  Post it and I can take a look.

But be warned that the path from there to eventual inclusion in the svn trunk is a long and sometimes painful one.

Purely co-incidental, but I was just reading this...
As someone who regularly goes through this particular pain barrier, it makes interesting reading.
Item 4 is a particular bug bear of mine, some people still think that you should be able to follow their code entirely without comments, and if you can't thats because you are not a smart as them.
« Last Edit: 21 / September / 2013, 06:38:29 by ahull »

Re: Question about adding Eyefi-config code to CHDK build.
« Reply #37 on: 21 / September / 2013, 10:04:38 »
Here is the ZIP with the files I modified and added. Part of the code is adapted from the work of Dave Hansen (dave@sr71.net), released under GPL version 2 license.
Actually I only used the SHA1 encrypting routines, although all my code relies on his reverse engineering of the Eyefi protocol.


Re: Question about adding Eyefi-config code to CHDK build.
« Reply #38 on: 21 / September / 2013, 10:35:28 »
I implemented a minimal Eyefi functionality in CHDK. I'm able to scan for networks, add and delete them on my G15.
Code looks clean - nice job at first glance.

As I don't have an eyefi card,  can you tell me what the code does that you can't do with just the generic eyefi card installed in your camera?
Ported :   A1200    SD940   G10    Powershot N    G16

Re: Question about adding Eyefi-config code to CHDK build.
« Reply #39 on: 21 / September / 2013, 10:50:23 »
The standard Canon support for the Eyefi card is limited to telling you the card's status (connecting, uploading, disconnected) and the upload status of the pictures.
If you want to register on a wireless network you need a PC and the Eyefi's software (or a replacement: Dave wrote a config command line utility in C, I wrote another in C#).

My implementation permits you to list the wireless networks (SSIDs) visible from the Eyefi's, and specify a password for connecting.
It allows also to list the networks configured on the card in order to delete any of them.

More functionalities could be added, but this two are what you really need when you're on the road

 

Related Topics