fliclib

Last updated:

0 purchases

fliclib Image
fliclib Images
Add to Cart

Description:

fliclib

Fliclib #
A dart version of the Shortcut Labs Flic button protocol
Please see the official Flic developer docs for more info
Device support #
Currently supported #

Windows via FlicSDK
Linux via FlicSDK

Planned support #

Android via Flutter
iOS via Flutter

Usage #
You will need the FlicSDK running and have already connected the Flic buttons you wish to use
A simple usage example:
import 'package:fliclib/fliclib.dart';

void main() {
run();
}

void run() async {
var client = FlicClient();
await client.connect();
var info = await client.getInfo();
print(info.toString());

info.bdAddrOfVerifiedButtons.forEach((element) {
var channel = ButtonConnectionChannel.Normal(element);
client.addConnectionChannel(channel);
print('Add channel for ${channel.bdaddr.toString()}');
});
}
copied to clipboard
Features and bugs #
Please file feature requests and bugs at the issue tracker.
License #
Dart Fliclib by Alexander Haslam is licensed under CC BY 4.0

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.