第一篇详见:https://bbs.hassbian.com/thread-4998-1-1.html
今天有空,重新抓了下极米的包,更新下相关指令:
语音搜索:
{"action":20000,"controlCmd":{"data":"最新的电影","delayTime":0,"mode":5,"time":0,"type":0},"msgid":"2"}
投屏:
{"action":30200,"customPlay":{"mediatype":2,"mode":0,"playlist":[{"num":0,"url":"http://192.168.1.28:7766/image-item-173981#/storage/emulated/0/cmb_movie_invitation.jpg","vips":[]}],"pos":0,"position":0,"songId":0,"songsList":[],"type":0},"msgid":"2","packageName":"com.xgimi.zhushou","version":"4.0.6"}
理论上,只要url能访问,应该都可以投屏
清理内存:
{"action":20000,"controlCmd":{"delayTime":0,"mode":9,"time":0,"type":2},"msgid":"2"}
打开应用
{"action":20000,"controlCmd":{"data":"com.gitvjimi.video","delayTime":0,"mode":7,"time":0,"type":1},"msgid":"2"}
{"action":20000,"controlCmd":{"data":"com.cibn.tv","delayTime":0,"mode":7,"time":0,"type":1},"msgid":"2"}
定时关机:
{"action":20000,"controlCmd":{"delayTime":0,"mode":6,"time":2,"type":3},"msgid":"2"}
{"action":20000,"controlCmd":{"delayTime":0,"mode":6,"time":0,"type":3},"msgid":"2"}
主要是time的序列,0=>取消,1=>15分钟,2=>30分钟,3=>60分钟,4=>120分钟
重启:
{"action":20000,"controlCmd":{"delayTime":0,"mode":6,"time":0,"type":1},"msgid":"2"}
光关机:
{"action":20000,"controlCmd":{"delayTime":0,"mode":6,"time":0,"type":2},"msgid":"2"}
还有一些其他的指令没有进行抓包,因为没太大意义,比如镜像,传文件,调焦,3d设置,图像模式等,通过对以上整理,大概就是controlCmd中的mode表示不同类型。
|