dgrant / eyefiserver2

A standalone Eye-Fi server in Python, for Linux
GNU General Public License v3.0
140 stars 40 forks source link

EyeFi Mobi Pro Support? #24

Open NoahJaehnert opened 8 years ago

NoahJaehnert commented 8 years ago

Hi there,

I have both the original EyeFi Pro X2 as well as the newer EyeFi Mobi Pro cards. While the eyefiserver2 works with the original EyeFi Pro X2 card, it does not work at all with the EyeFi Mobi Pro card, as far as I can tell.

I assume this is expected behavior, since Mobi uses the EyeFi Helper software for the EyeFi Pro X2 cards, while they use the newer EyeFi Mobi software for the newer cards.

Can you confirm this is the case? If it is there any potential for getting this to work with the newer Mobi cards?

Thanks!

Viperfang commented 8 years ago

Currently using an eyefi mobi PRO 32GB with this server. So, confirmed working.

petero-dk commented 8 years ago

@Viperfang How did you get it to work with the mobi Pro 32?

mdjurfeldt commented 7 years ago

@Viperfang Also, interested to get eyefiserver working with mobi pro 32GB. For me, what goes wrong is the computation of the credentials for the StartSessionResponse from eyefiserver. The card doesn't accept md5 digest of MAC + cnonce + upload key but expects something else.

mdjurfeldt commented 7 years ago

@NoahJaehnert @Viperfang @petero-dk Found the solution: For Mobi Pro, they seem to use different upload keys for different transfer modes. Both are different from the upload key reported by eyefi-config -k. For direct mode, the key is just zeros. For infrastructure mode, which is what is used for eyefiserver2, the key can be found by doing SQL SELECT upload_key FROM devices on online.db from the Windows 10 eyefi mobi app. So, yes, confirmed working.

sbma44 commented 7 years ago

Haven't tried this out yet, but noting for OS X users that a similar value can be found / extracted with:

echo "select o_upload_key from o_devices;" | sqlite3 "$HOME/Library/Application Support/Keenai/offline.db"

(there's no online.db in this directory; for now I'm just hoping that the key is the same across these two files)