opticonnect_sdk 1.0.15 opticonnect_sdk: ^1.0.15 copied to clipboard
OptiConnect SDK integrates with Opticon's BLE OPN-2500 and OPN-6000 scanners, enabling Bluetooth connection management, data streaming, and command control.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add opticonnect_sdk
With Flutter:
$ flutter pub add opticonnect_sdk
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
opticonnect_sdk: ^1.0.15
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:opticonnect_sdk/constants.dart';
import 'package:opticonnect_sdk/constants/commands_constants.dart';
import 'package:opticonnect_sdk/constants/symbology_constants.dart';
import 'package:opticonnect_sdk/entities.dart';
import 'package:opticonnect_sdk/entities/barcode_data.dart';
import 'package:opticonnect_sdk/entities/battery_level_status.dart';
import 'package:opticonnect_sdk/entities/ble_discovered_device.dart';
import 'package:opticonnect_sdk/entities/command_data.dart';
import 'package:opticonnect_sdk/entities/command_response.dart';
import 'package:opticonnect_sdk/entities/device_info.dart';
import 'package:opticonnect_sdk/entities/led_color.dart';
import 'package:opticonnect_sdk/entities/scanner_command.dart';
import 'package:opticonnect_sdk/enums.dart';
import 'package:opticonnect_sdk/enums/ble_adapter_state.dart';
import 'package:opticonnect_sdk/enums/ble_device_connection_state.dart';
import 'package:opticonnect_sdk/enums/direct_input_key.dart';
import 'package:opticonnect_sdk/enums/formattable_symbology.dart';
import 'package:opticonnect_sdk/enums/scanner_settings/code_specific/codabar.dart';
import 'package:opticonnect_sdk/enums/scanner_settings/code_specific/code_11.dart';
import 'package:opticonnect_sdk/enums/scanner_settings/code_specific/code_128_and_gs1_128.dart';
import 'package:opticonnect_sdk/enums/scanner_settings/code_specific/code_2_of_5_and_s_code.dart';
import 'package:opticonnect_sdk/enums/scanner_settings/code_specific/code_39.dart';
import 'package:opticonnect_sdk/enums/scanner_settings/code_specific/composite_codes.dart';
import 'package:opticonnect_sdk/enums/scanner_settings/code_specific/ean_13.dart';
import 'package:opticonnect_sdk/enums/scanner_settings/code_specific/iata.dart';
import 'package:opticonnect_sdk/enums/scanner_settings/code_specific/msi_plessey.dart';
import 'package:opticonnect_sdk/enums/scanner_settings/code_specific/telepen.dart';
import 'package:opticonnect_sdk/enums/scanner_settings/code_specific/upc_a.dart';
import 'package:opticonnect_sdk/enums/scanner_settings/code_specific/upc_e.dart';
import 'package:opticonnect_sdk/enums/scanner_settings/indicator_options.dart';
import 'package:opticonnect_sdk/enums/scanner_settings/read_options.dart';
import 'package:opticonnect_sdk/enums/symbology_type.dart';
import 'package:opticonnect_sdk/interfaces.dart';
import 'package:opticonnect_sdk/interfaces/bluetooth_manager.dart';
import 'package:opticonnect_sdk/interfaces/scanner_feedback.dart';
import 'package:opticonnect_sdk/interfaces/scanner_info.dart';
import 'package:opticonnect_sdk/interfaces/scanner_settings/code_specific/codabar.dart';
import 'package:opticonnect_sdk/interfaces/scanner_settings/code_specific/code_11.dart';
import 'package:opticonnect_sdk/interfaces/scanner_settings/code_specific/code_128_and_gs1_128.dart';
import 'package:opticonnect_sdk/interfaces/scanner_settings/code_specific/code_2_of_5_and_s_code.dart';
import 'package:opticonnect_sdk/interfaces/scanner_settings/code_specific/code_39.dart';
import 'package:opticonnect_sdk/interfaces/scanner_settings/code_specific/code_93.dart';
import 'package:opticonnect_sdk/interfaces/scanner_settings/code_specific/code_specific.dart';
import 'package:opticonnect_sdk/interfaces/scanner_settings/code_specific/composite_codes.dart';
import 'package:opticonnect_sdk/interfaces/scanner_settings/code_specific/ean_13.dart';
import 'package:opticonnect_sdk/interfaces/scanner_settings/code_specific/ean_8.dart';
import 'package:opticonnect_sdk/interfaces/scanner_settings/code_specific/gs1_databar.dart';
import 'package:opticonnect_sdk/interfaces/scanner_settings/code_specific/iata.dart';
import 'package:opticonnect_sdk/interfaces/scanner_settings/code_specific/korean_postal_authority.dart';
import 'package:opticonnect_sdk/interfaces/scanner_settings/code_specific/msi_plessey.dart';
import 'package:opticonnect_sdk/interfaces/scanner_settings/code_specific/telepen.dart';
import 'package:opticonnect_sdk/interfaces/scanner_settings/code_specific/uk_plessey.dart';
import 'package:opticonnect_sdk/interfaces/scanner_settings/code_specific/upc_a.dart';
import 'package:opticonnect_sdk/interfaces/scanner_settings/code_specific/upc_e.dart';
import 'package:opticonnect_sdk/interfaces/scanner_settings/code_specific/upc_e1.dart';
import 'package:opticonnect_sdk/interfaces/scanner_settings/connection_pool.dart';
import 'package:opticonnect_sdk/interfaces/scanner_settings/formatting.dart';
import 'package:opticonnect_sdk/interfaces/scanner_settings/indicator_options.dart';
import 'package:opticonnect_sdk/interfaces/scanner_settings/read_options.dart';
import 'package:opticonnect_sdk/interfaces/scanner_settings/scanner_settings.dart';
import 'package:opticonnect_sdk/interfaces/scanner_settings/symbology.dart';
import 'package:opticonnect_sdk/opticonnect.dart';