particle_setup 0.1.0 copy "particle_setup: ^0.1.0" to clipboard
particle_setup: ^0.1.0 copied to clipboard

outdated

Flutter library to send commands to Particle IoT devices (https://www.particle.io/).

particle_setup #

Flutter library to send commands to Particle devices (https://www.particle.io/).

Note: This plugin has only been tested using the Photon wi-fi module.

Usage #

Add the following import to you Dart code:

import 'package:particle_setup/particle_setup.dart';

Ensure your phone is connected to the device's access point and run any of the provided commands.

Example #

const result = await ParticleSetup().getDeviceId();
if (result.isOk()) {
    print(${result.deviceIdHex});
}

Commands #

getVersion #

Gets the version of the device.

getDeviceId #

Gets the device's identifier.

scanAP #

Gets a list of wi-fi networks visible to the device.

getPublicKey #

Gets the device's Public Key to use when configuring wi-fi credentials.

setClaimCode #

Sets the device's claim code.

configureAP #

Configure the device's wifi network

connectAP #

Connects the device to a previously configured wi-fi network.

0
likes
0
pub points
0%
popularity

Publisher

verified publisherkirkeaton.ca

Flutter library to send commands to Particle IoT devices (https://www.particle.io/).

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

asn1lib, convert, flutter, json_annotation, pointycastle

More

Packages that depend on particle_setup