-
Notifications
You must be signed in to change notification settings - Fork 3
/
lorawan-otaa.m5f
1 lines (1 loc) · 4.98 KB
/
lorawan-otaa.m5f
1
{"components":[{"id":"____screen","createTime":1628524325677,"name":"screen","x":0,"y":0,"width":320,"height":240,"backgroundColor":"#222222","backgroundImage":"","type":"screen"},{"id":"____buttonA","createTime":1628524325677,"name":"ButtonA","buttonIndex":0,"x":35,"y":216,"width":64,"height":24,"text":"ButtonA","visibility":false,"type":"button"},{"id":"____buttonB","createTime":1628524325677,"name":"ButtonB","buttonIndex":1,"x":125,"y":216,"width":64,"height":24,"text":"ButtonB","visibility":false,"type":"button"},{"id":"____buttonC","createTime":1628524325677,"name":"ButtonC","buttonIndex":2,"x":215,"y":216,"width":64,"height":24,"text":"ButtonC","visibility":false,"type":"button"},{"id":"zr9Ob+$T7HLSkZ0t","createTime":1628524431046,"isCoreTwo":false,"isPaper":false,"name":"label0","x":91,"y":21,"color":"#FFFFFF","text":"Text","font":"lcd.FONT_Default","rotation":0,"type":"label","layer":22},{"id":"KGTI^foNlxpS3C_-","createTime":1628525302486,"isCoreTwo":false,"isPaper":false,"name":"label1","x":91,"y":76,"color":"#FFFFFF","text":"Text","font":"lcd.FONT_Default","rotation":0,"type":"label","layer":23}],"type":"core","versions":"Beta","units":[{"id":"k`nsU61Lz_vpBoXb","createTime":1628527147222,"hidden":false,"type":"LoRaWAN868","name":"LoRaWAN868_1","port":"C","default":["A","C","Custom"],"user_port":["21","22"],"icon":"unit_LoRaWAN868.png"}],"hats":[],"blockly":"<block type=\"basic_on_setup\" id=\"setup_block\" deletable=\"false\" x=\"610\" y=\"190\"><next><block type=\"unit_lorawan868_config_otaa\" id=\"%]md@jL-TpBisAA}e%Qv\"><field name=\"VAR\">LoRaWAN868_1</field><value name=\"deveui\"><shadow type=\"text\" id=\"s3ZVU4P7ByQK^9F|+]`U\"><field name=\"TEXT\">00BB9DA5B97ADDF2</field></shadow></value><value name=\"appeui\"><shadow type=\"text\" id=\"[email protected]*=2Y\"><field name=\"TEXT\">0000000000000001</field></shadow></value><value name=\"appkey\"><shadow type=\"text\" id=\"FwsLx:@5zB@-fZE*OuWC\"><field name=\"TEXT\">27DFE264CA33AC1957C005EB48BA4722</field></shadow></value><next><block type=\"unit_lorawan868_set_join_mode\" id=\"KL?,lSgcC*P3-8rqVo~R\"><field name=\"VAR\">LoRaWAN868_1</field><field name=\"mode\">0</field><next><block type=\"unit_lorawan868_set_uplink_mode\" id=\"xckVth9v,n)WI#jV*6Fn\"><field name=\"VAR\">LoRaWAN868_1</field><field name=\"mode\">2</field><next><block type=\"unit_lorawan868_set_class_mode\" id=\"oQ}h@(KY:#]?TtJ1)kX-\"><field name=\"VAR\">LoRaWAN868_1</field><field name=\"class_mode\">0</field><next><block type=\"unit_lorawan868_set_rx_window_param\" id=\"sMimyhT)B@:5%0h;ftw5\"><field name=\"VAR\">LoRaWAN868_1</field><field name=\"rx2_dr\">3</field><value name=\"rx1_offset\"><shadow type=\"math_number\" id=\"ZEnU3f/^lh](OkV6NBP:\"><field name=\"NUM\">0</field></shadow></value><value name=\"rx2_freq\"><shadow type=\"math_number\" id=\"Y{`v5t-f]{{)sIi;/^Y+\"><field name=\"NUM\">869525000</field></shadow></value><next><block type=\"unit_lorawan868_join\" id=\"ukBi8LTd+JNaUE;|fn22\"><field name=\"VAR\">LoRaWAN868_1</field><field name=\"para1\">1</field><field name=\"para2\">0</field><value name=\"para3\"><shadow type=\"math_slider\" id=\"@(K5zA{8Tk%vD[Z%|L)z\"><field name=\"NUM\" min=\"7\" max=\"255\" step=\"1\">8</field></shadow></value><value name=\"para4\"><shadow type=\"math_slider\" id=\"p7BwN7Q-RVbcbA@tub/R\"><field name=\"NUM\" min=\"1\" max=\"256\" step=\"1\">6</field></shadow></value><next><block type=\"basic_on_loop\" id=\"L-ec9LMp72(t0}YGee#/\"><statement name=\"LOOP\"><block type=\"label_set_text\" id=\"tcUJFvzoFtb3$X~n{f{v\"><field name=\"COMPONENT\">label1</field><value name=\"TEXT\"><shadow type=\"text\" id=\"G}_ryyUJ=sVIl}=ivq@9\"><field name=\"TEXT\">Hello M5</field></shadow><block type=\"unit_lorawan868_get_otaa_config\" id=\"NSwFZN4syWmcwtbbA9R9\"><field name=\"VAR\">LoRaWAN868_1</field></block></value><next><block type=\"label_set_text\" id=\"+N$OqJg)Bx5|f~W=CpX]\"><field name=\"COMPONENT\">label0</field><value name=\"TEXT\"><shadow type=\"text\" id=\"=rHx~FD@+FJg(4We`gX{\"><field name=\"TEXT\">Hello M5</field></shadow><block type=\"unit_lorawan868_check_join_status\" id=\".;+bc![vwI%O5i1e~Va:\"><field name=\"VAR\">LoRaWAN868_1</field></block></value><next><block type=\"unit_lorawan868_send_data\" id=\"}@6iFN0_sPjGbXes6JSk\"><mutation isconfirm=\"false\"></mutation><field name=\"VAR\">LoRaWAN868_1</field><field name=\"confirmOP\">false</field><value name=\"payload\"><shadow type=\"text\" id=\"yUoy@/g2uea,FWQAux[3\"><field name=\"TEXT\">Hello World</field></shadow></value><next><block type=\"timer_delay\" id=\"Z(Ud[TVxY~BkHykYhwsM\"><value name=\"DELAY\"><shadow type=\"math_number\" id=\";{lx!{mI~l!XMrP+6yIL\"><field name=\"NUM\">15</field></shadow></value></block></next></block></next></block></next></block></statement></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block>","Blockly.Remotes":[],"Blockly.RemotePlus":[{"createTime":1628527147222,"name":"M5Remote","dragAndDrop":false,"resizable":false,"color":"#fff","bgColor":"#0080FF","type":"title","id":"__title"}],"modules":["machine"]}