联合开发网   搜索   要求与建议
                登陆    注册
排序按匹配   按投票   按下载次数   按上传日期
按分类查找All Linux/Unix编程(1) 
按平台查找All MultiPlatform(1) 

[Linux/Unix编程] weather_lua

可以在openwrt系统运行,使用lua语言编写。 1.环境:linux(openwrt) 2.依赖:stty 设置串口参数 curl 获取网络设置 cjson 解析json数据 ntpd 网络校时 3.串口名,波特率 城市id 接口签名自行修改 流程:运行后网络对时,打开串口,更新天气数据直到成功,监控串口数据流入,串口返回天气信息
Openwrt system can run using lua language. 1. Environment: linux (openwrt) 2. dependence: stty set up the serial port parameters curl obtain network settings cjson parse json data ntpd school network 3. name of the serial baud rate of the interface signature urban id modification process yourself: After running network time, open the serial port, until a successful update weather data, monitoring serial data flow into the serial port returns weather information (2016-05-04, MultiPlatform, 15KB, 下载17次)

http://www.pudn.com/Download/item/id/1462351359795898.html
总计:1