Hi,
I am trying to use the libdivecomputer lib in order to GET and SET the INTERNALS (INTERVAL, THRESHOLD, ENDCOUNT, AVERAGING) of the Reefnet Sensus Ultra logger. On Linux. I have not found any software on linux which can manage this task.
I have as well another less important question : how to get a csv data for the dives ? This would be great because the only software I could find, "Subsurface", gives the data in an xml format, which I have to parse in order to proceed it by myself.
For your information, I am working on a scientific associative project, which consists on recording water height in caves, during a long period of time (one year or more if possible). I'm new on this mailing list, but I am decided to make it work :-)
Thanks.
Stanislas Francfort
On 17 June, 2015 - stan.speleo@notgmail.fr wrote:
Hi,
I am trying to use the libdivecomputer lib in order to GET and SET the INTERNALS (INTERVAL, THRESHOLD, ENDCOUNT, AVERAGING) of the Reefnet Sensus Ultra logger. On Linux. I have not found any software on linux which can manage this task.
I have as well another less important question : how to get a csv data for the dives ? This would be great because the only software I could find, "Subsurface", gives the data in an xml format, which I have to parse in order to proceed it by myself.
Subsurface can export your profile into csv too. I'm currently not at a sane computer so i can't tell you exactly how, but the functionality is there.
Othervise you could write your own tool which uses libdivecomputer for the download and emits the information in whatever format you like.
//Anton
On 2015-06-17 13:12, stan.speleo@notgmail.fr wrote:
I am trying to use the libdivecomputer lib in order to GET and SET the INTERNALS (INTERVAL, THRESHOLD, ENDCOUNT, AVERAGING) of the Reefnet Sensus Ultra logger. On Linux. I have not found any software on linux which can manage this task.
The parameters can be changed with the reefnet_sensusultra_device_write_parameter() function. The current values are automatically downloaded during the handshake with the device. The application receives the handshake packet through the DC_EVENT_VENDOR event. So the easiest way to get the current values is to call the reefnet_sensusultra_device_sense() function. You can use any other function that gets data from the device, but "sense" is the fastest if you're only interested in the handshake packet.
I have as well another less important question : how to get a csv data for the dives ? This would be great because the only software I could find, "Subsurface", gives the data in an xml format, which I have to parse in order to proceed it by myself.
Anton already answered this question.
Jef
Thanks Jef for those hints. That's going to help.
Stanislas
Le 26/06/2015 10:15, Jef Driesen a écrit :
On 2015-06-17 13:12, stan.speleo@notgmail.fr wrote:
I am trying to use the libdivecomputer lib in order to GET and SET the INTERNALS (INTERVAL, THRESHOLD, ENDCOUNT, AVERAGING) of the Reefnet Sensus Ultra logger. On Linux. I have not found any software on linux which can manage this task.
The parameters can be changed with the reefnet_sensusultra_device_write_parameter() function. The current values are automatically downloaded during the handshake with the device. The application receives the handshake packet through the DC_EVENT_VENDOR event. So the easiest way to get the current values is to call the reefnet_sensusultra_device_sense() function. You can use any other function that gets data from the device, but "sense" is the fastest if you're only interested in the handshake packet.
I have as well another less important question : how to get a csv data for the dives ? This would be great because the only software I could find, "Subsurface", gives the data in an xml format, which I have to parse in order to proceed it by myself.
Anton already answered this question.
Jef
Le 26/06/2015 10:15, Jef Driesen a écrit :
On 2015-06-17 13:12, stan.speleo@notgmail.fr wrote:
I am trying to use the libdivecomputer lib in order to GET and SET the INTERNALS (INTERVAL, THRESHOLD, ENDCOUNT, AVERAGING) of the Reefnet Sensus Ultra logger. On Linux. I have not found any software on linux which can manage this task.
The parameters can be changed with the reefnet_sensusultra_device_write_parameter() function. The current values are automatically downloaded during the handshake with the device. The application receives the handshake packet through the DC_EVENT_VENDOR event. So the easiest way to get the current values is to call the reefnet_sensusultra_device_sense() function. You can use any other function that gets data from the device, but "sense" is the fastest if you're only interested in the handshake packet.
I have as well another less important question : how to get a csv data for the dives ? This would be great because the only software I could find, "Subsurface", gives the data in an xml format, which I have to parse in order to proceed it by myself.
Anton already answered this question.
Jef
Le 26/06/2015 19:51, Stan a écrit :
Thanks Jef for those hints. That's going to help.
Stanislas
That works fine ! I can now read and write the internal parameters. Thanks again, to both of you, for your help :-)
Stanislas