flashair-lua-dev
flashair-lua-dev copied to clipboard
Stub for Toshiba® FlashAir® Wi-Fi SD Cards
need to implement for firmware 4.0.0+ functions below shown. * i2c * search * control("time") * control("fioget") * control("fioset") * ConnectedSTA * websocket https://www.flashair-developers.com/ja/documents/api/lua/#reference
need to implement for firmware 3.0.0+ functions below shown. * sharedmemory * SetCert * strconvert * SetChannel * MailSend * spi * ip * WlanLink * remove * rename https://www.flashair-developers.com/ja/documents/api/lua/#reference
https://flashair-developers.com/ja/documents/api/lua/reference/#request のファイルアップロードのサンプルコードから、xight/flashair-lua-devを呼び出したが、通信が完了しない。 (CentOS 6.7 x86) 「引数bodyに、が記述された場合、置き換えで、file内容を埋め込む」 というFlashAir独自仕様が満たされていないように思います。 少し、冗長ですが 65a66,78 > ``` > -- Hundredsoft add start > if (file ~= nil) then > local fp = io.open(file, "rb") > if...