0

I'm trying to get started with the remote camera API, and have hit a wall.

It's not clear to me what the initial setup for the camera (A6000 in my case) should be. The docs seem to imply that I configure "Remote Control" (which I've done) and that as a result, the camera becomes an "access point". Now, to my understanding, an access point is like a WiFi router, and I expect to see a new SSID advertized when I browse local networks from my computer. I would also expect to need credentials (a password) to complete the connection. However, when I set remote control on in the menu, I do not see any new SSID advertized, and I see nothing that would tell me what SSID I might expect, nor what password I should use if I did see such a network.

So, I wondered if my understanding of "access point" was wrong. I then connected my camera to my regular home Wi-Fi (it did this successfully, and I can see the IP address handed to it via my DHCP server). Having done this, I can still set remote control on in the menus. So, with that configuration, I attempted to create a crude connection. I took the core of the code from the example (I don't work with Android, though I'm totally happy with Java) and hacked together something that I hoped would send the initial multicast UDP packet, and look for the UDP response. Well, "nothing happens" -- it sends (ten times actually) while concurrently waiting for a response. However, it never recognizes any response, and times out. I'm not attempting to parse the response, just get a packet.

Of course, I don't know if there's a bug in my code (though it's very simple, and largely stolen from the example) because I don't know if this is even how it's supposed to work.

I am interested in any pointers, particularly regarding the initial camera configuration.

I should note that I have updated the firmware on my A6000 to version 3.20, which appears to be the latest. It worked, I know because a) the version is reported as 3.20, and also the new movie file container format (XAVCS) is offered.

halfer
  • 19,824
  • 17
  • 99
  • 186
Toby Eggitt
  • 1,806
  • 19
  • 24

2 Answers2

2

It turns out that I had not in fact enabled Remote Control. There's a menu item on the A6000 (tools menu, sub-page 3) that says "Remote Control". Turn it on and... well, that's not how you to it.

Instead, on the A6000, you go to the applications menu (four squares, laid out in a square, with the top left and bottom right being filled black, and the other diagonal ones being filled white).

From "Application List" select "Smart Remote Embedded". That starts the A/P and also sets the camera's screen showing you the SSID and password of that configuration.

halfer
  • 19,824
  • 17
  • 99
  • 186
Toby Eggitt
  • 1,806
  • 19
  • 24
0

let's see if we can work this out.

  1. For starters, you are correct that the device acts as an access point like a wifi router. You should be able to see it when you search for available networks to connect to. You won't be able to access the camera specific API functions without connecting to the camera's access point.
  2. You will need to enable the remote control function which it seems that you have done
  3. You can get the login credentials for your camera's access point by plugging your camera in to the usb port of your computer. On the camera there should be a file located here "INFO/WIFI_INF.TXT". This file will contain the SSID and the camera password. If you don't see the SSID in the list of available access points then enter it manually with the password and it should work.

Also if you connect and your code is not working please paste it here so that I can take a look and try to figure out what is wrong.

pg316
  • 1,380
  • 1
  • 8
  • 7
  • Thanks for this, unfortunately, there's no such file in the INFO directory. The only file I see is called REGISTER.URL but that doesn't seem to have anything useful i it. However, since the USB device mounts with the name "PMHOME" (which is "new" in that before I only got a single mounted device which was the file storage) I think perhaps I do see he network. Perhaps. It's called HOME-xxxx which seemed unexpected for a camera, so I ignored it before. Of course, it's locked anyway, so at this point, not moved forward yet. Any further thoughts to try? – Toby Eggitt Dec 01 '17 at 19:48
  • Actually, it still seems to be connected to my home WiFi and I can't see how to disconnect it. I presume it can't do both at once? – Toby Eggitt Dec 01 '17 at 19:52
  • Well, I did "SSID/PW Reset" and "Reset Network Set." which seems to have disconnected it from my home WiFi, but still nothing in the INFO directory. – Toby Eggitt Dec 01 '17 at 19:56
  • that is strange. Actually your camera should not have been able to connect to your home network in the first place. How are you able to connect to your home network, perform network reset, etc..? – pg316 Dec 01 '17 at 20:01
  • The second "page" in the wifi menu (third menu from the left) is "Access Point Set" When I select it,it scans my local wifi access points, offers me a list, and I select my home network. It prompts for my password and connects. I can't do anything with that connection, but it connects; I know that much, because I get an entry in my DHCP log showing: 192.168.2.72 SonyImagingDevice fc:db:b3:5a:e5:5e :) – Toby Eggitt Dec 01 '17 at 20:04
  • That even worked in the 3.10 firmware (though as I say, can't do anything with it!) – Toby Eggitt Dec 01 '17 at 20:04
  • Let me check that I'm enabling remote correctly. All I do is in the "toolbox" menu (extreme right of the menus, I select page 3, and the item "Remote Ctrl" On. Yes? Should I do anything else anywhere else? – Toby Eggitt Dec 01 '17 at 20:19
  • Ah, no, random searching suggested a different way to start remote control. See my "answer" below. – Toby Eggitt Dec 01 '17 at 21:14
  • great that you found a solution!! Please let me know if you have any more trouble – pg316 Dec 01 '17 at 21:20
  • Well, Robert, it turns out, I'm likely dead in the water anyway. I used Postman HTTP/REST client to drive this, and eventually made it take a still picture, but the one feature I actually need is to start and stop movie recording. And that, per the docs for the "Smart Remote" app, isn't supported on the A6000 :( Can you comment whether that's something that might be rectified over time, or do I have to essentially manual only movie cameras here? – Toby Eggitt Dec 01 '17 at 23:33