airkiss 1.0.1 copy "airkiss: ^1.0.1" to clipboard
airkiss: ^1.0.1 copied to clipboard

A dart airkiss lib.

dart-airkiss #

pub package

A dart wechat airkiss lib to config IOT device.

Usage #

To use this plugin, add airkiss as a dependency in your pubspec.yaml file.

dependencies:
  airkiss: ^1.0.0

Example #

import 'package:airkiss/airkiss.dart';


import 'package:airkiss/airkiss.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");
}

View on GitHub

3
likes
20
pub points
0%
popularity

Publisher

unverified uploader

A dart airkiss lib.

Repository (GitHub)
View/report issues

Documentation

Documentation

License

Apache-2.0 (license)

More

Packages that depend on airkiss