Skip to content

xight/flashair-lua-dev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Stub for Toshiba® FlashAir® Wi-Fi SD Cards

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages