C# and libdivecomputer
Jef Driesen
jef at libdivecomputer.org
Sat Nov 15 01:25:47 PST 2014
On 14-11-14 23:46, libdivecomputer at henrik.synth.no wrote:
> loicmichel wrote:
>> I'm used to program in C# and have zaro experience with C.
>>
>> Are you aware of any c# code to link to the libdivecomputer ?
>>
>> I can't figure out from the example how to download and use data from
>> a VEO2 computer.
>
> There's a libdivecomputer DLL here:
> http://www.libdivecomputer.org/builds/divinglog/
>
> Maybe that's useful?
To use the libdivecomputer library from .NET, you need a small wrapper. I once
started writing such a wrapper, because it's a request I receive quite often.
Ideally, I would like to see an official .NET wrapper in the future. But I never
had time to finish it. So it's far from complete, but there is probably enough
to get you started. See the attached files.
PS: If anyone is interested in improving the .NET code I started, please get in
touch.
Jef
-------------- next part --------------
A non-text attachment was scrubbed...
Name: common.cs
Type: text/x-csharp
Size: 400 bytes
Desc: not available
URL: <http://libdivecomputer.org/pipermail/devel/attachments/20141115/55a3fa64/attachment-0006.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: context.cs
Type: text/x-csharp
Size: 1546 bytes
Desc: not available
URL: <http://libdivecomputer.org/pipermail/devel/attachments/20141115/55a3fa64/attachment-0007.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: descriptor.cs
Type: text/x-csharp
Size: 2226 bytes
Desc: not available
URL: <http://libdivecomputer.org/pipermail/devel/attachments/20141115/55a3fa64/attachment-0008.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: device.cs
Type: text/x-csharp
Size: 4577 bytes
Desc: not available
URL: <http://libdivecomputer.org/pipermail/devel/attachments/20141115/55a3fa64/attachment-0009.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: parser.cs
Type: text/x-csharp
Size: 5999 bytes
Desc: not available
URL: <http://libdivecomputer.org/pipermail/devel/attachments/20141115/55a3fa64/attachment-0010.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.cs
Type: text/x-csharp
Size: 6284 bytes
Desc: not available
URL: <http://libdivecomputer.org/pipermail/devel/attachments/20141115/55a3fa64/attachment-0011.bin>
More information about the devel
mailing list