Skip to content
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

GPS from a tethered phone #6

Open
mxa opened this issue Sep 17, 2015 · 1 comment
Open

GPS from a tethered phone #6

mxa opened this issue Sep 17, 2015 · 1 comment

Comments

@mxa
Copy link

mxa commented Sep 17, 2015

The cameras of the NX series have disappointingly no GPS on board and Samsung abandoned their own GPS device to fit in the flash shoe (ED-GPS10)(but still advertises the nx300 as having GPS 'external' capabilities). Would it be possible to provide the GPS signal from a WLAN connected phone to the camera so that the camera can tag the images with the correct location?

@Nikolas-LFDesigns
Copy link
Collaborator

Totally yes.
By sending the following request we may alter GPS data for remote shots. Substitute your location with UNKNOWN parameter of tag and here you go.

POST /smp_4_ HTTP/1.0

Content-Type: text/xml
HOST: http://192.168.107.1:7676
SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#GetInfomation"

<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <s:Body>
        <u:GetInfomation xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1">
            <GPSINFO>UNKNOWN</GPSINFO>
        </u:GetInfomation>
   </s:Body>
</s:Envelope>

Also found this: shot with gps request.

POST /smp_4_ HTTP/1.0

Content-Type: text/xml
HOST: http://192.168.107.1:7676
SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#ShotWithGPS"

<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <s:Body>
        <u:ShotWithGPS xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1">
            <GPSINFO>UNKNOWN</GPSINFO>
        </u:ShotWithGPS >
   </s:Body>
</s:Envelope>

I see two problems there though:
-you need some script to initiate Wifi connection yourself (though I've described steps here https://github.com/ge0rg/samsung-nx-hacks/wiki/Connecting-as-remote-viewfinder-to-NX-camera)
-the coordinates format is unknown as well: SSC app seems doesn't use those

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants