esp_rainmaker_association

Last updated:

0 purchases

esp_rainmaker_association Image
esp_rainmaker_association Images
Add to Cart

Description:

esp rainmaker association

Introduction #
A native dart implementation of ESP Rainmaker provisioning and user mapping.
Currently only security 0 is supported and there are no plans to implement security 1, though pull requests would be welcome.
Usage #
A simple usage example:
import 'package:esp_rainmaker_association/rainmaker_association.dart';
import 'package:uuid/uuid.dart';

Future<void> main() async {
final device = EspDevice();
final mapping = UserMapping(device);

final networks = await device.scanNetworks();
print(networks);

final uidGen = Uuid();
final secKey = uidGen.v1();

await mapping.mapUser('user_id', secKey);
await device.provision('ssid', 'pass');
}
copied to clipboard
Features and bugs #
Please file feature requests and bugs at the issue tracker.

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.