kidd3166 bcfbb57d36 1.4 update il y a 2 ans
..
README.md bcfbb57d36 1.4 update il y a 2 ans
bledata.proto bcfbb57d36 1.4 update il y a 2 ans

README.md

Protobuf code generation

  1. Install the newest protoc. It can be done via brew:
brew install protobuf
  1. For Swift code generation install :
brew install swift-protobuf
  1. If you don't have Dart SDK on your computer please install it.
brew isntall dart
  1. Run pub global activate protoc_plugin
  2. OPTIONAL Add plugin path to PATH environment variable
  3. Run the following command from the "protos" directory
protoc --dart_out=../lib/src/generated ./bledata.proto
protoc --swift_out=../ios/Classes/BleData ./bledata.proto

NOTE: If directory ../lib/generated or ./ios/Classes/BleData does not exist please create it.