The purpose of the new I/O interface is to provide a common interface for all existing I/O implementations (serial, IrDA, bluetooth and USB HID). With a common interface the dive computer backends can more easily use different I/O implementations at runtime, without needing significant code changes. For example bluetooth enabled devices can easily switch between native bluetooth communication and serial port emulation mode. The new interface is modelled after the existing serial communication api. Implementations where some of those functions are meaningless (e.g. IrDA, bluetooth and USB), can just leave those functions unimplemented (causing the call to fail with DC_STATUS_UNSUPPORTED), or implement it as a no-op (always return DC_STATUS_SUCCESS).
117 lines
2.5 KiB
Plaintext
117 lines
2.5 KiB
Plaintext
dc_version
|
|
dc_version_check
|
|
|
|
dc_buffer_new
|
|
dc_buffer_free
|
|
dc_buffer_clear
|
|
dc_buffer_reserve
|
|
dc_buffer_resize
|
|
dc_buffer_append
|
|
dc_buffer_prepend
|
|
dc_buffer_slice
|
|
dc_buffer_get_size
|
|
dc_buffer_get_data
|
|
|
|
dc_datetime_now
|
|
dc_datetime_localtime
|
|
dc_datetime_gmtime
|
|
dc_datetime_mktime
|
|
|
|
dc_context_new
|
|
dc_context_free
|
|
dc_context_set_loglevel
|
|
dc_context_set_logfunc
|
|
|
|
dc_iterator_next
|
|
dc_iterator_free
|
|
|
|
dc_descriptor_iterator
|
|
dc_descriptor_free
|
|
dc_descriptor_get_vendor
|
|
dc_descriptor_get_product
|
|
dc_descriptor_get_type
|
|
dc_descriptor_get_model
|
|
dc_descriptor_get_transport
|
|
|
|
dc_iostream_set_timeout
|
|
dc_iostream_set_halfduplex
|
|
dc_iostream_set_latency
|
|
dc_iostream_set_break
|
|
dc_iostream_set_dtr
|
|
dc_iostream_set_rts
|
|
dc_iostream_get_available
|
|
dc_iostream_get_lines
|
|
dc_iostream_configure
|
|
dc_iostream_read
|
|
dc_iostream_write
|
|
dc_iostream_flush
|
|
dc_iostream_purge
|
|
dc_iostream_sleep
|
|
dc_iostream_close
|
|
|
|
dc_parser_new
|
|
dc_parser_new2
|
|
dc_parser_get_type
|
|
dc_parser_set_data
|
|
dc_parser_get_datetime
|
|
dc_parser_get_field
|
|
dc_parser_samples_foreach
|
|
dc_parser_destroy
|
|
|
|
reefnet_sensus_parser_set_calibration
|
|
reefnet_sensuspro_parser_set_calibration
|
|
reefnet_sensusultra_parser_set_calibration
|
|
atomics_cobalt_parser_set_calibration
|
|
|
|
dc_device_open
|
|
dc_device_close
|
|
dc_device_dump
|
|
dc_device_foreach
|
|
dc_device_get_type
|
|
dc_device_read
|
|
dc_device_set_cancel
|
|
dc_device_set_events
|
|
dc_device_set_fingerprint
|
|
dc_device_timesync
|
|
dc_device_write
|
|
|
|
oceanic_atom2_device_version
|
|
oceanic_atom2_device_keepalive
|
|
oceanic_veo250_device_version
|
|
oceanic_veo250_device_keepalive
|
|
oceanic_vtpro_device_version
|
|
oceanic_vtpro_device_keepalive
|
|
reefnet_sensus_device_get_handshake
|
|
reefnet_sensuspro_device_get_handshake
|
|
reefnet_sensuspro_device_write_interval
|
|
reefnet_sensusultra_device_read_user
|
|
reefnet_sensusultra_device_sense
|
|
reefnet_sensusultra_device_get_handshake
|
|
reefnet_sensusultra_device_write_parameter
|
|
reefnet_sensusultra_device_write_user
|
|
suunto_d9_device_version
|
|
suunto_d9_device_reset_maxdepth
|
|
suunto_eon_device_write_interval
|
|
suunto_eon_device_write_name
|
|
suunto_vyper2_device_version
|
|
suunto_vyper2_device_reset_maxdepth
|
|
hw_ostc_device_md2hash
|
|
hw_ostc_device_eeprom_read
|
|
hw_ostc_device_eeprom_write
|
|
hw_ostc_device_reset
|
|
hw_ostc_device_screenshot
|
|
hw_ostc_device_fwupdate
|
|
hw_frog_device_version
|
|
hw_frog_device_display
|
|
hw_frog_device_customtext
|
|
hw_ostc3_device_version
|
|
hw_ostc3_device_hardware
|
|
hw_ostc3_device_display
|
|
hw_ostc3_device_customtext
|
|
hw_ostc3_device_config_read
|
|
hw_ostc3_device_config_write
|
|
hw_ostc3_device_config_reset
|
|
hw_ostc3_device_fwupdate
|
|
atomics_cobalt_device_version
|
|
atomics_cobalt_device_set_simulation
|