nmea2000 0.1.3
nmea2000: ^0.1.3 copied to clipboard
NMEA 2000 marine protocol layer on top of package:j1939. Fast Packet transport, PGN auto-responder, field-level codec, and marine NAME defaults.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate nmea2000Use it
The package has the following executables:
$ demo
$ marine_sim
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add nmea2000With Flutter:
$ flutter pub add nmea2000This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
nmea2000: ^0.1.3Alternatively, 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:nmea2000/nmea2000.dart';