simonmitchell / rocc

A Swift framework for remote control of digital Cameras
MIT License
123 stars 15 forks source link

Add data sending and receiving to PTP IP Client #11

Closed simonmitchell closed 4 years ago

simonmitchell commented 5 years ago

I have added a simple implementation for this where a DataContainer struct is created upon receiving StartDataPacket which is then referenced by it's transaction ID and has data appended to it by DataPacket packets until the EndDataPacket is received. Unable to test if it's working or not as I'm currently on a long train journey!

Data sending still requires a full implementation so if anyone wishes to have a look at that then feel free :)