-- Register with the iServer and print all messages targeted for us. require("xap") -- A Node that connects to an iServer only gets messages -- targeted for itself, no need to add a "target" filter. f = Filter:new() f:callback(function(frame) print(frame) end ) xap.addFilter(f) xap.start{host="192.168.1.8",source="dbzoo.eap.demo"} -- Now send this xAP packet and it will be printed on the ESP --[[ xap-header { v=12 hop=1 uid=FFE11E00 class=test.class target=dbzoo.eap.demo source=dbzoo.acme.test } hello { world=hi } --]]