Implementation of PTP/IP

Hello everyone.
I am working at a macro focus rail project. The idea is to move a linear slider with a bipolar stepper motor that has an attached camera on it, and take many pictures at different distances from the target (focus bracketing).
The taking pictures part is the tricky one. I want to make it as versatile as possible. So far it can control Canon and Nikon cameras via IR, any phone by BTLE, and Panasonic and Olympus cameras by WiFi, using their built in webserver.
Many cameras use the ptp/ip protocol to do things such as transfer pictures and change camera parameters, but for many cameras it is also possible to do remote shutter. So I was wondering if someone wrote a PTP/IP (not just PTP USB) client for Arduino and would like to share their code.
If not, I guess I will have to implement it by myself based on code I found on the net... (the lack of proper documentation doesn't help).

BTW, I am using an ESP32 for the MCU.

doesn't esp32 support PTP over WiFI (as well)?

PTP as in Picture transfer Protocol. It's a binary protocol over the network. ESP32 supports it as in it can send/receive binary data over the network, but AFAIK there is no (public) implementation for it.

I guess @gcjr was referring to Precision Time Protocol (with PTP/IP devices can synchronize their clocks with high accuracy).

no, i was confused

Yeah, it doesn't help that there are 2 protocols with the same name :slight_smile: Very annoying when searching online for code.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.