UNPKG

@iotile/iotile-device

Version:

A typescript library for interfacing with IOTile BLE devices

5 lines 3.51 kB
"use strict"; var str = "\nuser iotile\nconnection test4\naddress undefined:1883\nremote_username iotile\nremote_password guest\ntopic broadcast/# out 0 \"\" machine/d--0000-0000-0000-3039/\ntopic telegraf/# out 0 \"\" machine/d--0000-0000-0000-3039/\ntopic subsystems/+/response out 0 \"\" machine/d--0000-0000-0000-3039/\ntopic subsystems/+/heartbeat out 0 \"\" machine/d--0000-0000-0000-3039/\ntopic subsystems/+/status out 0 \"\" machine/d--0000-0000-0000-3039/\ntopic subsystems/+/control in 0 \"\" machine/d--0000-0000-0000-3039/\ntry_private false\nnotifications false \ncleansession true \n\nconnection test6\naddress undefined:1883\nremote_username iotile\nremote_password guest\ntopic broadcast/# out 0 \"\" machine/d--0000-0000-0000-3039/\ntopic telegraf/# out 0 \"\" machine/d--0000-0000-0000-3039/\ntopic subsystems/+/response out 0 \"\" machine/d--0000-0000-0000-3039/\ntopic subsystems/+/heartbeat out 0 \"\" machine/d--0000-0000-0000-3039/\ntopic subsystems/+/status out 0 \"\" machine/d--0000-0000-0000-3039/\ntopic subsystems/+/control in 0 \"\" machine/d--0000-0000-0000-3039/\ntry_private false\nnotifications false \ncleansession true \n\nconnection test7\naddress undefined:1883\nremote_username iotile\nremote_password guest\ntopic broadcast/# out 0 \"\" machine/d--0000-0000-0000-3039/\ntopic telegraf/# out 0 \"\" machine/d--0000-0000-0000-3039/\ntopic subsystems/+/response out 0 \"\" machine/d--0000-0000-0000-3039/\ntopic subsystems/+/heartbeat out 0 \"\" machine/d--0000-0000-0000-3039/\ntopic subsystems/+/status out 0 \"\" machine/d--0000-0000-0000-3039/\ntopic subsystems/+/control in 0 \"\" machine/d--0000-0000-0000-3039/\ntry_private false\nnotifications false \ncleansession true \n\nconnection test\naddress flex2.eng.archsys.io:1883\nremote_username iotile\nremote_password guest\ntopic broadcast/# out 0 \"\" machine/d--0000-0000-0000-3039/\ntopic telegraf/# out 0 \"\" machine/d--0000-0000-0000-3039/\ntopic subsystems/+/response out 0 \"\" machine/d--0000-0000-0000-3039/\ntopic subsystems/+/heartbeat out 0 \"\" machine/d--0000-0000-0000-3039/\ntopic subsystems/+/status out 0 \"\" machine/d--0000-0000-0000-3039/\ntopic subsystems/+/control in 0 \"\" machine/d--0000-0000-0000-3039/\ntry_private false\nnotifications false \ncleansession true \n\nconnection test2\naddress undefined:1883\nremote_username iotile\nremote_password guest\ntopic broadcast/# out 0 \"\" machine/d--0000-0000-0000-3039/\ntopic telegraf/# out 0 \"\" machine/d--0000-0000-0000-3039/\ntopic subsystems/+/response out 0 \"\" machine/d--0000-0000-0000-3039/\ntopic subsystems/+/heartbeat out 0 \"\" machine/d--0000-0000-0000-3039/\ntopic subsystems/+/status out 0 \"\" machine/d--0000-0000-0000-3039/\ntopic subsystems/+/control in 0 \"\" machine/d--0000-0000-0000-3039/\ntry_private false\nnotifications false \ncleansession true \n\nconnection test3\naddress undefined:1883\nremote_username iotile\nremote_password guest\ntopic broadcast/# out 0 \"\" machine/d--0000-0000-0000-3039/\ntopic telegraf/# out 0 \"\" machine/d--0000-0000-0000-3039/\ntopic subsystems/+/response out 0 \"\" machine/d--0000-0000-0000-3039/\ntopic subsystems/+/heartbeat out 0 \"\" machine/d--0000-0000-0000-3039/\ntopic subsystems/+/status out 0 \"\" machine/d--0000-0000-0000-3039/\ntopic subsystems/+/control in 0 \"\" machine/d--0000-0000-0000-3039/\ntry_private false\nnotifications false \ncleansession true \n\n"; var result = str.match(/$connection/g); console.log(result); //# sourceMappingURL=test.js.map