Skip to content

pavel-golub/webdc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project

webdc is experimental web application and library for downloading dive logs from dive computers from a browser without installing any additional software.

The library is based on Web Serial API supported by many browsers. The library could be extended with Web USB and Web Bluetooth in future.

This work is primarely based on another great opensource project libdivecomputer and can be considered as a port of libdivecomputer to JavaScript/TypeScript.

webdc is being created as an integral part of https://diveboard.com and corresponding open source repo.

Screenshot

Currently supported devices

  • Suunto Vyper
  • Suunto Stinger
  • Suunto Mosquito
  • Suunto Vytec
  • Suunto Cobra
  • Suunto Gekko

Quick start

The app is React based web app.

  • Install nodejs with npm (download here).
  • Execute npm install and npm start in the project directory
  • Open http://localhost:3000 to view it in the browser.
  • Connect your dive computer to PC and select Add Device
  • Enjoy!

Tests

The porject includes set of unit tests. You can run them with npm test

Device emulation

If you want to emulate real device then following guidlines might be helpful:

  1. Use libdivecomputer simulator https://www.libdivecomputer.org/simulator.html

  2. Insall null modem emulator com0com from /tools folder.

  3. Binary dumps of devices you can make yourself you can use https://www.divinglog.de/ desktop app, select in desktop app click Downloader and select "Log Errors" and "Dump File" options. Connect your device and download dives. Your dives will be exported into binary file which can be used by libdivecomputer simulator.

  4. My own Viper dump you can find in /samples folder. You can run it by .\simulator-win32.exe -b vyper -p com1 ..\samples\Downloader\DC_FAMILY_SUUNTO_VYPER.bin

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published