Module: caf_iot/ca/plug_iot

Plugin for IoT apps cloud support.

This plugin runs in the cloud.

Properties:

   {iotMethodsFileName: string, appDir: string|null,
    iotDeviceManagerAppURL: string}

where:

  • iotMethodsFileName: name of the iot methods file. With a default setup is ../iot/lib/iot_methods.js.
  • appDir: directory for iotMethodsFileName. With a null value it defaults to the directory that contains the app ca_methods.js file, i.e., <app_dir>/lib.
  • iotDeviceManagerAppURL: URL of the service managing the device. Default setup is https://root-gadget.cafjs.com.
Source:

Extends