Stub for Toshiba® FlashAir® Wifi SD Cards
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
spec
.gitignore
.travis.yml
LICENSE
README.md
config.yaml
flashair.lua
sample.lua

README.md

flashair-lua-dev

FlashAir独自のLua関数を利用するためのライブラリ。
このライブラリが提供するオブジェクト fa が FlashAir の fa の様に振る舞うため、FlashAir外でも開発が可能になる。

  • master: Build Status
  • develop: Build Status

Install

Install lua library

% luarocks install luasocket
% luarocks install luaossl
% luarocks install lyaml
% luarocks install busted

git clone & testing

% git clone https://github.com/xight/flashair-lua-dev
% cd flashair-lua-dev
% busted spec

Run sample script

% lua sample.lua

Usage

require("flashair")

local b, c, h = fa.request("http://example.com/")
print(b)

local b, c, h = fa.request{url = "http://example.com/"}
print(b)

Requirement

ToDo

  • fa.pio の仕様確認と実装
  • fa.ReadStatusReg()の仕様確認と実装
  • fa.FTP の実装

Reference

License

Copyright (c) 2017 Yoshiki Sato Released under the MIT license https://github.com/xight/flashair-lua-dev/blob/master/LICENSE