Need help upgrading to Ionic Framework 4.0? Get assistance with our Enterprise Migration Services EXPLORE NOW

BlinkUp

Improve this doc

Electric Imp BlinkUp ionic plugin.

Repo: https://github.com/SensorShare/cordova-plugin-blinkup

Installation

  1. Install the Cordova and Ionic Native plugins:
    $ ionic cordova plugin add cordova-plugin-blinkup
    $ npm install --save @ionic-native/blinkup@4
    
  2. Add this plugin to your app's module

Supported platforms

Usage

import { BlinkUp } from '@ionic-native/blinkup';

const options = <BlinkUpWifiOptions>{
   apiKey: 'API_KEY',
   timeoutMs: 60000,
   ssid: 'MY_SSID',
   password: 'MY_PASSWORD'
 }
 BlinkUp.flashWifiBlinkUp(options).subscribe(
    (result) => console.log('Done'),
    (error) => console.log(error)
  )

Instance Members

startBlinkUp(options)

startBlinkUp - starts the blinkup process

Param Type Details
options module:blinkup.BlinkUpOptions

BlinkUp Options

Returns: Observable<any> Returns an Observable

flashWifiBlinkUp(options)

flashWifiBlinkUp - invokes the flash wifi process

Param Type Details
options module:blinkup.BlinkUpWifiOptions

BlinkUp Wifi Options

Returns: Observable<any> Returns an Observable

flashWPSBlinkUp(options)

flashWPSBlinkUp - invokes the flash wps process

Param Type Details
options module:blinkup.BlinkUpWPSOptions

BlinkUp WPS Options

Returns: Observable<any> Returns an Observable

abortBlinkUp()

abortBlinkUp - abort blinkup process

Returns: Observable<any> Returns an Observable

clearBlinkUpData()

clearBlinkUpData - clear wifi data

Returns: Observable<any> Returns an Observable

API

Native

General