0.5.3 • Published 9 years ago

flashair2 v0.5.3

Weekly downloads
14
License
-
Repository
github
Last release
9 years ago

FlashAir API Wrapper

FlashAir API for Node.js API Wrapper

Get Started

Step 1

npm install flashair2

Step 2

var flashair = require("flashair")(appname, appmode);

- appname

Specifies the application hostname ( the URL of the CGI server ) In the default CONFIG the parameter APPNAME default value is flashair.

- appmode

Wireless mode, available options are : STA and AP In the default CONFIG the parameter APPMODE default value is STA.

Step 3

Write your code!

Support

versione firmware 2.00.00+

command.cgi

  • Get file list
  • Get the number of files
  • Get update status
  • Get SSID
  • Get network password
  • Get MAC address
  • Set browser language
  • Get the firmware version
  • Get the control image
  • Get Wireless LAN mode
  • Set Wireless LAN timeout length
  • Get application unique information
  • New Get Upload parameters
  • Get CID
  • New Get time stamp of write event
  • Get data from shared memory
  • Set data to shared memory
  • Get the number of empty sectors
  • New Control SD Interface as user I/O
  • Enable Photo Share mode
  • Disable Photo Share mode
  • Get Photo Share mode status
  • Get SSID for Photo Share mode

config.cgi

  • Set Connection Timeout
  • Set Application's Unique Information
  • Set Wireless LAN Mode
  • Set Network Security Key
  • Set SSID
  • Set Network Security Key for Internet Pass-Thru Mode
  • Set SSID for Internet Pass-Thru Mode
  • Set Wireless LAN Boot Screen Path
  • Set Master Code
  • Get Wireless LAN mode
  • Set Wireless LAN timeout length
  • Get application unique information
  • New Get Upload parameters
  • Get CID
  • New Get time stamp of write event
  • Get data from shared memory
  • Set data to shared memory
  • Get the number of empty sectors
  • New Control SD Interface as user I/O
  • Enable Photo Share mode
  • Disable Photo Share mode
  • Get Photo Share mode status
  • Get SSID for Photo Share mode

thumbnail.cgi

  • Get thumbnail

upload.cgi

TODO

Document

command.cgi

Acquisizione di elenco di file

Example
flashair.command.getFileList("/", function (err, files) {
  if (err)
    throw err;

  console.log(files);
});

License

The MIT License (MIT)

Copyright (c) 2013 Takenori Nakagawa

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

0.5.3

9 years ago

0.5.1

9 years ago

0.5.0

9 years ago

0.1.0

9 years ago