-
Notifications
You must be signed in to change notification settings - Fork 0
/
THETA_Shutter_UIFlow_Stack.m5f
1 lines (1 loc) · 21 KB
/
THETA_Shutter_UIFlow_Stack.m5f
1
{"components":[{"id":"____screen","createTime":1580389839020,"name":"Screen","x":0,"y":0,"width":320,"height":240,"backgroundColor":"#222222","backgroundImage":"","type":"screen"},{"id":"____buttonA","createTime":1580389839020,"name":"ButtonA","buttonIndex":0,"x":35,"y":216,"width":64,"height":24,"text":"ButtonA","visibility":false,"type":"button"},{"id":"____buttonB","createTime":1580389839020,"name":"ButtonB","buttonIndex":1,"x":125,"y":216,"width":64,"height":24,"text":"ButtonB","visibility":false,"type":"button"},{"id":"____buttonC","createTime":1580389839020,"name":"ButtonC","buttonIndex":2,"x":215,"y":216,"width":64,"height":24,"text":"ButtonC","visibility":false,"type":"button"},{"id":"Zxo!V2L*SgEysxDn","createTime":1580389858367,"name":"label1","x":23,"y":212,"color":"#FFFFFF","text":"Shutter","font":"lcd.FONT_DejaVu24","rotation":0,"type":"label","layer":12},{"id":"zBqLqRvPe_#DxZDp","createTime":1580389932016,"name":"label0","x":8,"y":5,"color":"#FFFFFF","text":"Text","font":"lcd.FONT_DejaVu24","rotation":0,"type":"label","layer":13}],"type":"core","versions":"Stabile","units":[],"hats":[],"blockly":"<variables><variable id=\".EU,m-#4,];@P8W]J?rS\">ssid</variable><variable id=\"4`e9N#G#}Pb)mFe,3J+q\">pwd</variable><variable id=\"sNbw~.1/G9nxC?9S?!T+\">ret</variable><variable id=\"}L;HTCkiV(eod,{x1pwh\">model</variable><variable id=\"fRA*9T~vmD6@k?{7/(:z\">id</variable></variables><block type=\"basic_on_setup\" id=\"setup_block\" deletable=\"false\" x=\"10\" y=\"10\"><next><block type=\"lcd_clear\" id=\"QgGEg|9od@bwJ)Y1#3J$\"><next><block type=\"label_set_text\" id=\"J#Pl=t{YFhv(,NZ2u.@|\"><field name=\"COMPONENT\">label0</field><value name=\"TEXT\"><shadow type=\"text\" id=\"evywlK70XQhYCU?s*zH+\"><field name=\"TEXT\">Connecting</field></shadow></value><next><block type=\"label_set_color\" id=\"1L9`81ta)v3WQtGoDM.m\"><field name=\"COMPONENT\">label1</field><field name=\"COLOR\">#000000</field><next><block type=\"controls_ifelse\" id=\"ODSF1W$5aD?67R{j}hLN\"><value name=\"IF0\"><block type=\"procedures_callreturn\" id=\",WL14F}KhWHxnCTZmXWa\"><mutation name=\"connectWifi\"><arg name=\"ssid\"></arg><arg name=\"pwd\"></arg></mutation><value name=\"ARG0\"><block type=\"text\" id=\"gJ/wa)CcLvGP#9Efj^g%\"><field name=\"TEXT\">Your THETA's SSID</field></block></value><value name=\"ARG1\"><block type=\"text\" id=\"%:iVzw:E=4n0[.}xXv?{\"><field name=\"TEXT\">Your THETA's password</field></block></value></block></value><statement name=\"DO0\"><block type=\"label_set_text\" id=\"6V*uBi9$d;oeIpL/qEXP\"><field name=\"COMPONENT\">label0</field><value name=\"TEXT\"><shadow type=\"text\" id=\"CUy)rSu7dN:*5_Z$i;kZ\"><field name=\"TEXT\">Connected</field></shadow></value></block></statement><statement name=\"ELSE\"><block type=\"label_set_text\" id=\"N*HS~Dsc-H8ym?LygX{!\"><field name=\"COMPONENT\">label0</field><value name=\"TEXT\"><shadow type=\"text\" id=\"}I:b{=@ERtP)s3SpB/ty\"><field name=\"TEXT\">Connection failed</field></shadow></value><next><block type=\"basic_on_loop\" id=\"e}V%}bwAAlyl4;-sz4kO\"></block></next></block></statement><next><block type=\"controls_ifelse\" id=\"QW%y3/vGn$JUo*CV$PDf\"><value name=\"IF0\"><block type=\"procedures_callreturn\" id=\"o(3T_9yupV?a?[D]}I;L\"><mutation name=\"setApiLevel\"></mutation></block></value><statement name=\"DO0\"><block type=\"label_set_color\" id=\"JAYV?!RKe(th6XVyNl#X\"><field name=\"COMPONENT\">label1</field><field name=\"COLOR\">#ffffff</field></block></statement><statement name=\"ELSE\"><block type=\"basic_on_loop\" id=\"2}Y/u0#2$U,CaW0;69`T\"></block></statement></block></next></block></next></block></next></block></next></block></next></block><block type=\"procedures_defreturn\" id=\"w,$h0S@RijXtywX/=OY@\" x=\"10\" y=\"530\"><field name=\"NAME\">setApiLevel</field><statement name=\"STACK\"><block type=\"variables_set\" id=\"Fp^Jdv2w=so7JKO[-S8L\"><field name=\"VAR\" id=\"sNbw~.1/G9nxC?9S?!T+\">ret</field><value name=\"VALUE\"><block type=\"logic_boolean\" id=\"*_$c$g[yI*d]q,+M)kP?\"><field name=\"BOOL\">FALSE</field></block></value><next><block type=\"http_request\" id=\"WD#,NLsSuGyTkmo!Y1Dt\"><field name=\"method\">GET</field><value name=\"url\"><shadow type=\"text\" id=\"]`Doxc|IoRr?5O4lki;n\"><field name=\"TEXT\">http://192.168.1.1:80/osc/info</field></shadow></value><statement name=\"success\"><block type=\"variables_set\" id=\"%Ph!h9f-IY@lwQ%^-NQ:\"><field name=\"VAR\" id=\"}L;HTCkiV(eod,{x1pwh\">model</field><value name=\"VALUE\"><block type=\"get_map_key\" id=\";~`I@too28.M!Np{VRWR\"><value name=\"key\"><block type=\"text\" id=\"GmF#t8g8VxM;,M.smV|f\"><field name=\"TEXT\">model</field></block></value><value name=\"map\"><block type=\"loads_json\" id=\"3VT+*%]X=L||+^avM$s6\"><value name=\"JSON_VAR\"><block type=\"get_data\" id=\"2(D-=AhC-g9t_wMx|Y#U\"></block></value></block></value></block></value><next><block type=\"label_set_text\" id=\"l@1lt[YI9xH,?7/rLsj?\"><field name=\"COMPONENT\">label0</field><value name=\"TEXT\"><shadow type=\"text\" id=\"G%mB1TT1kP51Jcuv:v)P\"><field name=\"TEXT\">info success</field></shadow></value><next><block type=\"variables_set\" id=\"`=xyigv4UGQVX?rj^cEY\"><field name=\"VAR\" id=\"sNbw~.1/G9nxC?9S?!T+\">ret</field><value name=\"VALUE\"><block type=\"logic_boolean\" id=\"p(HyGhR!6%4#,JJtr`%W\"><field name=\"BOOL\">TRUE</field></block></value></block></next></block></next></block></statement><statement name=\"fail\"><block type=\"label_set_text\" id=\"GbSwX.b?OX6uvg]n]yu*\"><field name=\"COMPONENT\">label0</field><value name=\"TEXT\"><shadow type=\"text\" id=\"[]NmlESYh/Khec:Cur~l\"><field name=\"TEXT\">info failed</field></shadow><block type=\"text_add\" id=\"WTlL7[Zyw9a+RL^)jcw5\"><value name=\"arg0\"><shadow type=\"text\" id=\"S9d5+h.*_?0k%#yMT`H{\"><field name=\"TEXT\">info failed:</field></shadow></value><value name=\"arg1\"><block type=\"convent_str\" id=\"[#EVcSn|W8TK8-uOzg2L\"><value name=\"VALUE\"><block type=\"get_status_code\" id=\"Um6jDXW$kle+jg5utRTY\"></block></value></block></value></block></value></block></statement><next><block type=\"controls_if\" id=\"wZ62(drK1f1v6GTUCx88\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"nAufF?WXxu}2|;H6m~|z\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"variables_get\" id=\"Tg:KQ(VMg_R{ZUD;2}ZY\"><field name=\"VAR\" id=\"sNbw~.1/G9nxC?9S?!T+\">ret</field></block></value><value name=\"B\"><block type=\"logic_boolean\" id=\"_(2V9f,?x[eQG5Lwl}ke\"><field name=\"BOOL\">FALSE</field></block></value></block></value><statement name=\"DO0\"><block type=\"procedures_ifreturn\" id=\"=jVB!|h;N5HSSU+%WXHA\"><mutation value=\"1\"></mutation><value name=\"VALUE\"><block type=\"logic_boolean\" id=\".2cZGropVl$}.Pk1L:]R\"><field name=\"BOOL\">FALSE</field></block></value></block></statement><next><block type=\"variables_set\" id=\"AVeaC*O:cQ3hPQ?jk@jH\"><field name=\"VAR\" id=\"sNbw~.1/G9nxC?9S?!T+\">ret</field><value name=\"VALUE\"><block type=\"logic_boolean\" id=\"ftr]Vb_^6uIg*2d3`vnP\"><field name=\"BOOL\">FALSE</field></block></value><next><block type=\"controls_if\" id=\"Vbjato+{6];[bSok~o!{\"><mutation elseif=\"1\" else=\"1\"></mutation><value name=\"IF0\"><block type=\"logic_operation\" id=\"O]ImXOI_YAS*@%j4(pG9\"><field name=\"OP\">OR</field><value name=\"A\"><block type=\"logic_compare\" id=\"`EBTC}?y15Kc6W9*Hd6N\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"variables_get\" id=\"yXP$1mUlb[Q-BRvHH8RY\"><field name=\"VAR\" id=\"}L;HTCkiV(eod,{x1pwh\">model</field></block></value><value name=\"B\"><block type=\"text\" id=\"!*~DGRNYmz:ol9VY}NjO\"><field name=\"TEXT\">RICOH THETA V</field></block></value></block></value><value name=\"B\"><block type=\"logic_compare\" id=\"Uv#su{Ut[|Y1QDo8D!*B\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"variables_get\" id=\"n$Vo0ho8.Mc}r`:=v!}:\"><field name=\"VAR\" id=\"}L;HTCkiV(eod,{x1pwh\">model</field></block></value><value name=\"B\"><block type=\"text\" id=\"_lCnCVj.t-YtARsALD_n\"><field name=\"TEXT\">RICOH THETA Z1</field></block></value></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set\" id=\"cP.BYt?[JW;}]6FI]8$i\"><field name=\"VAR\" id=\"sNbw~.1/G9nxC?9S?!T+\">ret</field><value name=\"VALUE\"><block type=\"logic_boolean\" id=\"w`Sv7j!/w?Z5k~:QEi/9\"><field name=\"BOOL\">TRUE</field></block></value></block></statement><value name=\"IF1\"><block type=\"logic_operation\" id=\";PqMO^4qAl3yK:3MjP61\"><field name=\"OP\">OR</field><value name=\"A\"><block type=\"logic_compare\" id=\"gl`tQrTUkvR}r*1!HR8Y\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"variables_get\" id=\"dX:|sAQ{Ka3*o.]Sg+oG\"><field name=\"VAR\" id=\"}L;HTCkiV(eod,{x1pwh\">model</field></block></value><value name=\"B\"><block type=\"text\" id=\"DK7oGqc$nP$f03W#j+HZ\"><field name=\"TEXT\">RICOH THETA S</field></block></value></block></value><value name=\"B\"><block type=\"logic_compare\" id=\"P@p3:~3]?eWy(Pdi)BQT\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"variables_get\" id=\"21~mZsRP2wC~pnF=|7)!\"><field name=\"VAR\" id=\"}L;HTCkiV(eod,{x1pwh\">model</field></block></value><value name=\"B\"><block type=\"text\" id=\"K`)7^;wK43yk~EH!(Yf#\"><field name=\"TEXT\">RICOH THETA SC</field></block></value></block></value></block></value><statement name=\"DO1\"><block type=\"http_request\" id=\"TiVqSVoi=)ebP}S{tx{b\"><field name=\"method\">POST</field><value name=\"url\"><shadow type=\"text\" id=\"V*?lFG.0%g~4%C;R$4Yr\"><field name=\"TEXT\">http://192.168.1.1:80/osc/commands/execute</field></shadow></value><value name=\"data\"><block type=\"map_on_loop\" id=\".(fJ1XPV!M-Sb(LBDYgb\"><statement name=\"LOOP\"><block type=\"create_map_key\" id=\"4cCwPvYJ5D{+|CDjcxDY\"><value name=\"key\"><block type=\"text\" id=\"!s~2A?,#;}Wm)F|3+PLN\"><field name=\"TEXT\">name</field></block></value><value name=\"value\"><block type=\"text\" id=\"=K*o!v?zdBNi40SA^we*\"><field name=\"TEXT\">camera.startSession</field></block></value><next><block type=\"create_map_key\" id=\"bK3!`au8f2O^ej.Z;i$o\"><value name=\"key\"><block type=\"text\" id=\"_DF+,}dx]za7IE+)ykH2\"><field name=\"TEXT\">parameters</field></block></value></block></next></block></statement></block></value><statement name=\"success\"><block type=\"variables_set\" id=\"M79Qd.@P[.wAE$NG~Uk{\"><field name=\"VAR\" id=\"fRA*9T~vmD6@k?{7/(:z\">id</field><value name=\"VALUE\"><block type=\"get_map_key\" id=\"$yP1CDod`l-#{La(u]lX\"><value name=\"key\"><block type=\"text\" id=\"Fe7BPn)y7{m,CIcHqEPa\"><field name=\"TEXT\">sessionId</field></block></value><value name=\"map\"><block type=\"get_map_key\" id=\"A;0~M(cUYCdD@[g96qjc\"><value name=\"key\"><block type=\"text\" id=\"DH(q!k%}SvvA[E6Ty{s?\"><field name=\"TEXT\">results</field></block></value><value name=\"map\"><block type=\"loads_json\" id=\"4|4brg/]y2%a%~R1X(5x\"><value name=\"JSON_VAR\"><block type=\"get_data\" id=\"SNx2/b=U3Vz[GC[~gk^K\"></block></value></block></value></block></value></block></value><next><block type=\"label_set_text\" id=\"j{QREz~k:y|kA:^[=jTB\"><field name=\"COMPONENT\">label0</field><value name=\"TEXT\"><shadow type=\"text\" id=\"(eWw_GbF[?YA6SPFt**`\"><field name=\"TEXT\">startSession success</field></shadow></value><next><block type=\"variables_set\" id=\"ud~RSPbZvFwq5p)WgJjh\"><field name=\"VAR\" id=\"sNbw~.1/G9nxC?9S?!T+\">ret</field><value name=\"VALUE\"><block type=\"logic_boolean\" id=\"Ox@9)ib1H)ZTQ]$~OCi1\"><field name=\"BOOL\">TRUE</field></block></value></block></next></block></next></block></statement><statement name=\"fail\"><block type=\"controls_ifelse\" id=\"nC4FlF||.%{1WM-?f{QF\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"1r`VR4:}h6j+Lq`:pv#K\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"get_status_code\" id=\"ZP#hfEdF3u/HLyWw-Tyi\"></block></value><value name=\"B\"><block type=\"math_number\" id=\"R|xYbV%wDB|Gz]XJMx;h\"><field name=\"NUM\">400</field></block></value></block></value><statement name=\"DO0\"><block type=\"label_set_text\" id=\"}}N_B^Gm%eG(hVB|E!:d\"><field name=\"COMPONENT\">label0</field><value name=\"TEXT\"><shadow type=\"text\" id=\"!8m=@^]+*Nnx)bh,kU%$\"><field name=\"TEXT\">startSession success</field></shadow></value><next><block type=\"variables_set\" id=\"`/3whIRn1|9UY*KJEvU^\"><field name=\"VAR\" id=\"sNbw~.1/G9nxC?9S?!T+\">ret</field><value name=\"VALUE\"><block type=\"logic_boolean\" id=\"iPYgZ[:YU=S}Q6ID%S%V\"><field name=\"BOOL\">TRUE</field></block></value></block></next></block></statement><statement name=\"ELSE\"><block type=\"label_set_text\" id=\"v7iQI9xyRv/ZK3Eko,9I\"><field name=\"COMPONENT\">label0</field><value name=\"TEXT\"><shadow type=\"text\" id=\"[]NmlESYh/Khec:Cur~l\"><field name=\"TEXT\">info failed</field></shadow><block type=\"text_add\" id=\"x,MtK_KBFC$V!L0=lZ[x\"><value name=\"arg0\"><shadow type=\"text\" id=\"[p)%#b+]A9d.uml6xNBt\"><field name=\"TEXT\">startSession failed:</field></shadow></value><value name=\"arg1\"><block type=\"convent_str\" id=\"4H??#ddAfXQ8lu2$Ud0=\"><value name=\"VALUE\"><block type=\"get_status_code\" id=\"{[tHQhZn}0BjMYFlvApR\"></block></value></block></value></block></value></block></statement></block></statement><next><block type=\"controls_if\" id=\"Vk_osq0`tW,?4*eXj5xw\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"=-rYc_:oaaot!GSqk7l^\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"variables_get\" id=\"P#*t*m%d1JIc(Qf)PK!x\"><field name=\"VAR\" id=\"sNbw~.1/G9nxC?9S?!T+\">ret</field></block></value><value name=\"B\"><block type=\"logic_boolean\" id=\"8BBJ#-ssNvW9oD%WAK!R\"><field name=\"BOOL\">TRUE</field></block></value></block></value><statement name=\"DO0\"><block type=\"http_request\" id=\"%hm(yN;if.wT`S$l.cl@\"><field name=\"method\">POST</field><value name=\"url\"><shadow type=\"text\" id=\"tcJSRHa[5`0{*VPR2qps\"><field name=\"TEXT\">http://192.168.1.1:80/osc/commands/execute</field></shadow></value><value name=\"data\"><block type=\"map_on_loop\" id=\"`?E^?uEhP%1VtV[O(1dt\"><statement name=\"LOOP\"><block type=\"create_map_key\" id=\"T):^zuaXjGa!+HLb)s/~\"><value name=\"key\"><block type=\"text\" id=\"Z7Um=y|Wlk#)2a$Zx4vB\"><field name=\"TEXT\">name</field></block></value><value name=\"value\"><block type=\"text\" id=\")#e=[nb1s_`?|jaeXv:U\"><field name=\"TEXT\">camera.setOptions</field></block></value><next><block type=\"create_map_key\" id=\"]m7|=ro[x9A[MtnaEP%F\"><value name=\"key\"><block type=\"text\" id=\"s_NoH[m3{r,`Ed$NnCvS\"><field name=\"TEXT\">parameters</field></block></value><value name=\"value\"><block type=\"map_on_loop\" id=\"-ofW$r:F7th,nE^li$))\"><statement name=\"LOOP\"><block type=\"create_map_key\" id=\"CmWaI{M+39jC6L@IxSDD\"><value name=\"key\"><block type=\"text\" id=\"ECbtA0q1oi[I]]pSu@H_\"><field name=\"TEXT\">sessionId</field></block></value><value name=\"value\"><block type=\"variables_get\" id=\"YNB[:-56J-6[?b3:oUA-\"><field name=\"VAR\" id=\"fRA*9T~vmD6@k?{7/(:z\">id</field></block></value><next><block type=\"create_map_key\" id=\"ZyycrVqu[iAwhzE=SAm!\"><value name=\"key\"><block type=\"text\" id=\"a`Y;F~Ec-C!G/I6SPwnr\"><field name=\"TEXT\">options</field></block></value><value name=\"value\"><block type=\"map_on_loop\" id=\"EE6p|0oc.VdR[/8d9ZpP\"><statement name=\"LOOP\"><block type=\"create_map_key\" id=\"TV6-e~Pkj?kB^aW%G?qR\"><value name=\"key\"><block type=\"text\" id=\",9PMVbg*^C-gPx1zx$jK\"><field name=\"TEXT\">clientVersion</field></block></value><value name=\"value\"><block type=\"math_number\" id=\"m}8@a=(f_BR-7Z1Iailq\"><field name=\"NUM\">2</field></block></value></block></statement></block></value></block></next></block></statement></block></value></block></next></block></statement></block></value><statement name=\"success\"><block type=\"label_set_text\" id=\"lW=Z.^%VKNH]7s2HqC4O\"><field name=\"COMPONENT\">label0</field><value name=\"TEXT\"><shadow type=\"text\" id=\"]BRmkXA_g_|[`;6k{V{/\"><field name=\"TEXT\">setOptions success</field></shadow></value></block></statement><statement name=\"fail\"><block type=\"controls_ifelse\" id=\"3V2Q%:X).ntmeb#3=qs!\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"KZDBIcf9LKvc!jPgF5Y:\"><field name=\"OP\">EQ</field><value name=\"A\"><block type=\"get_status_code\" id=\"?`Mu$(SIVEm([GWCcO)!\"></block></value><value name=\"B\"><block type=\"math_number\" id=\"gGS8@sDE91_+O9.fPPlz\"><field name=\"NUM\">400</field></block></value></block></value><statement name=\"DO0\"><block type=\"label_set_text\" id=\",#TiOh(RYaf@XCbkc-r8\"><field name=\"COMPONENT\">label0</field><value name=\"TEXT\"><shadow type=\"text\" id=\"MAvGV04d$27[.*t2U.Sf\"><field name=\"TEXT\">setOptions success</field></shadow></value></block></statement><statement name=\"ELSE\"><block type=\"label_set_text\" id=\"Z(Ftp~$d_wuP[H?K(ALo\"><field name=\"COMPONENT\">label0</field><value name=\"TEXT\"><shadow type=\"text\" id=\"[]NmlESYh/Khec:Cur~l\"><field name=\"TEXT\">info failed</field></shadow><block type=\"text_add\" id=\"~cGEM=#UnWMv`={kTf}4\"><value name=\"arg0\"><shadow type=\"text\" id=\"U#t;jp+md^Oz(c?Ce[_J\"><field name=\"TEXT\">setOptions failed:</field></shadow></value><value name=\"arg1\"><block type=\"convent_str\" id=\"pd%]sW?1)kX22-Q,O_DS\"><value name=\"VALUE\"><block type=\"get_status_code\" id=\"dGh;3v*!%j#_:2%u%Fn}\"></block></value></block></value></block></value><next><block type=\"variables_set\" id=\"D,Wq-NxHhNd`gR{b*?ls\"><field name=\"VAR\" id=\"sNbw~.1/G9nxC?9S?!T+\">ret</field><value name=\"VALUE\"><block type=\"logic_boolean\" id=\"Je]=Je/3v3%Vi}R+[X=U\"><field name=\"BOOL\">FALSE</field></block></value></block></next></block></statement></block></statement></block></statement></block></next></block></statement><statement name=\"ELSE\"><block type=\"label_set_text\" id=\"vlvkOO*Vb+[5fZn_l`fY\"><field name=\"COMPONENT\">label0</field><value name=\"TEXT\"><shadow type=\"text\" id=\"-]Nx;[7Mq/lLHZRscGc1\"><field name=\"TEXT\">unsupported model</field></shadow></value></block></statement></block></next></block></next></block></next></block></next></block></statement><value name=\"RETURN\"><block type=\"variables_get\" id=\"s6an3,;5SwU1|d-$XF.y\"><field name=\"VAR\" id=\"sNbw~.1/G9nxC?9S?!T+\">ret</field></block></value></block><block type=\"procedures_defreturn\" id=\"M*nz+QR}BA4`u+oN^k~6\" x=\"10\" y=\"2610\"><mutation><arg name=\"ssid\" varid=\".EU,m-#4,];@P8W]J?rS\"></arg><arg name=\"pwd\" varid=\"4`e9N#G#}Pb)mFe,3J+q\"></arg></mutation><field name=\"NAME\">connectWifi</field><statement name=\"STACK\"><block type=\"controls_repeat\" id=\"I_ypuJytNM08WPqvGCf9\"><field name=\"TIMES\">10</field><statement name=\"DO\"><block type=\"wifi_doConnect\" id=\"JGN,a23Hn/b1BUN%VjMa\"><value name=\"apiKey\"><shadow type=\"text\" id=\"KDd=5N4TW=4DNn27w9K3\"><field name=\"TEXT\">THETAHM39390453.OSC</field></shadow><block type=\"variables_get\" id=\".RU$Qo|is2*n|tAUo@3^\"><field name=\"VAR\" id=\".EU,m-#4,];@P8W]J?rS\">ssid</field></block></value><value name=\"Msg\"><shadow type=\"text\" id=\"O$@,ov_0gXe1}}bw6`/:\"><field name=\"TEXT\">39390453</field></shadow><block type=\"variables_get\" id=\"|cl-8%_!?Yy6NJ;Y}ta1\"><field name=\"VAR\" id=\"4`e9N#G#}Pb)mFe,3J+q\">pwd</field></block></value><next><block type=\"controls_if\" id=\"tk8v3xqHV6I[olkJo;Dw\"><value name=\"IF0\"><block type=\"wifi_isconnect\" id=\"yhkG2;Zn*8qRqoV0X|yB\"></block></value><statement name=\"DO0\"><block type=\"procedures_ifreturn\" id=\"^nF(X7(6l35X{f*7#uL#\"><mutation value=\"1\"></mutation><value name=\"VALUE\"><block type=\"logic_boolean\" id=\"2a%,-GJ4YBa-,)gD!m/Q\"><field name=\"BOOL\">TRUE</field></block></value></block></statement><next><block type=\"timer_delay\" id=\"ve5(g*vb$]8^X%0mGnxF\"><value name=\"DELAY\"><shadow type=\"math_number\" id=\"F:TDu!m=#fG0vpjbz0dm\"><field name=\"NUM\">1</field></shadow></value></block></next></block></next></block></statement></block></statement><value name=\"RETURN\"><block type=\"logic_boolean\" id=\"*G]yB*$[,WZx(cN]gK=2\"><field name=\"BOOL\">FALSE</field></block></value></block><block type=\"button_callback\" id=\"FV(#^^2X7[I4fpxy;?jO\" x=\"10\" y=\"2890\"><field name=\"BUTTON\">A</field><field name=\"EVENT\">wasPressed</field><statement name=\"FUNC\"><block type=\"http_request\" id=\"Jo9D|Fo.FDQ.1}Nt`=eg\"><field name=\"method\">POST</field><value name=\"url\"><shadow type=\"text\" id=\"@YMWtyC{CoX${~[`p^4`\"><field name=\"TEXT\">http://192.168.1.1:80/osc/commands/execute</field></shadow></value><value name=\"data\"><block type=\"map_on_loop\" id=\"0Y+-6[azIeqx:4^WU}82\"><statement name=\"LOOP\"><block type=\"create_map_key\" id=\"ULO9Mzg~Zq9}Q4l+}oqs\"><value name=\"key\"><block type=\"text\" id=\"_e,Ef?s|J87Z)y/i5aS)\"><field name=\"TEXT\">name</field></block></value><value name=\"value\"><block type=\"text\" id=\"5`5}[x;[O!}}lII9{afz\"><field name=\"TEXT\">camera.takePicture</field></block></value></block></statement></block></value><statement name=\"success\"><block type=\"label_set_text\" id=\"D0@`pIjVrJ2$qt*5u_rW\"><field name=\"COMPONENT\">label0</field><value name=\"TEXT\"><shadow type=\"text\" id=\"m]1ndd1Rga^6]2Td0{iw\"><field name=\"TEXT\">takePicture success</field></shadow></value></block></statement><statement name=\"fail\"><block type=\"label_set_text\" id=\"aJ(#|(![Fa.=IMywpBiy\"><field name=\"COMPONENT\">label0</field><value name=\"TEXT\"><shadow type=\"text\" id=\"|xE{A_7lKbxOPf-YhTz$\"><field name=\"TEXT\">takePicture failed</field></shadow></value></block></statement></block></statement></block>","Blockly.Remotes":[],"modules":[]}