Masterarbeit Richard Stern. Flutter App, sich mit einem Bluetooth-Gerät verbindet und Berührungen auf einem Sensor visualisiert.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
// Copyright 2017, Paul DeMarco.\
// All rights reserved. Use of this source code is governed by a\
// BSD-style license that can be found in the LICENSE file.
Generate protobuf files in Dart
- If upgrading, delete all proto files from /home/.pub-cache/bin
- Clone the latest dart-protoc-plugin from https://github.com/dart-lang/dart-protoc-plugin
- Run
pub install
inside dart-protoc-plugin
- Run
pub global activate protoc_plugin
to get .dart files into /home/.pub-cache/bin/
- Get the latest linux protoc compiler from https://github.com/google/protobuf/releases/ (protoc-X.X.X-linux-x86_64.zip)
- Copy /bin/protoc into /home/.pub-cache/bin/
- Run the following commands from the protos folder
protoc --dart_out=../lib/gen ./flutterblue.proto
protoc --objc_out=../ios/gen ./flutterblue.proto