Accessing Dive Info on the UEMIS SDA

Please register or login

Welcome to ScubaBoard, the world's largest scuba diving community. Registration is not required to read the forums, but we encourage you to join. Joining has its benefits and enables you to participate in the discussions.

Benefits of registering include

  • Ability to post and comment on topics and discussions.
  • A Free photo gallery to share your dive photos with the world.
  • You can make this box go away

Joining is quick and easy. Log in or Register now!

It depends on what you want to get on your side:

- you can use Divinglog to import the online dives into divinglog ( Diving Log 5.0 - Download Diving Log Desktop Version ) - easy for non advanced computer user
- you can download only the dive and divelog xml files from UEMIS and make like me a small webpage to review the profile (this thread post #29) - requires basic knowledge on building website and php
- you can use the offline parser and then import the new dives into divinglog (this thread after post #70) - easy but you have to read carefully the whole thread to understand the whole thing.
 
Any news from Divinglog or anyone about progress on a direct from SDA solution? I have over a hundred dives on Uemis' website and also downloaded into Divinglog if you guys still need raw data. You'll just have to walk me through how to get it to you as I don't speak computer...
Right now the offline downloader works only via 2 separate tools, a Java applet and a C++ based command line tool, so it is quite difficult to implement that into Diving Log, which is based on .NET. As far as I know Jef from libdivecomputer wants to add support for the Uemis based on the knowledge from the Java and C++ tool. If that succeeds, Diving Log and MacDive will have automatically full offline support without any special command line tools required. But I don't have any current information about the state.
 
The plan is indeed to add support for the uemis to the libdivecomputer project. Unfortunately I haven't made much progress yet in porting the java applet to C code, due to a lack of time. I'll try to reserve some time to work on the uemis backend in the next couple of weeks.
 
  • Like
Reactions: BB1
This is something I'm happy to help with, given that I've already spent a ton of time on understanding the communication process with the SDA.
My main issue is that I haven't been able to get the initial setup of the SDA correct (and haven't found the code in the jar that does that). Once this is solved the rest appears to be rather straight forward with a rather simple communication protocol - just using files instead of a serial line.

Let me know how I can help.

The plan is indeed to add support for the uemis to the libdivecomputer project. Unfortunately I haven't made much progress yet in porting the java applet to C code, due to a lack of time. I'll try to reserve some time to work on the uemis backend in the next couple of weeks.
 
  • Like
Reactions: BB1
Is there anyone that could put this in a computers for Mac dummies kind of way that i can understand, hoping i'm not the only one on here:shocked2:

I am working on this... But i dont have as much time as i want for this project - i have to prepare for my itc next week - but i think the beta will start in about 2 or 3 weeks :)

Fabian
 
I have created a first test application to communicate with the uemis. This is just a prototype that tries to send a single command to the uemis and read the response. Once this is confirmed to work, I can move on to the more interesting stuff. Now I only need a volunteer to try the test app!

The linux and windows binaries can be downloaded here:

http://www.divesoftware.org/libdc/builds/uemis/

To run the app, you have to specify the location of the uemis usbdrive with a commandline parameter:

uemis.exe <uemisdrive>

And then report back whether it was successful or not. Don't forget to email me a copy of the output, so I can see what is going on too. :) You can find my email address on the libdivecomputer website.
 
I think it worked, it sent a command and got a response which I hope will mean something to TnT :) It has a string of letters and numbers which I sent him as a screenshot of the command prompt window, this is it here:

D:\uemis>uemis.exe e:
counter=3
command=n000400000013getDeviceId{{0004
response=1ne3763046634{000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000
 

Back
Top Bottom