diff --git a/examples/suunto_d9_test.c b/examples/suunto_d9_test.c index d83d1b6..20b88c2 100644 --- a/examples/suunto_d9_test.c +++ b/examples/suunto_d9_test.c @@ -44,16 +44,6 @@ test_dump_sdm (const char* name) return rc; } - message ("suunto_d9_device_version\n"); - unsigned char version[SUUNTO_D9_VERSION_SIZE] = {0}; - rc = suunto_d9_device_version (device, version, sizeof (version)); - if (rc != DC_STATUS_SUCCESS) { - WARNING ("Cannot identify computer."); - dc_device_close (device); - dc_context_free (context); - return rc; - } - message ("dc_device_foreach\n"); rc = dc_device_foreach (device, NULL, NULL); if (rc != DC_STATUS_SUCCESS) { @@ -95,16 +85,6 @@ test_dump_memory (const char* name, const char* filename) return rc; } - message ("suunto_d9_device_version\n"); - unsigned char version[SUUNTO_D9_VERSION_SIZE] = {0}; - rc = suunto_d9_device_version (device, version, sizeof (version)); - if (rc != DC_STATUS_SUCCESS) { - WARNING ("Cannot identify computer."); - dc_device_close (device); - dc_context_free (context); - return rc; - } - dc_buffer_t *buffer = dc_buffer_new (0); message ("dc_device_dump\n"); diff --git a/examples/suunto_vyper2_test.c b/examples/suunto_vyper2_test.c index d515b6d..b7daeb0 100644 --- a/examples/suunto_vyper2_test.c +++ b/examples/suunto_vyper2_test.c @@ -44,16 +44,6 @@ test_dump_sdm (const char* name) return rc; } - message ("suunto_vyper2_device_version\n"); - unsigned char version[SUUNTO_VYPER2_VERSION_SIZE] = {0}; - rc = suunto_vyper2_device_version (device, version, sizeof (version)); - if (rc != DC_STATUS_SUCCESS) { - WARNING ("Cannot identify computer."); - dc_device_close (device); - dc_context_free (context); - return rc; - } - message ("dc_device_foreach\n"); rc = dc_device_foreach (device, NULL, NULL); if (rc != DC_STATUS_SUCCESS) { @@ -95,16 +85,6 @@ test_dump_memory (const char* name, const char* filename) return rc; } - message ("suunto_vyper2_device_version\n"); - unsigned char version[SUUNTO_VYPER2_VERSION_SIZE] = {0}; - rc = suunto_vyper2_device_version (device, version, sizeof (version)); - if (rc != DC_STATUS_SUCCESS) { - WARNING ("Cannot identify computer."); - dc_device_close (device); - dc_context_free (context); - return rc; - } - dc_buffer_t *buffer = dc_buffer_new (0); message ("dc_device_dump\n");