I was recently given a trail camera, "wildlife camera." It works great, but the mobile app to connect and see the pictures/videos is very janky and hard to use. I write software for a living, so building something that can read files from a server is the easy part. What I'm trying to figure out is how to connect to the camera wirelessly. (I mostly figured that out while writing this post)
Here's what I can discern so far.
- The app appears to connect to bluetooth first.
- It then prompts "Join network TC08-...."
- I tried joining the wireless network directly from MacOS while connected to the app, it prompted me with the "hand-off" feature where you can share a password across devices. When I went and checked what password was shared it was, wait for it, 12345678.
- The network is only allows one device at a time (is that a thing?), because if I get the computer connected, the ios app can't connect.
- The wifi network only boots up when I connect to bluetooth, I assume this is a power-saving feature. I don't see the camera on my list of available bluetooth apps in MacOS.
- Once connected I used
nmap
to find the open ip/ports. Here's the list: 80, 443, 3333, 8192, 8193. - I can navigate through the browser to the ip, and get download links for all the photos and videos, it's basically a very simple webpage:
/DCIM/MOVIE
is where the videos are stored.
So this is very close to my goal, however, I don't want to download each video file. The app has access to thumbnails of the video files, but I'm not sure where they are stored. I wonder if I could connect the two devices if I could use wireshark to view what paths are requested from the app?
The two parts I'd like to nail down:
- connect on bluetooth from the computer, so I can trigger the wifi to start.
- find the thumbnails so I don't have to download each video file.