samsung-nx-hacks
samsung-nx-hacks copied to clipboard
GPS from a tethered phone
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?
Totally yes. By sending the following request we may alter GPS data for remote shots. Substitute your location with UNKNOWN parameter of <GPSINFO> 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