flutter_ble_peripheral 3.0.0 copy "flutter_ble_peripheral: ^3.0.0" to clipboard
flutter_ble_peripheral: ^3.0.0 copied to clipboard

This plugin enables a device to be set into peripheral mode, and advertise custom services and characteristics.

example/lib/main.dart

/*
 * Copyright (c) 2022. Julian Steenbakker.
 * All rights reserved. Use of this source code is governed by a
 * BSD-style license that can be found in the LICENSE file.
 */

import 'package:flutter/material.dart';
import 'package:flutter_ble_peripheral_example/peripheral_app.dart';
import 'package:flutter_ble_peripheral_example/shell/shell.dart';

void main() => runApp(
  const InstrumentApp(
    role: DeviceRole.peripheral,
    home: PeripheralHome(),
  ),
);
64
likes
160
points
3.93k
downloads

Documentation

API reference

Publisher

verified publishersteenbakker.dev

Weekly Downloads

This plugin enables a device to be set into peripheral mode, and advertise custom services and characteristics.

Repository (GitHub)
View/report issues
Contributing

License

BSD-3-Clause (license)

Dependencies

flutter, json_annotation

More

Packages that depend on flutter_ble_peripheral

Packages that implement flutter_ble_peripheral