-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unexpected payload size (11) with Cressi Donatello #67
Comments
I have same issue with watch I bought on Amazon some months ago. Seems payload has now 1 byte extra in current models. |
Can you test with this build of the libdivecomputer command-line client: https://libdivecomputer.org/builds/experimental/windows/nepto.exe (windows) And run it with these options:
Replace |
I attached the zipped files. |
Your donatello seems to use the same new data format as the Leonardo 2.0. I'm already working on that. |
Sorry, I wasn't much available the last 2 weeks. Thanks @piezza for the files. @jefdriesen do you need additional zip files, or did the ones provided enough? I saw in libdivecomputer/libdivecomputer#33 that you had no data on freediving. I have both air dives and freedives in the computer, let me know if that can help. |
I still have no data from freedives, so I can still use such data. |
Here are the files |
Had the same issue with my recently purchased Donatello. After connecting to the IoS application from Cressi went through a firmware upgrade (now at x012d or 301). |
@yannpub Can you export your freedives out of the cressi app in some human readable format (csv, XML, SQLite, etc), or if that's not possible make some screenshots. I would to see the expected profile and the basic values like max depth, dive time, temperature, etc so I can find those more easily in the data. |
Unfortunately, I am not using the Cressi IR-BT adapter, but an infrared-to-USB transceiver (the one Daniel has created here: https://groups.google.com/g/subsurface-divelog/c/ku56SSlCtZU/m/kquwh2HKAQAJ). |
You could make some photos of the dive computer, but let's try something different. I attached the output of the libdivecomputer parser: freedives.xml.gz. Can you check if the values are correct? For the profile graph, you can open the xml into subsurface, but for the other fields (max depth, dive time, etc) you need to check manually because subsurface calculates some of them from the profile. |
Thank you for your help ! All the informations (depth, dive time) look correct. I couldn't find the water temperature, but may be it is not included in the payload, or not read by subsurface ? |
Support for the new Cressi firmware is now available in libdivecomputer master: libdivecomputer/libdivecomputer@a318971 |
Thanks for the update Jef! checking whether gcc understands -c and -o together... (cached) yes I tried to create a dll on a windows environment but could not build it either using make or cmake... any help appreciated... |
Can you show the steps you did? Without more detailed information it's very difficult to help. Are you building from a git checkout or a tarball, which commands and options did you use, etc. I have Mac and Windows CI builds in Github Actions and those are building without errors, so it's certainly possible: |
Thanks Jef for taking the time, I followed the https://www.libdivecomputer.org/documentation.html Compiling part of your doc, and the problem seems to be with the configure script: Clone locally your github repo : Then from the libdivecomputer root directory : ./configure: line 15506: syntax error near unexpected token and indeed the configure script looks weird as if a ")" was missing after the "yes:" :
make make install |
The configure script is autogenerated by the build system. Maybe try again after cleaning the work directory ( |
When trying to connect the Donatello via an USB Modem-IrDA interface (MacOS 14.6.1 on Macbook Pro M1), I get the following error:
Subsurface: v6.0.5214.0, built with libdivecomputer v0.9.0-devel-Subsurface-NG (9641883)
[94.525817] INFO: Open: name=/dev/tty.usbmodem1101
[94.539488] INFO: Configure: baudrate=115200, databits=8, parity=0, stopbits=0, flowcontrol=0
[94.551308] INFO: Timeout: value=3000
[94.551311] INFO: RTS: value=0
[94.553296] INFO: DTR: value=0
[94.555302] INFO: Sleep: value=100
[94.660366] INFO: Purge: direction=3
[94.660471] INFO: Sleep: value=100
[94.765809] INFO: Write: size=8, data=AAAAAA0000000055
[94.767455] INFO: Read: size=4, data=AAAAAA0B
[94.767523] ERROR: Unexpected payload size (11). [in src/cressi_goa.c:139 (cressi_goa_device_receive)]
[94.767563] ERROR: Failed to read the version information. [in src/cressi_goa.c:396 (cressi_goa_device_foreach)]
Seems the Donatello answer is not the proper size/content.
Computer is a new Donatello, Firmware is 300.
The text was updated successfully, but these errors were encountered: