I noticed there is a bug that prevents Nikon 1 J5 wifi support from working.
After adding in CameraDeviceManager.cs in DeviceClass dictionary:
Code: Select all
{"J5", typeof(NikonD600Base)},
To fix this I suggest adding this line in PtpIpPtococol class in LoadDeviceInfo method:
Code: Select all
Model = Encoding.Unicode.GetString(res.Data, index, strlen2 - 2); // This lines is already in the code, just included as a reference.
Model = Model.Substring(0, Model.IndexOf('\0')); // Otherwise, at least for Nikon 1 J5 returns 'J5\0\0\0', and doesn't work.
Best