Skip to content

Latest commit

 

History

History
63 lines (42 loc) · 1.81 KB

README.md

File metadata and controls

63 lines (42 loc) · 1.81 KB

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 This software is released under the MIT license. https://github.com/xight/flashair-lua-dev/blob/master/LICENSE