forked from chilipeppr/widget-spjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
widget.html
539 lines (452 loc) · 44.9 KB
/
widget.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title><!--(auto-fill by runme.js--></title>
<!-- ChiliPeppr is based on bootstrap CSS. -->
<link rel="stylesheet" type="text/css" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
<!-- Customized version of require.js for ChiliPeppr. Please see require.js docs for how
ChiliPeppr's dependency system works as it's based on require.js. -->
<script type='text/javascript' src="//i2dcui.appspot.com/js/require.js"></script>
<!-- widget.css DON'T REMOVE -->
<style type='text/css'>
/* widget.css will get inlined here by runme.js. don't remove this comment or inlining will fail. */
</style>
<link rel="stylesheet" type="text/css" href="widget.css">
<!-- DON'T REMOVE end widget.css -->
<!-- widget.js DON'T REMOVE -->
<script type='text/javascript'>
//<![CDATA[
/* widget.js will get inlined here by runme.js. don't remove this comment or inlining will fail. */
//]]>
</script>
<script type='text/javascript' src="widget.js"></script>
<!-- DON'T REMOVE end widget.js -->
</head>
<body>
<!--Put HTML Contents of Widget Here-->
<div id="com-chilipeppr-widget-serialport" class="panel panel-default com-chilipeppr-widget-serialport">
<div class="panel-heading">
<div class="btn-group pull-right">
<button type="button" class="btn btn-xs btn-default dropdown-toggle" data-toggle="dropdown"> <span class="caret"></span>
</button>
<ul class="dropdown-menu" role="menu">
<li class=""><a href="javascript:" id="com-chilipeppr-widget-serialport-tbar-disconws">Connect to Alternate Host/IP</a></li>
<li><a href="javascript:" id="com-chilipeppr-widget-serialport-tbar-showhideconsole">Show / Hide Console</a></li>
<!-- <li><a href="javascript:" id="com-chilipeppr-widget-serialport-tbar-showhidestatus">Show / Hide Status</a></li> -->
<li class="divider"></li>
<li class="hidden"><a href="javascript:" id="com-chilipeppr-widget-serialport-tbar-disconws">Disconnect</a></li>
<li><a href="javascript:" id="com-chilipeppr-widget-serialport-tbar-reconws">Reconnect</a></li>
<li class="hidden"><a href="javascript:" id="com-chilipeppr-widget-serialport-tbar-refresh">Refresh Serial Port List</a></li>
<!-- <li class="divider"></li>
<li role="presentation" class="dropdown-header fork-name"></li>
<li><a href="" class="standalone" target="_blank">View Widget Standalone</a></li>
<li><a href="" class="fork" target="_blank">Fork Widget</a></li> -->
</ul>
</div>
<div class="btn-group pull-right" style="padding-right:4px;">
<button type="button" class="btn btn-xs btn-default hidebody"><span class="glyphicon glyphicon-chevron-up"></span></button>
</div>
<div class="btn-group pull-right hidden" style="padding-right:4px;">
<button type="button" class="btn btn-xs btn-default spjs-restart" data-toggle="popover" data-placement="auto" data-container="body" data-content="Restart the Serial Port JSON Server by killing its process on the server and restarting it from scratch. This button sends the command 'restart' to SPJS."
data-trigger="hover"><span class="glyphicon glyphicon-retweet" style="color:red;"></span></button>
</div>
<div class="btn-group pull-right" style="padding-right:4px;">
<button type="button" class="btn btn-xs btn-default refresh" data-toggle="popover" data-placement="auto" data-container="body" data-content="Reload serial port list from Serial Port JSON Server. This button sends the command 'list' to SPJS." data-trigger="hover"><span class="glyphicon glyphicon-refresh"></span></button>
<button type="button" class="btn btn-xs btn-default disconnect" data-toggle="popover" data-placement="auto" data-container="body" data-content="Disconnect from Serial Port JSON Server" data-trigger="hover"><span class="glyphicon glyphicon-remove-sign"></span></button>
</div>
<div class="title" style="">
<span class="panel-title">Serial Port JSON Server
<span class="serial-port-version"></span>
<div class="subtitle hidden">Multi Port Mode</div>
<div class="hosttitle"></div>
<span class="spjs-notconnectedwarning alert-danger" xstyle="font-size:9px">Disconnected</span>
</span>
</div>
</div>
<div class="panel-body com-chilipeppr-widget-serialport-body">
<div class="container-fluid">
<!-- Nav tabs -->
<ul class="nav nav-tabs" role="tablist">
<li role="presentation" class="xactive"><a href="#com-chilipeppr-widget-serialport-portstab" aria-controls="com-chilipeppr-widget-serialport-portstab" role="tab" data-toggle="tab">Port List</a></li>
<li role="presentation" class="active"><a href="#com-chilipeppr-widget-serialport-yours" aria-controls="com-chilipeppr-widget-serialport-yours" role="tab" data-toggle="tab">Your Servers</a></li>
<li role="presentation" class="xactive hidden"><a href="#com-chilipeppr-widget-serialport-cloud" aria-controls="com-chilipeppr-widget-serialport-cloud" role="tab" data-toggle="tab">Cloud Servers</a></li>
<!-- <li role="presentation"><a href="#messages" aria-controls="messages" role="tab" data-toggle="tab">Messages</a></li> -->
<!-- <li role="presentation"><a href="#settings" aria-controls="settings" role="tab" data-toggle="tab">Settings</a></li> -->
</ul>
<!-- Tab panes -->
<div class="tab-content">
<div role="tabpanel" class="tab-pane xactive" id="com-chilipeppr-widget-serialport-portstab">
<!-- Tab Ports -->
<!-- Serial Port List -->
<div style="position:relative;margin:0;padding:0;">
<div class="com-chilipeppr-widget-serialport-disconnected hidden">
<p>SPJS Disconnected.
<button type="button" class="btn btn-xs btn-default refresh"><span class="glyphicon glyphicon-refresh"></span> Reconnect
</button>
</p>
</div>
<div class="row">
<div class="col-xs-12 com-chilipeppr-widget-serialport-bufferindicator well hidden alert alert-danger" style="margin-bottom:0;padding:3px 14px;">
For your CNC device please choose the <span class="buffername">Grbl</span> buffer in the pulldown before connecting.
</div>
<div class="spjs-notconnectedwarning alert alert-danger well" style="margin-bottom:0;padding:3px 14px;">
You are NOT connected to a Serial Port JSON Server. Go to the "Your Servers" tab and connect.
</div>
<div class="col-xs-12 com-chilipeppr-widget-serialport-portlistarea">
<table class="table table-hover table-condensed com-chilipeppr-widget-serialport-portlist">
<tbody>
</tbody>
</table>
</div>
</div>
</div>
<!-- End Serial Port List -->
</div>
<div role="tabpanel" class="tab-pane active" id="com-chilipeppr-widget-serialport-yours">
<!-- Tab Your Servers -->
<div class="row com-chilipeppr-widget-serialport-version hidden">
<div class="col-xs-12">
<div class="alert alert-danger com-chilipeppr-widget-serialport-version-fullmsg" style="margin:0;">
You are running an old version of the Serial Port JSON Server. Latest is 1.80. You are at
<span class="com-chilipeppr-widget-serialport-version-yours">1.1</span> so you should disconnect and download the latest version.
</div>
</div>
</div>
<!-- End com-chilipeppr-widget-serialport-version -->
<div class="row com-chilipeppr-widget-serialport-install">
<div class="col-xs-12">
<div class="alert alert-warning" style="margin:0;">
<div class="recent-server-list-wrapper hidden">
Recent Server List
<p class="recent-server-list" style="padding:0;margin:0;">
</p>
<button class="btn btn-xs btn-default btn-reset-recent-server-list" style="margin-top:6px;">
Reset List
</button>
<hr style="margin:10px 0 10px 0;padding:0;">
</div>
<ul class="com-chilipeppr-widget-serialport-index">
<li><a href="#com-chilipeppr-widget-serialport-download">Download Serial Port JSON Server</a></li>
<li><a href="#com-chilipeppr-widget-serialport-connect">Connect to Host</a></li>
<li><a href="#com-chilipeppr-widget-serialport-scanHdr">Scan for Hosts</a></li>
</ul>
<p xstyle="padding-top:0;">You need to install and run the Serial Port Json Server on the machine that has the serial port connected to your device.
</p>
<p>Typically you will install the server on your localhost as this Serial Port Widget first looks there for a webocket connection. </p>
<p>Optionally you may run the Serial Port JSON Server on another host and directly connect to the IP address by typing it in below. This is handy if you're running the server on a Raspberry Pi or Beagle Bone Black for
example. </p>
<p>In case you don't know the IP address of your machine running the server, there is a port scan feature available below to quickly scan your entire subnet for available servers. Most home networks are on the 192.168.1.*
subnet so try scanning with that address first.
</p>
<p>If you already have the server downloaded, you may just need to launch it from the command line.</p>
<a name="com-chilipeppr-widget-serialport-connect"></a>
<p>Connect to a local or remote host here.</p>
<a class="spjs-connect2localhost" href="javascript:">Connect to localhost</a> (ws://localhost:8989/ws)<br>
<a class="spjs-connect2localhostSSL" href="javascript:">Connect to localhost over SSL</a> On v1.92 or greater (wss://localhost:8990/ws)
<div id="com-chilipeppr-widget-serialport-hostconnectmsg"></div>
<div class="input-group">
<input type="text" class="form-control" id="com-chilipeppr-widget-serialport-host" placeholder="Remote Host" />
<span class="input-group-btn">
<button class="btn btn-default" id="com-chilipeppr-widget-serialport-hostbtn">Connect</button>
</span>
</div>
<a name="com-chilipeppr-widget-serialport-scanHdr"></a>
<p>Scan your local subnet</p>
<div id="com-chilipeppr-widget-serialport-scanresult"></div>
<div id="com-chilipeppr-widget-serialport-scanresultcnt"></div>
<div class="input-group">
<input type="text" class="form-control" id="com-chilipeppr-widget-serialport-scan" placeholder="Subnet" value="192.168.1.*" />
<span class="input-group-btn">
<button id="com-chilipeppr-widget-serialport-scanbtn" class="btn btn-default">Scan</button>
</span>
</div>
<a name="com-chilipeppr-widget-serialport-download"></a>
<p style="padding-top:16px;font-weight:bold;">Downloads</p>
Latest releases of Serial Port JSON Server can now be found on Github
releases page.<br><br>
<a href="https://github.com/chilipeppr/serial-port-json-server/releases" target="_blank">
https://github.com/chilipeppr/serial-port-json-server/releases</a>
<br><br>
Binary builds are available for all major platforms including Windows 32-bit/65-bit,
ARM (Raspberry Pi, OrangePi, BeagleBone, CHIP), Intel Edison, Linux 32-bit / 64-bit,
and Mac OSX.
<div class="hidden">
<!-- v1.92 -->
<p style="padding:0 0 12px 0;">Version 1.92
<br/> Build date: Apr 23, 2016
<br/> SSL support added.</p>
<div class="list-group">
<a class="list-group-item" href="https://github.com/chilipeppr/serial-port-json-server/releases/download/v1.92/serial-port-json-server-1.92_windows_386.zip">Windows x32</a>
<a class="list-group-item" href="https://github.com/chilipeppr/serial-port-json-server/releases/download/v1.92/serial-port-json-server-1.92_windows_amd64.zip">Windows x64</a>
<a class="list-group-item" target="_blank" href="https://github.com/chilipeppr/serial-port-json-server/releases/download/v1.92/serial-port-json-server-1.92_macosx_sierra.zip">Mac OS X x64</a>
<a class="list-group-item" href="https://github.com/chilipeppr/serial-port-json-server/releases/download/v1.92/serial-port-json-server-1.92_linux_386.tar.gz">Linux x32</a>
<a class="list-group-item" href="https://github.com/chilipeppr/serial-port-json-server/releases/download/v1.92/serial-port-json-server-1.92_linux_amd64.tar.gz">Linux x64</a>
<a class="list-group-item" href="https://github.com/chilipeppr/serial-port-json-server/releases/download/v1.92/serial-port-json-server-1.92_linux_arm.tar.gz">Raspberry Pi (Linux ARM)</a>
<a class="list-group-item" href="https://github.com/chilipeppr/serial-port-json-server/releases/download/v1.92/serial-port-json-server-1.92_linux_arm.tar.gz">Beagle Bone Black (Linux ARMv7)</a>
<a class="list-group-item" href="https://github.com/chilipeppr/serial-port-json-server/releases/download/v1.92/serial-port-json-server-1.92_linux_amd64.tar.gz">Intel Edison (Linux x64)</a>
<a class="list-group-item" target="_blank" href="http://github.com/chilipeppr/serial-port-json-server/releases">Github Release Page</a>
<a class="list-group-item" target="_blank" href="http://github.com/chilipeppr/serial-port-json-server">Compile from source (Github)</a>
</div>
<!-- v1.88 -->
<p style="padding:0 0 12px 0;">Version 1.88
<br/> Build date: Feb 6, 2016
<br/> Nodemcu buffer. Terminal commands. Cayenn protocol for IoT.</p>
<div class="list-group">
<a class="list-group-item" href="https://github.com/chilipeppr/serial-port-json-server/releases/download/v1.88/serial-port-json-server-1.88_windows_386.zip">Windows x32</a>
<a class="list-group-item" href="https://github.com/chilipeppr/serial-port-json-server/releases/download/v1.88/serial-port-json-server-1.88_windows_amd64.zip">Windows x64</a>
<!--<a class="list-group-item" target="_blank" href="http://chilipeppr.com/downloads/v1.86/serial-port-json-server-1.86_darwin_amd64.zip">Mac OS X x64</a>-->
<a class="list-group-item" href="https://github.com/chilipeppr/serial-port-json-server/releases/download/v1.88/serial-port-json-server-1.88_linux_386.tar.gz">Linux x32</a>
<a class="list-group-item" href="https://github.com/chilipeppr/serial-port-json-server/releases/download/v1.88/serial-port-json-server-1.88_linux_amd64.tar.gz">Linux x64</a>
<a class="list-group-item" href="https://github.com/chilipeppr/serial-port-json-server/releases/download/v1.88/serial-port-json-server-1.88_linux_arm.tar.gz">Raspberry Pi (Linux ARM)</a>
<a class="list-group-item" href="https://github.com/chilipeppr/serial-port-json-server/releases/download/v1.88/serial-port-json-server-1.88_linux_arm.tar.gz">Beagle Bone Black (Linux ARMv7)</a>
<a class="list-group-item" href="https://github.com/chilipeppr/serial-port-json-server/releases/download/v1.88/serial-port-json-server-1.88_linux_amd64.tar.gz">Intel Edison (Linux x64)</a>
<a class="list-group-item" target="_blank" href="http://github.com/chilipeppr/serial-port-json-server/releases">Github Release Page</a>
<a class="list-group-item" target="_blank" href="http://github.com/chilipeppr/serial-port-json-server">Compile from source (Github)</a>
</div>
<!-- v1.86 -->
<p style="padding:0 0 12px 0;">Version 1.86
<br/> Build date: Oct 4, 2015
<br/> Latest TinyG buffer and firmware programmer.</p>
<div class="list-group">
<a class="list-group-item" href="http://chilipeppr.com/downloads/v1.86/serial-port-json-server-1.86_windows_386.zip">Windows x32</a>
<a class="list-group-item" href="http://chilipeppr.com/downloads/v1.86/serial-port-json-server-1.86_windows_amd64.zip">Windows x64</a>
<a class="list-group-item" target="_blank" href="http://chilipeppr.com/downloads/v1.86/serial-port-json-server-1.86_darwin_amd64.zip">Mac OS X x64</a>
<a class="list-group-item" href="http://chilipeppr.com/downloads/v1.86/serial-port-json-server-1.86_linux_386.tar.gz">Linux x32</a>
<a class="list-group-item" href="http://chilipeppr.com/downloads/v1.86/serial-port-json-server-1.86_linux_amd64.tar.gz">Linux x64</a>
<a class="list-group-item" href="http://chilipeppr.com/downloads/v1.86/serial-port-json-server-1.86_linux_arm.tar.gz">Raspberry Pi (Linux ARM)</a>
<a class="list-group-item" href="http://chilipeppr.com/downloads/v1.86/serial-port-json-server-1.86_linux_arm.tar.gz">Beagle Bone Black (Linux ARMv7)</a>
<a class="list-group-item" href="http://chilipeppr.com/downloads/v1.86/serial-port-json-server-1.86_linux_amd64.tar.gz">Intel Edison (Linux x64)</a>
<a class="list-group-item" target="_blank" href="http://github.com/johnlauer/serial-port-json-server">Compile from source (Github)</a>
</div>
<!-- v1.83 -->
<!--
<p style="padding:0 0 12px 0;">Version 1.83<br/>
Build date: Jul 19, 2015<br/>
Build has Marlin support and Arduino firmware programmer (courtesy of Arduino.cc team).</p>
<p style="padding:0 0 12px 0;">PLEASE NOTE: Windows users with Grbl should use version 1.80 (see further down this page), not 1.83. For some unknown reason only Grbl is getting garbled text on 1.83. Grbl works fine on Linux and Mac in 1.83 so Grbl users on those OS's should use 1.83. TinyG users should use 1.83.</p>
<div class="list-group">
<a class="list-group-item" href="http://chilipeppr.com/downloads/v1.83/serial-port-json-server_windows_386.zip">Windows x32</a>
<a class="list-group-item" href="http://chilipeppr.com/downloads/v1.83/serial-port-json-server_windows_amd64.zip">Windows x64</a>
<a class="list-group-item" target="_blank" href="http://chilipeppr.com/downloads/v1.83/serial-port-json-server_darwin_amd64.zip">Mac OS X x64</a>
<a class="list-group-item" href="http://chilipeppr.com/downloads/v1.83/serial-port-json-server_linux_386.tar.gz">Linux x32</a>
<a class="list-group-item" href="http://chilipeppr.com/downloads/v1.83/serial-port-json-server_linux_amd64.tar.gz">Linux x64</a>
<a class="list-group-item" href="http://chilipeppr.com/downloads/v1.83/serial-port-json-server_linux_arm.tar.gz">Raspberry Pi (Linux ARM)</a>
<a class="list-group-item" href="http://chilipeppr.com/downloads/v1.83/serial-port-json-server_linux_arm.tar.gz">Beagle Bone Black (Linux ARMv7)</a>
<a class="list-group-item" href="http://chilipeppr.com/downloads/v1.83/serial-port-json-server_linux_amd64.tar.gz">Intel Edison (Linux x64)</a>
<a class="list-group-item" target="_blank" href="http://github.com/johnlauer/serial-port-json-server">Compile from source (Github)</a>
</div>
-->
<!-- v1.80 -->
<p style="padding:0 0 12px 0;">Version 1.80
<br/> Build date: Mar 8, 2015
<br/> Build has new garbage collection, "broadcast" tag, and "hostname" tag support.</p>
<div class="list-group">
<a class="list-group-item" href="http://chilipeppr.com/downloads/v1.80/serial-port-json-server_windows_386.zip">Windows x32</a>
<a class="list-group-item" href="http://chilipeppr.com/downloads/v1.80/serial-port-json-server_windows_amd64.zip">Windows x64</a>
<a class="list-group-item" target="_blank" href="http://chilipeppr.com/downloads/v1.80/serial-port-json-server_macosx_v1.80.zip">Mac OS X x64 (Thanks to Riley Porter)</a>
<!-- <a class="list-group-item" target="_blank" href="http://github.com/johnlauer/serial-port-json-server">Mac OS X x64 (Compile from Github)</a> -->
<!-- <a class="list-group-item" target="_blank" href="http://github.com/johnlauer/serial-port-json-server">Mac OS X (Compile from Github)</a> -->
<a class="list-group-item" href="http://chilipeppr.com/downloads/v1.80/serial-port-json-server_linux_386.tar.gz">Linux x32</a>
<a class="list-group-item" href="http://chilipeppr.com/downloads/v1.80/serial-port-json-server_linux_amd64.tar.gz">Linux x64</a>
<a class="list-group-item" href="http://chilipeppr.com/downloads/v1.80/serial-port-json-server_1.80_linux_armv6.tar.gz">Raspberry Pi 1 (Linux ARMv6)</a>
<a class="list-group-item" href="http://chilipeppr.com/downloads/v1.80/serial-port-json-server_1.80_linux_armv7.tar.gz">Raspberry Pi 2 (Linux ARMv7)</a>
<a class="list-group-item" href="http://chilipeppr.com/downloads/v1.80/serial-port-json-server_1.80_linux_armv7.tar.gz">Beagle Bone Black (Linux ARMv7)</a>
<a class="list-group-item" href="http://chilipeppr.com/downloads/v1.80/serial-port-json-server_1.80_linux_armv8.tar.gz">Linux ARMv8 (AppliedMicro X-Gene)</a>
<a class="list-group-item" href="http://chilipeppr.com/downloads/v1.80/serial-port-json-server_linux_amd64.tar.gz">Intel Edison (Linux x64)</a>
<a class="list-group-item" target="_blank" href="http://github.com/johnlauer/serial-port-json-server">Compile from source (Github)</a>
</div>
<!-- v1.77 -->
<!-- <p style="padding:0 0 12px 0;">Version 1.77<br/>
Build date: Feb 1, 2015<br/>
Build has fixes to ensure no stalled gcode execution on jobs with short gcode moves and 100's of 1000's of lines. This build has high CPU usage. Not recommended anymore.</p> -->
<!-- <div class="list-group">
<a class="list-group-item" href="http://chilipeppr.com/downloads/v1.77/serial-port-json-server_windows_386.zip">Windows x32</a>
<a class="list-group-item" href="http://chilipeppr.com/downloads/v1.77/serial-port-json-server_windows_amd64.zip">Windows x64</a>
<a class="list-group-item" target="_blank" href="http://chilipeppr.com/downloads/v1.77/serial-port-json-server-v1.77-osx.zip">Mac OS X x64 (Thanks to Jarret Luft for build)</a>
<a class="list-group-item" target="_blank" href="http://github.com/johnlauer/serial-port-json-server">Mac OS X x64 (Compile from Github)</a>
<a class="list-group-item" target="_blank" href="http://github.com/johnlauer/serial-port-json-server">Mac OS X (Compile from Github)</a>
<a class="list-group-item" href="http://chilipeppr.com/downloads/v1.77/serial-port-json-server_linux_386.tar.gz">Linux x32</a>
<a class="list-group-item" href="http://chilipeppr.com/downloads/v1.77/serial-port-json-server_linux_amd64.tar.gz">Linux x64</a>
<a class="list-group-item" href="http://chilipeppr.com/downloads/v1.77/serial-port-json-server_linux_arm.tar.gz">Raspberry Pi (Linux ARM)</a>
<a class="list-group-item" href="http://chilipeppr.com/downloads/v1.77/serial-port-json-server_linux_arm.tar.gz">Beagle Bone Black (Linux ARM)</a>
<a class="list-group-item" href="http://chilipeppr.com/downloads/v1.77/serial-port-json-server_linux_amd64.tar.gz">Intel Edison (Linux x64)</a>
<a class="list-group-item" target="_blank" href="http://github.com/johnlauer/serial-port-json-server">Compile from source (Github)</a>
</div> -->
<!-- v1.75 -->
<!-- <p style="padding:12px 0;">Version 1.75<br/>
Build date: Dec 20, 2014<br/>
Build has fixes to ensure no thread dead-locking. New Grbl % wipe buffer command.</p> -->
<!-- <div class="list-group">
<a class="list-group-item" href="http://chilipeppr.com/downloads/v1.75/serial-port-json-server_windows_386.zip">Windows x32</a>
<a class="list-group-item" href="http://chilipeppr.com/downloads/v1.75/serial-port-json-server_windows_amd64.zip">Windows x64</a>
<a class="list-group-item" target="_blank" href="http://chilipeppr.com/downloads/v1.75/serial-port-json-server-osx64.zip">Mac OS X x64 (Thanks to Jarret Luft for build)</a>
<a class="list-group-item" target="_blank" href="http://github.com/johnlauer/serial-port-json-server">Mac OS X x64 (Compile from Github)</a>
<a class="list-group-item" target="_blank" href="http://github.com/johnlauer/serial-port-json-server">Mac OS X (Compile from Github)</a>
<a class="list-group-item" href="http://chilipeppr.com/downloads/v1.75/serial-port-json-server_linux_386.tar.gz">Linux x32</a>
<a class="list-group-item" href="http://chilipeppr.com/downloads/v1.75/serial-port-json-server_linux_amd64.tar.gz">Linux x64</a>
<a class="list-group-item" href="http://chilipeppr.com/downloads/v1.75/serial-port-json-server_linux_arm.tar.gz">Raspberry Pi (Linux ARM)</a>
<a class="list-group-item" href="http://chilipeppr.com/downloads/v1.75/serial-port-json-server_linux_arm.tar.gz">Beagle Bone Black (Linux ARM)</a>
<a class="list-group-item" href="http://chilipeppr.com/downloads/v1.75/serial-port-json-server_linux_amd64.tar.gz">Intel Edison (Linux x64)</a>
<a class="list-group-item" target="_blank" href="http://github.com/johnlauer/serial-port-json-server">Compile from source (Github)</a>
</div> -->
<!-- v1.74 -->
<!-- <p style="padding:12px 0;">Version 1.74<br/>
Build date: Oct 18, 2014<br/>
Build has some serial port closing bugs fixed for Linux/Mac. Also has fallback for COM port list on Windows.</p> -->
<!-- <div class="list-group">
<a class="list-group-item" href="http://chilipeppr.com/downloads/v1.74/serial-port-json-server_windows_386.zip">Windows x32</a>
<a class="list-group-item" href="http://chilipeppr.com/downloads/v1.74/serial-port-json-server_windows_amd64.zip">Windows x64</a>
<a class="list-group-item" target="_blank" href="http://chilipeppr.com/downloads/v1.74/serial-port-json-server_mac.zip">Mac OS X x64 (Thanks to paulkaplan for build)</a>
<a class="list-group-item" target="_blank" href="http://github.com/johnlauer/serial-port-json-server">Mac OS X x64 (Compile from Github)</a>
<a class="list-group-item" target="_blank" href="http://github.com/johnlauer/serial-port-json-server">Mac OS X (Compile from Github)</a>
<a class="list-group-item" href="http://chilipeppr.com/downloads/v1.74/serial-port-json-server_linux_386.tar.gz">Linux x32</a>
<a class="list-group-item" href="http://chilipeppr.com/downloads/v1.74/serial-port-json-server_linux_amd64.tar.gz">Linux x64</a>
<a class="list-group-item" href="http://chilipeppr.com/downloads/v1.74/serial-port-json-server_linux_arm.tar.gz">Raspberry Pi (Linux ARM)</a>
<a class="list-group-item" href="http://chilipeppr.com/downloads/v1.74/serial-port-json-server_linux_arm.tar.gz">Beagle Bone Black (Linux ARM)</a>
<a class="list-group-item" href="http://chilipeppr.com/downloads/v1.74/serial-port-json-server_linux_amd64.tar.gz">Intel Edison (Linux x64)</a>
<a class="list-group-item" target="_blank" href="http://github.com/johnlauer/serial-port-json-server">Compile from source (Github)</a>
</div> -->
</div>
</div>
</div>
</div>
<!-- End com-chilipeppr-widget-serialport-install -->
<!-- End Your Devices Tab -->
</div>
<!-- End tab pane "Your Devices" -->
<div role="tabpanel" class="tab-pane xactive" id="com-chilipeppr-widget-serialport-cloud">
<div class="cloud-pickserver">
<div class="row cloud-card" data-ws="ws://67.171.16.121:8989/ws">
<div class="col-xs-6">
<h4>TinyG v8</h4>
<a>ws://tinygv8.chilipeppr.com</a>
<p>115,200 baud rate</p>
<p>Firmware 438.02</p>
</div>
<div class="col-xs-6 com-chilipeppr-widget-serialport-img" style="background-image: url('http://chilipeppr.com/img/tinyg.jpg')"></div>
</div>
<div class="row cloud-card" data-ws="ws://67.171.16.121:8990/ws">
<div class="col-xs-6">
<h4>TinyG v9 (ARM)</h4>
<a>ws://tinygv9.chilipeppr.com</a>
<p>Native USB Speed</p>
<p>Firmware 74.03</p>
</div>
<div class="col-xs-6 com-chilipeppr-widget-serialport-img" style="background-image: url('http://chilipeppr.com/img/tinygv9_angle_wht_midres.jpg')"></div>
</div>
<div class="row cloud-card" data-ws="ws://tinygDue.chilipeppr.com:8989/ws" style="opacity:0.2;">
<div class="col-xs-6">
<h4>TinyG Due (ARM)</h4>
<a>ws://tinygDue.chilipeppr.com</a>
<p>Native USB Speed</p>
<p>Firmware 47.10</p>
</div>
<div class="col-xs-6 com-chilipeppr-widget-serialport-img" style="background-image: url('https://camo.githubusercontent.com/2db1efbced4de80ff6e4706cdf5ccf6842268671/687474703a2f2f6661726d342e737461746963666c69636b722e636f6d2f333733392f31303330313332353239355f333163623064633661625f682e6a7067')"></div>
</div>
</div>
<!-- End Cloud Devices Tab -->
</div>
<!-- End tab pane "Cloud Devices" -->
</div>
<!-- End Tab Panes -->
<div class="row com-chilipeppr-widget-serialport-console hidden">
<div class="col-xs-12">
<div class="com-chilipeppr-widget-serialport-console-log well">
<pre></pre>
</div>
</div>
</div>
<div class="row com-chilipeppr-widget-serialport-consoleinput hidden">
<form id="com-chilipeppr-widget-serialport-consoleform">
<div class="col-xs-12">
<div class="input-group">
<input type="text" class="form-control" placeholder="Type serial port server command" /> <span class="input-group-btn">
<button class="btn btn-default" type="button">Go!</button>
</span>
</div>
<!-- /input-group -->
</div>
</form>
</div>
<div class="row com-chilipeppr-widget-serialport-status hidden">
<div class="col-xs-12">
<div class="well well-sm ">Not connected to localhost:8989 serial port ajax server.</div>
</div>
</div>
</div>
<!-- End Container Fluid -->
</div>
<div class="panel-footer hidden">
<div class="btn-group pull-left" style="padding-right:10px;">
<button type="button" class="btn btn-xs btn-default wsconnect disabled" data-toggle="tooltip" data-placement="auto" title="Connect to websocket serial port server."><span class="glyphicon glyphicon-ok-sign"></span>
</button>
<button type="button" class="btn btn-xs btn-default wsdisconnect" data-toggle="tooltip" data-placement="auto" title="Disconnect from websocket serial port server."><span class="glyphicon glyphicon-remove-sign"></span>
</button>
</div>
<div class="disconnected hidden"> <span class="glyphicon glyphicon-exclamation-sign" style="color:red"></span> Serial Port Server Disconnected</div>
<div class="connected "> <span class="glyphicon glyphicon-ok-sign" style="color:gray"></span> Serial Port Server Connected</div>
</div>
</div>
<div id="com-chilipeppr-icon-arduino" class="hidden">
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" version="1.1" width="12px" height="10px"
viewBox="8 8 16 16">
<g id="layer1">
<path d="M 5.8940136,24.141315 5.8940136,7.8881254 25.719334,7.8881254 26.076547,8.3346414 26.076547,11.728165 26.880276,12.7105 26.880276,22.62316 26.076547,23.337586 26.076547,24.319921 z" id="path3004" style="fill:#848484;fill-opacity:0.59574465;stroke:none"
/>
<rect width="4.4651618" height="3.0363102" x="4.0186458" y="11.906771" id="rect3774" style="fill:#535353;fill-opacity:1;stroke:none" />
<rect width="1.1609421" height="3.1256135" x="4.9116778" y="19.765455" id="rect3776" style="fill:#353535;fill-opacity:1;stroke:none" />
<rect width="2.9470069" height="2.706183" x="6.0514159" y="19.948549" id="rect3778" style="fill:#353535;fill-opacity:1;stroke:none" />
<path d="M 12.108423,20.870354 A 0.96299064,0.96299064 0 1 1 10.182442,20.870354 0.96299064,0.96299064 0 1 1 12.108423,20.870354 z" transform="translate(-0.26790943,0.35721337)" id="path3780" style="fill:#c1c1c1;fill-opacity:1;stroke:none" />
<path d="M 12.108423,20.870354 A 0.96299064,0.96299064 0 1 1 10.182442,20.870354 0.96299064,0.96299064 0 1 1 12.108423,20.870354 z" transform="translate(2.0320386,0.35721337)" id="path3780-1" style="fill:#c1c1c1;fill-opacity:1;stroke:none" />
<rect width="11.255939" height="2.1943557" x="14.255884" y="17.328243" id="rect3800" style="fill:#000000;fill-opacity:1;stroke:none" />
<rect width="1.8944077" height="1.9575547" x="6.6151061" y="8.4245281" id="rect3802" style="fill:#d4d4d4;fill-opacity:1;stroke:none" />
<rect width="7.7670722" height="0.6946162" x="11.035391" y="8.4245281" id="rect3804" style="fill:#000000;fill-opacity:0.59574465;stroke:none" />
<rect width="5.872664" height="0.75776315" x="19.560225" y="8.4245281" id="rect3806" style="fill:#000000;fill-opacity:0.59574465;stroke:none" />
<rect width="6.1883988" height="0.6946162" x="13.877003" y="22.758879" id="rect3808" style="fill:#000000;fill-opacity:0.59574465;stroke:none" />
<rect width="4.4202847" height="0.63146925" x="20.570576" y="22.758879" id="rect3810" style="fill:#000000;fill-opacity:0.59574465;stroke:none" />
<path d="M 26.71115,12.803334 A 0.44202849,0.44202849 0 1 1 25.827093,12.803334 0.44202849,0.44202849 0 1 1 26.71115,12.803334 z" transform="translate(-0.26790943,0.35721337)" id="path3812" style="fill:#ffffff;fill-opacity:0.59574465;stroke:none" />
<path d="M 26.648003,21.643904 A 0.44202849,0.44202849 0 1 1 25.763946,21.643904 0.44202849,0.44202849 0 1 1 26.648003,21.643904 z" transform="translate(-0.26790943,0.35721337)" id="path3814" style="fill:#ffffff;fill-opacity:0.59574465;stroke:none" />
<path d="M 10.48239,23.127857 A 0.41045502,0.41045502 0 1 1 9.6614797,23.127857 0.41045502,0.41045502 0 1 1 10.48239,23.127857 z" transform="translate(-0.26790943,0.35721337)" id="path3816" style="fill:#ffffff;fill-opacity:0.59574465;stroke:none" />
<path d="M 10.608684,8.5409164 A 0.41045502,0.41045502 0 1 1 9.7877738,8.5409164 0.41045502,0.41045502 0 1 1 10.608684,8.5409164 z" transform="translate(-0.26790943,0.35721337)" id="path3818" style="fill:#ffffff;fill-opacity:0.59574465;stroke:none" />
</g>
</svg>
</div>
<!-- Modal -->
<div class="modal fade" id="com-chilipeppr-serialport-modalconfig" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="myModalLabel">Script for <span class="modalconfig-port">ttyUSB0</span> on <span class="modalconfig-url">ws://10.1.1.136:8989/ws</span></h4>
</div>
<div class="modal-body" style="padding: 10px 15px;">
<h5>Startup script that runs when you open this port</h5>
<div class="alert-warning">
<div class="btn-group pull-right" style="margin-right:0;">
<div class="dropdown open">
<button type="button" class="btn btn-xs btn-default dropdown-toggle"
data-toggle="dropdown" data-original-title="" title=""><span class="caret"></span>
</button>
<div class="dropdown-backdrop"></div>
<ul class="dropdown-menu dropdown-menu-scripts dropdown-menu-right" role="menu">
<li role="presentation" class="dropdown-header recent-files">Recent Port Config Files</li>
<!--<li class="recent-file-item"><a href="javascript:">org-jscut-gcode-bart.gcode <span class="lastModifyDate">8/6/2015, 6:30:19 PM</span> 53KB</a></li>-->
<!--<li class="recent-file-item"><a href="javascript:">org-jscut-gcode-noapple.gcode <span class="lastModifyDate">6/20/2015, 8:01:06 PM</span> 531KB</a></li>-->
</ul>
</div>
</div>
<p class="msg" style="padding:10px">Show alerts here.</p>
</div>
<textarea class="form-control" rows="5" placeholder="$xvm=1 $1po=1 $1pl=0.85">
</textarea>
<p class="modalconfig-portid" style="font-size:8px;color:silver;margin-bottom:0;"></p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary modalconfig-save-btn" data-id="">Save changes</button>
</div>
</div>
</div>
</div>
</body>
</html>