Remove the obsolete timestamp functions.
These timestamp functions offer no real advantage and applications should be using the device independent fingerprint feature instead.
This commit is contained in:
parent
f8ddf3306d
commit
e9036674e0
@ -35,9 +35,6 @@ extern "C" {
|
||||
dc_status_t
|
||||
reefnet_sensus_device_open (dc_device_t **device, dc_context_t *context, const char *name);
|
||||
|
||||
dc_status_t
|
||||
reefnet_sensus_device_set_timestamp (dc_device_t *device, unsigned int timestamp);
|
||||
|
||||
dc_status_t
|
||||
reefnet_sensus_device_get_handshake (dc_device_t *device, unsigned char data[], unsigned int size);
|
||||
|
||||
|
||||
@ -35,9 +35,6 @@ extern "C" {
|
||||
dc_status_t
|
||||
reefnet_sensuspro_device_open (dc_device_t **device, dc_context_t *context, const char *name);
|
||||
|
||||
dc_status_t
|
||||
reefnet_sensuspro_device_set_timestamp (dc_device_t *device, unsigned int timestamp);
|
||||
|
||||
dc_status_t
|
||||
reefnet_sensuspro_device_get_handshake (dc_device_t *device, unsigned char data[], unsigned int size);
|
||||
|
||||
|
||||
@ -47,9 +47,6 @@ reefnet_sensusultra_device_open (dc_device_t **device, dc_context_t *context, co
|
||||
dc_status_t
|
||||
reefnet_sensusultra_device_set_maxretries (dc_device_t *device, unsigned int maxretries);
|
||||
|
||||
dc_status_t
|
||||
reefnet_sensusultra_device_set_timestamp (dc_device_t *device, unsigned int timestamp);
|
||||
|
||||
dc_status_t
|
||||
reefnet_sensusultra_device_get_handshake (dc_device_t *device, unsigned char data[], unsigned int size);
|
||||
|
||||
|
||||
@ -32,9 +32,6 @@ extern "C" {
|
||||
dc_status_t
|
||||
uwatec_aladin_device_open (dc_device_t **device, dc_context_t *context, const char *name);
|
||||
|
||||
dc_status_t
|
||||
uwatec_aladin_device_set_timestamp (dc_device_t *device, unsigned int timestamp);
|
||||
|
||||
dc_status_t
|
||||
uwatec_aladin_extract_dives (dc_device_t *device, const unsigned char data[], unsigned int size, dc_dive_callback_t callback, void *userdata);
|
||||
|
||||
|
||||
@ -33,9 +33,6 @@ extern "C" {
|
||||
dc_status_t
|
||||
uwatec_memomouse_device_open (dc_device_t **device, dc_context_t *context, const char *name);
|
||||
|
||||
dc_status_t
|
||||
uwatec_memomouse_device_set_timestamp (dc_device_t *device, unsigned int timestamp);
|
||||
|
||||
dc_status_t
|
||||
uwatec_memomouse_extract_dives (dc_device_t *device, const unsigned char data[], unsigned int size, dc_dive_callback_t callback, void *userdata);
|
||||
|
||||
|
||||
@ -33,9 +33,6 @@ extern "C" {
|
||||
dc_status_t
|
||||
uwatec_smart_device_open (dc_device_t **device, dc_context_t *context);
|
||||
|
||||
dc_status_t
|
||||
uwatec_smart_device_set_timestamp (dc_device_t *device, unsigned int timestamp);
|
||||
|
||||
dc_status_t
|
||||
uwatec_smart_extract_dives (dc_device_t *device, const unsigned char data[], unsigned int size, dc_dive_callback_t callback, void *userdata);
|
||||
|
||||
|
||||
@ -94,11 +94,9 @@ oceanic_vtpro_device_open
|
||||
oceanic_vtpro_device_version
|
||||
oceanic_vtpro_device_keepalive
|
||||
reefnet_sensus_device_open
|
||||
reefnet_sensus_device_set_timestamp
|
||||
reefnet_sensus_device_get_handshake
|
||||
reefnet_sensus_extract_dives
|
||||
reefnet_sensuspro_device_open
|
||||
reefnet_sensuspro_device_set_timestamp
|
||||
reefnet_sensuspro_device_get_handshake
|
||||
reefnet_sensuspro_device_write_interval
|
||||
reefnet_sensuspro_extract_dives
|
||||
@ -106,7 +104,6 @@ reefnet_sensusultra_device_open
|
||||
reefnet_sensusultra_device_read_user
|
||||
reefnet_sensusultra_device_sense
|
||||
reefnet_sensusultra_device_set_maxretries
|
||||
reefnet_sensusultra_device_set_timestamp
|
||||
reefnet_sensusultra_device_get_handshake
|
||||
reefnet_sensusultra_device_write_parameter
|
||||
reefnet_sensusultra_device_write_user
|
||||
@ -128,13 +125,10 @@ suunto_vyper_device_read_dive
|
||||
suunto_vyper_device_set_delay
|
||||
suunto_vyper_extract_dives
|
||||
uwatec_aladin_device_open
|
||||
uwatec_aladin_device_set_timestamp
|
||||
uwatec_aladin_extract_dives
|
||||
uwatec_memomouse_device_open
|
||||
uwatec_memomouse_device_set_timestamp
|
||||
uwatec_memomouse_extract_dives
|
||||
uwatec_smart_device_open
|
||||
uwatec_smart_device_set_timestamp
|
||||
uwatec_smart_extract_dives
|
||||
hw_ostc_device_open
|
||||
hw_ostc_device_md2hash
|
||||
|
||||
@ -196,20 +196,6 @@ reefnet_sensus_device_get_handshake (dc_device_t *abstract, unsigned char data[]
|
||||
}
|
||||
|
||||
|
||||
dc_status_t
|
||||
reefnet_sensus_device_set_timestamp (dc_device_t *abstract, unsigned int timestamp)
|
||||
{
|
||||
reefnet_sensus_device_t *device = (reefnet_sensus_device_t*) abstract;
|
||||
|
||||
if (! device_is_reefnet_sensus (abstract))
|
||||
return DC_STATUS_INVALIDARGS;
|
||||
|
||||
device->timestamp = timestamp;
|
||||
|
||||
return DC_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
static dc_status_t
|
||||
reefnet_sensus_device_set_fingerprint (dc_device_t *abstract, const unsigned char data[], unsigned int size)
|
||||
{
|
||||
|
||||
@ -169,20 +169,6 @@ reefnet_sensuspro_device_get_handshake (dc_device_t *abstract, unsigned char dat
|
||||
}
|
||||
|
||||
|
||||
dc_status_t
|
||||
reefnet_sensuspro_device_set_timestamp (dc_device_t *abstract, unsigned int timestamp)
|
||||
{
|
||||
reefnet_sensuspro_device_t *device = (reefnet_sensuspro_device_t*) abstract;
|
||||
|
||||
if (! device_is_reefnet_sensuspro (abstract))
|
||||
return DC_STATUS_INVALIDARGS;
|
||||
|
||||
device->timestamp = timestamp;
|
||||
|
||||
return DC_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
static dc_status_t
|
||||
reefnet_sensuspro_device_set_fingerprint (dc_device_t *abstract, const unsigned char data[], unsigned int size)
|
||||
{
|
||||
|
||||
@ -193,20 +193,6 @@ reefnet_sensusultra_device_set_maxretries (dc_device_t *abstract, unsigned int m
|
||||
}
|
||||
|
||||
|
||||
dc_status_t
|
||||
reefnet_sensusultra_device_set_timestamp (dc_device_t *abstract, unsigned int timestamp)
|
||||
{
|
||||
reefnet_sensusultra_device_t *device = (reefnet_sensusultra_device_t*) abstract;
|
||||
|
||||
if (! device_is_reefnet_sensusultra (abstract))
|
||||
return DC_STATUS_INVALIDARGS;
|
||||
|
||||
device->timestamp = timestamp;
|
||||
|
||||
return DC_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
static dc_status_t
|
||||
reefnet_sensusultra_device_set_fingerprint (dc_device_t *abstract, const unsigned char data[], unsigned int size)
|
||||
{
|
||||
|
||||
@ -161,20 +161,6 @@ uwatec_aladin_device_close (dc_device_t *abstract)
|
||||
}
|
||||
|
||||
|
||||
dc_status_t
|
||||
uwatec_aladin_device_set_timestamp (dc_device_t *abstract, unsigned int timestamp)
|
||||
{
|
||||
uwatec_aladin_device_t *device = (uwatec_aladin_device_t*) abstract;
|
||||
|
||||
if (! device_is_uwatec_aladin (abstract))
|
||||
return DC_STATUS_INVALIDARGS;
|
||||
|
||||
device->timestamp = timestamp;
|
||||
|
||||
return DC_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
static dc_status_t
|
||||
uwatec_aladin_device_set_fingerprint (dc_device_t *abstract, const unsigned char data[], unsigned int size)
|
||||
{
|
||||
|
||||
@ -160,20 +160,6 @@ uwatec_memomouse_device_close (dc_device_t *abstract)
|
||||
}
|
||||
|
||||
|
||||
dc_status_t
|
||||
uwatec_memomouse_device_set_timestamp (dc_device_t *abstract, unsigned int timestamp)
|
||||
{
|
||||
uwatec_memomouse_device_t *device = (uwatec_memomouse_device_t*) abstract;
|
||||
|
||||
if (! device_is_uwatec_memomouse (abstract))
|
||||
return DC_STATUS_INVALIDARGS;
|
||||
|
||||
device->timestamp = timestamp;
|
||||
|
||||
return DC_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
static dc_status_t
|
||||
uwatec_memomouse_device_set_fingerprint (dc_device_t *abstract, const unsigned char data[], unsigned int size)
|
||||
{
|
||||
|
||||
@ -235,20 +235,6 @@ uwatec_smart_device_close (dc_device_t *abstract)
|
||||
}
|
||||
|
||||
|
||||
dc_status_t
|
||||
uwatec_smart_device_set_timestamp (dc_device_t *abstract, unsigned int timestamp)
|
||||
{
|
||||
uwatec_smart_device_t *device = (uwatec_smart_device_t*) abstract;
|
||||
|
||||
if (! device_is_uwatec_smart (abstract))
|
||||
return DC_STATUS_INVALIDARGS;
|
||||
|
||||
device->timestamp = timestamp;
|
||||
|
||||
return DC_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
static dc_status_t
|
||||
uwatec_smart_device_set_fingerprint (dc_device_t *abstract, const unsigned char data[], unsigned int size)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user