airkiss_dart

Creator: coderz1093

Last updated:

0 purchases

airkiss_dart Image
airkiss_dart Images
Add to Cart

Description:

airkiss dart

airkiss_dart[nullsafety] #

A dart wechat airkiss lib to config IOT device from sintrb.
View on GitHub origin
Usage #
To use this plugin, add airkiss_dart as a dependency in your pubspec.yaml file.
dependencies:
airkiss_dart: ^1.0.1
copied to clipboard
Example #
import 'package:airkiss/airkiss_dart.dart';


import 'package:airkiss/airkiss_dart.dart';

void test(String ssid, String pwd) async {
print('config ssid:$ssid, pwd:$pwd');
AirkissConfig ac = AirkissConfig();
var res = await ac.config(ssid, pwd);
if (res != null) {
print('result: $res');
}
else {
print(
'config failed!!! please ensure phone/pc connected to Wi—Fi[$ssid] with 2.4GHz Channel(NOT 5GHz Channel)');
}
}

void main() {
test("SSID", "PASSWORD");
}
copied to clipboard

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.