-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request : GPS location #8
Comments
I have this on my todo list, but I downgraded it to "low priority". The reason is that my α6400 does not allow geotagging and Bluetooth remote at the same time. They are two separate settings and cannot both be enabled. IMHO, this is extremely stupid and just a lazy decision by Sony because they expect their users to use the Bluetooth connection on their phone for geotagging OR the physical Bluetooth remote. They did not think of a case where a single device would provide both functions. Therefore, implementing this in my app means that you can switch the setting on the camera without juggling apps, but you still have to go through the settings manually. Since the point of using my remote over the official app is that it is always on and just available when needed and since the point of geotagging is pretty much also that it is always on and just logs the location, most users will have to prioritize one of both features over the other unless they want to dig into their camera's setting everytime. So, the interesting question is: What camera do you have and does it have the same restriction? |
Oh that more complex than i though. I have the same model as yours. |
Hi! I'm also looking for an open-source app that can sync the GPS location and time/date to my camera (ILCE-6700). I even thought about learning Android app development to write my own but then I discovered this app on F-Droid. If you want to integrate that feature into your app I'm willing to help. I already started reverse-engineering the BLE characteristic and data format used to send the GPS location and time to the camera. There is also a way to read the battery % and remaining number of photos from the camera. I don't have much experience yet when it comes to writing Android apps. Are you interested in collaboration to add these features to your app? |
Sounds very interesting. I would very much like to include everything that we can squeeze out of Bluetooth. So, what do you have? And is there a device that uses the additional info or did you just poke at the GATT server to see what falls out? |
I got the data by capturing BLE packets between my phone and the camera and looking which parts of the data are changing between packets. I didn't try sending custom data to the camera yet. But for the time/location packet it was easy to guess which bytes are the lat/longitude, time and date after knowing the expected values. Here's what I know so far:
I hope this helps. If you have any questions or want me to test something feel free to ask :) |
Nice, thanks a lot. At the moment I plan to publish the current stable version in the next few days (i.e. put version 1.00 on social media, publish a blog entry, Youtube video etc.) and then see if some urgent problems pop up. It think that GPS might be an interesting project over the holidays :) Unfortunately my α6400 does not have the 0x8000cc00cc00ffffffffffffffffffff service. I have seen this one already in Mark Kirschenbaum's blog post and it looks extremely promising for much more control, but it simply isn't there. I will check again too be absolutely sure, but I think that this is a feature of newer cameras, which (if I have seen this correctly) also use Bluetooth to negotiate a Wifi password (the α6400 displays a QR code). I wish Sony would offer firmware updates... So, for 0x8000cc00cc00ffffffffffffffffffff we will have to expect some forth and back. Did you check which other cahracteristics there are and what you get when you read them or if there are even some interesting writable ones? For some reason the blog post only mentions network-related characteristics on an α7c. |
Awesome! I'm glad to hear that. I did a bit more research with nRF Connect. I tried writing to UUID 0xdd30 and 0xdd31. When writing with nRF Connect, I had to change the type from the default "byte array" to "byte" and the value can be 0x00 or 0x01. Writing 0x01 to 0xcc08 enables Wifi All BLE services and characteristics (click to expand)From nRF Connect, there might be typos. n/r/w = notify/read/write. Not all characteristics with "r" are readable by default, some fail.
I think the official app switches to Wifi for all the interesting stuff like remote control and image transfer so I'm not expecting a lot of additional functionality in BLE beside what we already know. I haven't used Wifi yet because it doesn't work for me and I don't really need it. (it probably doesn't work because I blocked Internet access for the app) If you have Discord we can write there (@Mat931) |
Hi again, |
Thanks a lot! This will certainly help as I cannot test it with my camera. And sorry, I am not sure if I can get started with this in the next few days as I planned as a project for my son's birthday got a bit out of hand and there is one other small project I want to do first. But it is on my todo list and I am now aiming for mid January. |
Yay ! Fantastic news ! |
Thanks for your app, thanks for releasing on F-Droid (i found it that way) and thanks for trying to implement something that Sony did not! (You can of course hide this comment, still wanted to express my gratitude :) ) |
Hi
Thanks for pour app ! The official app from Sony is a burden to use.
Is there any way to use GPS data from our phone to be send like the official app do ?
The text was updated successfully, but these errors were encountered: