-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Hi,
thanks for the project! I am trying to connect my Nikon D750 through theta4j. However, I have some difficulties as the library throws lots of IOExceptions. Currently I get a
Exception in thread "main" java.io.IOException at org.theta4j.ptpip.io.PtpIpInputStream.nextType(PtpIpInputStream.java:46) at org.theta4j.ptpip.io.PtpIpInputStream.assertNextTypeIs(PtpIpInputStream.java:283) at org.theta4j.ptpip.io.PtpIpInputStream.readInitCommandAckPacket(PtpIpInputStream.java:77) at org.theta4j.ptpip.PtpIpInitiator.establishCommandDataConnection(PtpIpInitiator.java:86) at org.theta4j.ptpip.PtpIpInitiator.<init>(PtpIpInitiator.java:70) at org.theta4j.Theta.<init>(Theta.java:59)
Do you have an idea what this is about? It looks like the library expects an exact amount of bytes to skip, but the inputStream has less, so it skips less.
Thanks,
Matthias