% % send the Partner B configuration through cloud device config via Partner A % "any" !Partner "textonly" !Server "doSiphon" !Enact "192.168.1.36/Tell?command=" !Telling /* // Partner B 'printed' definitions on any targeted webpages folder file var SelfBase = "Siphon"; // identity of the page which is hosted within webpages folder var Teller = "/Tell?command="; // Tell web app var Telling = "~telling~"; // doSiphon - window.location.href = Prefixer + Hoster + Telling; // format is [:pppp] [ /pagename.mimetype ] [?paramA=xxxxxx [¶mB=xxxxxx . . . ]] // parameters must be escaped // Hoster is a server on the same network represented by ip address or an external hostname target var Hoster = "~server~"; // the hostname or ip without trailing slash var Prefixer = "http://"; // protocol var Devicer = "~device~"; // device identity of Partner A for cloud functions var Partner = "~partner~"; // partnership info configed through Partner A // Invoker command is HHHHHHC, HHHHHPC format, H for hex character, P is parameter, C is opcode var Invoker = "color.cgi?color="; // internal command invocation // followed by &go={internal webpages target} or &to={external target} // internal webpages is xxxxx.htm or xxxxx.cgi or xxxxx.xml compiled in Partner B // external target is any standard url from network or internet realm // WireOn function // the block imprint is a hexascii return of part or all of the current uart Rin var retstr = Sqq("'~block~' !Partner.Block\r\n" // the btn return is the parenthesized variables regarding the C invoker, the Uart buffer info, and the Return // all are decimal values // (C,rxin,rxout,txout,txin,anyrx,stop,Return) + "'~btn(0)~' !Partner.Btn\r\n" + "'~partner~' !Partner.Partner\r\n"); Accepter('Location|Initial|'+Sqq(document.location.href)+"|"+retstr); */ "addr:0,len:0,Device:""" % % the pic-iot device (Partner A) % &_Device &""",Named:""" % % the CNC machine(s) that are handled by the partnership % &_Mach.Machine &""",Enact:""" % % the javascript function executed downstream at page startup % default value should be NullAct, doSiphon would be a redirection % &_Enact &""",Telling:""" % % any string following the server ip or hostname % &_Telling &""",Partner:""" % % Partner is a pass-through text delivered to server on page start via Fire code % It is also used as a command/response from Partner A % &_Partner &""",Server:""" % % the ip address or hostname of the target server % &_Server &"""" dup logs _PARTNER *machconf *cloudcfg