mirror of https://github.com/jeelabs/esp-link.git
parent
6158d8f957
commit
b2d7d2a579
@ -1,87 +1,63 @@ |
|||||||
<div id="main"> |
<div id="main"> |
||||||
<div class="header"> |
<div class="header"> |
||||||
<div><img src="favicon.ico" height="64"><span class="jl">JEELABS</span></div> |
<div><img src="favicon.ico" height="64"><span class="jl">JEELABS</span></div> |
||||||
<h1 style="margin-top:0"><span class="esp">esp</span>-link</h1> |
<h1 style="margin-top:0"><span class="esp">esp</span>-link</h1> |
||||||
<h2 id="version"></h2> |
<h2 id="version"></h2> |
||||||
</div> |
</div> |
||||||
|
|
||||||
<div class="content"> |
<div class="content"> |
||||||
<div class="pure-g"> |
<div class="pure-g"> |
||||||
<div class="pure-u-1"><div class="card"> |
<div class="pure-u-1"><div class="card"> |
||||||
<p>The JeeLabs esp-link firmware bridges the ESP8266 serial port to Wifi and can |
<p>The JeeLabs esp-link firmware bridges the ESP8266 serial port to Wifi and can |
||||||
program microcontrollers over the serial port, in particular Arduinos, AVRs, and |
program microcontrollers over the serial port, in particular Arduinos, AVRs, and |
||||||
NXP's LPC800 and other ARM processors.</p> |
NXP's LPC800 and other ARM processors.</p> |
||||||
<p style="margin-bottom:0;">Program an Arduino/AVR using avrdude using a command |
<p style="margin-bottom:0;">Program an Arduino/AVR using avrdude using a command |
||||||
line similar to:</p> |
line similar to:</p> |
||||||
<div class="tt">/home/arduino-1.0.5/hardware/tools/avrdude \<br> |
<div class="tt">/home/arduino-1.0.5/hardware/tools/avrdude \<br> |
||||||
-DV -patmega328p -Pnet:esp-link.local:23 -carduino -b115200 -U \<br> |
-DV -patmega328p -Pnet:esp-link.local:23 -carduino -b115200 -U \<br> |
||||||
-C /home/arduino-1.0.5/hardware/tools/avrdude.conf flash:w:my_sketch.hex:i |
-C /home/arduino-1.0.5/hardware/tools/avrdude.conf flash:w:my_sketch.hex:i |
||||||
</div> |
</div> |
||||||
<p>where <tt>-Pnet:esp-link.local:23</tt> tells avrdude to connect to port 23 of esp-link. |
<p>where <tt>-Pnet:esp-link.local:23</tt> tells avrdude to connect to port 23 of esp-link. |
||||||
You can substitute the IP address of your esp-link for esp-link.local if necessary.</p> |
You can substitute the IP address of your esp-link for esp-link.local if necessary.</p> |
||||||
<p>Please refer to |
<p>Please refer to |
||||||
<a href="https://github.com/jeelabs/esp-link/blob/master/README.md">the online README</a> |
<a href="https://github.com/jeelabs/esp-link/blob/master/README.md">the online README</a> |
||||||
for up-to-date help and to the forthcoming |
for up-to-date help and to the forthcoming |
||||||
<a href="http://jeelabs.org">JeeLabs blog</a> for an intro to the codebase.</p> |
<a href="http://jeelabs.org">JeeLabs blog</a> for an intro to the codebase.</p> |
||||||
</div></div> |
</div></div> |
||||||
</div> |
</div> |
||||||
<div class="pure-g"> |
<div class="pure-g"> |
||||||
<div class="pure-u-1 pure-u-md-1-2"> |
<div class="pure-u-1 pure-u-md-1-2"> |
||||||
<div class="card"> |
<div class="card"> |
||||||
<h1>Wifi summary</h1> |
<h1>Wifi summary</h1> |
||||||
<div id="wifi-spinner" class="spinner spinner-small"></div> |
<div id="wifi-spinner" class="spinner spinner-small"></div> |
||||||
<table id="wifi-table" class="pure-table pure-table-horizontal" hidden><tbody> |
<table id="wifi-table" class="pure-table pure-table-horizontal" hidden><tbody> |
||||||
<tr><td>WiFi mode</td><td id="wifi-mode"></td></tr> |
<tr><td>WiFi mode</td><td id="wifi-mode"></td></tr> |
||||||
<tr><td>Configured network</td><td id="wifi-ssid"></td></tr> |
<tr><td>Configured network</td><td id="wifi-ssid"></td></tr> |
||||||
<tr><td>Wifi channel</td><td id="wifi-chan"></td></tr> |
<tr><td>Wifi channel</td><td id="wifi-chan"></td></tr> |
||||||
<tr><td>Wifi status</td><td id="wifi-status"></td></tr> |
<tr><td>Wifi status</td><td id="wifi-status"></td></tr> |
||||||
<tr><td>Wifi address</td><td id="wifi-ip"></td></tr> |
<tr><td>Wifi address</td><td id="wifi-ip"></td></tr> |
||||||
<tr><td>Configured hostname</td><td id="wifi-hostname"></td></tr> |
<tr><td>Configured hostname</td><td id="wifi-hostname"></td></tr> |
||||||
</tbody> </table> |
</tbody> </table> |
||||||
</div> |
</div> |
||||||
<div class="card"> |
</div> |
||||||
<h1>TCP client</h1> |
<div class="pure-u-1 pure-u-md-1-2"><div class="card"> |
||||||
<form action="#" id="tcpform" class="pure-form"> |
<h1>Pin assignment</h1> |
||||||
<legend>TCP client support in esp-link</legend> |
<legend>Select one of the following signal/pin assignments to match your hardware</legend> |
||||||
<div class="form-horizontal"> |
<fieldset class='radios' id='pin-mux'> |
||||||
<input type="checkbox" name="tcp_enable"/> |
<div class="spinner spinner-small"></div> |
||||||
<label>Enable serial port TCP client</label> |
</fieldset> |
||||||
</div> |
</div></div> |
||||||
<br> |
</div> |
||||||
<legend>Grovestreams data push</legend> |
<div class="pure-g"> |
||||||
<div class="form-horizontal"> |
</div> |
||||||
<input type="checkbox" name="rssi_enable"/> |
|
||||||
<label>Send RSSI</label> |
|
||||||
</div> |
|
||||||
<div class="pure-form-stacked"> |
|
||||||
<label>API key/passwd</label> |
|
||||||
<input type="password" name="api_key"/> |
|
||||||
</div> |
|
||||||
<button id="tcp-button" type="submit" |
|
||||||
class="pure-button button-primary">Change!</button> |
|
||||||
</form> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
<div class="pure-u-1 pure-u-md-1-2"><div class="card"> |
|
||||||
<h1>Pin assignment</h1> |
|
||||||
<legend>Select one of the following signal/pin assignments to match your hardware</legend> |
|
||||||
<fieldset class='radios' id='pin-mux'> |
|
||||||
<div class="spinner spinner-small"></div> |
|
||||||
</fieldset> |
|
||||||
</div></div> |
|
||||||
</div> |
|
||||||
<div class="pure-g"> |
|
||||||
</div> |
|
||||||
</div> |
</div> |
||||||
</div> |
</div> |
||||||
</div> |
</div> |
||||||
|
|
||||||
<script type="text/javascript"> |
<script type="text/javascript"> |
||||||
onLoad(function() { |
onLoad(function() { |
||||||
fetchPins(); |
fetchPins(); |
||||||
getWifiInfo(); |
getWifiInfo(); |
||||||
fetchTcpClient(); |
|
||||||
bnd($("#tcpform"), "submit", changeTcpClient); |
|
||||||
}); |
}); |
||||||
</script> |
</script> |
||||||
</body></html> |
</body></html> |
||||||
|
Loading…
Reference in new issue