nova proba

Committer:
Bosko Lekovic
Date:
Sun Jan 17 23:03:43 2021 +0100
Revision:
27:0772451fb880
initial commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Bosko Lekovic 27:0772451fb880 1
Bosko Lekovic 27:0772451fb880 2 const char HTMLpage[] = R"(
Bosko Lekovic 27:0772451fb880 3 <html>
Bosko Lekovic 27:0772451fb880 4 <head>
Bosko Lekovic 27:0772451fb880 5 <link rel="icon" href="data:,"></link>
Bosko Lekovic 27:0772451fb880 6 </head>
Bosko Lekovic 27:0772451fb880 7 <body>
Bosko Lekovic 27:0772451fb880 8 <form method="POST" action="#">
Bosko Lekovic 27:0772451fb880 9 <table align="center" border="1px">
Bosko Lekovic 27:0772451fb880 10 <tr>
Bosko Lekovic 27:0772451fb880 11 <td colspan="2" align="center"><span>IP Adresa</span><br/> <input type="text" name="ip_adresa" value="192.168.1.20"></input></td>
Bosko Lekovic 27:0772451fb880 12 <td colspan="2" align="center"><span>Netmask</span> <br/><input type="text" name="netmask" value="255.255.255.0"></input></td>
Bosko Lekovic 27:0772451fb880 13 <td align="center"><span>Gateway</span> <br/><input type="text" name="gateway" value="192.168.1.1"></input></td>
Bosko Lekovic 27:0772451fb880 14 </tr>
Bosko Lekovic 27:0772451fb880 15 <tr>
Bosko Lekovic 27:0772451fb880 16 <td colspan="2" align="center">
Bosko Lekovic 27:0772451fb880 17 <span>UDP</span>
Bosko Lekovic 27:0772451fb880 18 <br/>
Bosko Lekovic 27:0772451fb880 19 <span>Server port</span>
Bosko Lekovic 27:0772451fb880 20 <input type="number" name="udp_server_port" value="13000"></input>
Bosko Lekovic 27:0772451fb880 21 </td>
Bosko Lekovic 27:0772451fb880 22 <td colspan="2" align="center">
Bosko Lekovic 27:0772451fb880 23 <span>TCP</span>
Bosko Lekovic 27:0772451fb880 24 <br/>
Bosko Lekovic 27:0772451fb880 25 <span>Server port</span>
Bosko Lekovic 27:0772451fb880 26 <input type="number" name="tcp_server_port" value="12000"></input>
Bosko Lekovic 27:0772451fb880 27 </td>
Bosko Lekovic 27:0772451fb880 28 <td align="center"><span>Serial</span></td>
Bosko Lekovic 27:0772451fb880 29 </tr>
Bosko Lekovic 27:0772451fb880 30 <tr>
Bosko Lekovic 27:0772451fb880 31 <td>
Bosko Lekovic 27:0772451fb880 32 <span>IP adrese</span>
Bosko Lekovic 27:0772451fb880 33 <hr/>
Bosko Lekovic 27:0772451fb880 34 <input type="text" name="udp_ip_1" value=""></input>
Bosko Lekovic 27:0772451fb880 35 <hr/>
Bosko Lekovic 27:0772451fb880 36 <input type="text" name="udp_ip_2" value=""></input>
Bosko Lekovic 27:0772451fb880 37 <hr/>
Bosko Lekovic 27:0772451fb880 38 <input type="text" name="udp_ip_3" value=""></input>
Bosko Lekovic 27:0772451fb880 39 <hr/>
Bosko Lekovic 27:0772451fb880 40 <input type="text" name="udp_opseg_od" value=""></input>
Bosko Lekovic 27:0772451fb880 41 <input type="text" name="udp_opseg_do" value=""></input>
Bosko Lekovic 27:0772451fb880 42 </td>
Bosko Lekovic 27:0772451fb880 43 <td>
Bosko Lekovic 27:0772451fb880 44 <span>Port</span>
Bosko Lekovic 27:0772451fb880 45 <hr/>
Bosko Lekovic 27:0772451fb880 46 <input type="number" name="udp_port_1" value="11000"></input>
Bosko Lekovic 27:0772451fb880 47 <hr/>
Bosko Lekovic 27:0772451fb880 48 <input type="number" name="udp_port_2" value="11000"></input>
Bosko Lekovic 27:0772451fb880 49 <hr/>
Bosko Lekovic 27:0772451fb880 50 <input type="number" name="udp_port_3" value="11000"></input>
Bosko Lekovic 27:0772451fb880 51 <hr/>
Bosko Lekovic 27:0772451fb880 52 <input type="number" name="udp_port_opseg" value="11000"></input>
Bosko Lekovic 27:0772451fb880 53 </td>
Bosko Lekovic 27:0772451fb880 54 <td>
Bosko Lekovic 27:0772451fb880 55 <span>IP adrese</span>
Bosko Lekovic 27:0772451fb880 56 <hr/>
Bosko Lekovic 27:0772451fb880 57 <input type="text" name="tcp_ip_1" value="192.168.1.26"></input>
Bosko Lekovic 27:0772451fb880 58 <hr/>
Bosko Lekovic 27:0772451fb880 59 <input type="text" name="tcp_ip_2" value=""></input>
Bosko Lekovic 27:0772451fb880 60 <hr/>
Bosko Lekovic 27:0772451fb880 61 <input type="text" name="tcp_ip_3" value=""></input>
Bosko Lekovic 27:0772451fb880 62 <hr/>
Bosko Lekovic 27:0772451fb880 63 <input type="text" name="tcp_opseg_od" value=""></input>
Bosko Lekovic 27:0772451fb880 64 <input type="text" name="tcp_opseg_do" value=""></input>
Bosko Lekovic 27:0772451fb880 65 </td>
Bosko Lekovic 27:0772451fb880 66 <td>
Bosko Lekovic 27:0772451fb880 67 <span>Port</span>
Bosko Lekovic 27:0772451fb880 68 <hr/>
Bosko Lekovic 27:0772451fb880 69 <input type="number" name="tcp_port_1" value="12000"></input>
Bosko Lekovic 27:0772451fb880 70 <hr/>
Bosko Lekovic 27:0772451fb880 71 <input type="number" name="tcp_port_2" value="12001"></input>
Bosko Lekovic 27:0772451fb880 72 <hr/>
Bosko Lekovic 27:0772451fb880 73 <input type="number" name="tcp_port_3" value="12002"></input>
Bosko Lekovic 27:0772451fb880 74 <hr/>
Bosko Lekovic 27:0772451fb880 75 <input type="number" name="tcp_port_opseg" value="12003"></input>
Bosko Lekovic 27:0772451fb880 76 </td>
Bosko Lekovic 27:0772451fb880 77 <td align="center">
Bosko Lekovic 27:0772451fb880 78 <span>Baud rate</span>
Bosko Lekovic 27:0772451fb880 79 <br/>
Bosko Lekovic 27:0772451fb880 80 <select name="baud_rate" id="baud_rate">
Bosko Lekovic 27:0772451fb880 81 <option value="2400">2400</option>
Bosko Lekovic 27:0772451fb880 82 <option value="4800">4800</option>
Bosko Lekovic 27:0772451fb880 83 <option value="7200">7200</option>
Bosko Lekovic 27:0772451fb880 84 <option value="9600">9600</option>
Bosko Lekovic 27:0772451fb880 85 <option value="14400">14400</option>
Bosko Lekovic 27:0772451fb880 86 <option value="19200">19200</option>
Bosko Lekovic 27:0772451fb880 87 <option value="38400" selected="1">38400</option>
Bosko Lekovic 27:0772451fb880 88 <option value="57600">57600</option>
Bosko Lekovic 27:0772451fb880 89 <option value="115200">115200</option>
Bosko Lekovic 27:0772451fb880 90 </select>
Bosko Lekovic 27:0772451fb880 91 <hr/>
Bosko Lekovic 27:0772451fb880 92 <span>Parity</span>
Bosko Lekovic 27:0772451fb880 93 <br/>
Bosko Lekovic 27:0772451fb880 94 <select name="parity" id="parity">
Bosko Lekovic 27:0772451fb880 95 <option value="none">None</option>
Bosko Lekovic 27:0772451fb880 96 <option value="odd">Odd</option>
Bosko Lekovic 27:0772451fb880 97 <option value="even">Even</option>
Bosko Lekovic 27:0772451fb880 98 <option value="mark">Mark</option>
Bosko Lekovic 27:0772451fb880 99 <option value="space">Space</option>
Bosko Lekovic 27:0772451fb880 100 </select>
Bosko Lekovic 27:0772451fb880 101 <hr/>
Bosko Lekovic 27:0772451fb880 102 <span>Data bits</span>
Bosko Lekovic 27:0772451fb880 103 <br/>
Bosko Lekovic 27:0772451fb880 104 <select name="data_bits" id="data_bits">
Bosko Lekovic 27:0772451fb880 105 <option value="5">5</option>
Bosko Lekovic 27:0772451fb880 106 <option value="6">6</option>
Bosko Lekovic 27:0772451fb880 107 <option value="7">7</option>
Bosko Lekovic 27:0772451fb880 108 <option value="8" selected="1">8</option>
Bosko Lekovic 27:0772451fb880 109 </select>
Bosko Lekovic 27:0772451fb880 110 <hr/>
Bosko Lekovic 27:0772451fb880 111 <span>Stop bits</span>
Bosko Lekovic 27:0772451fb880 112 <br/>
Bosko Lekovic 27:0772451fb880 113 <select name="stop_bits" id="stop_bits">
Bosko Lekovic 27:0772451fb880 114 <option value="1">1</option>
Bosko Lekovic 27:0772451fb880 115 <option value="1.5">1.5</option>
Bosko Lekovic 27:0772451fb880 116 <option value="2">2</option>
Bosko Lekovic 27:0772451fb880 117 </select>
Bosko Lekovic 27:0772451fb880 118 </td>
Bosko Lekovic 27:0772451fb880 119 </tr>
Bosko Lekovic 27:0772451fb880 120 <tr>
Bosko Lekovic 27:0772451fb880 121 <td colspan="5" align="center"><input type="submit" value="Sacuvaj"></input></td>
Bosko Lekovic 27:0772451fb880 122 </tr>
Bosko Lekovic 27:0772451fb880 123 </table>
Bosko Lekovic 27:0772451fb880 124 </form>
Bosko Lekovic 27:0772451fb880 125 </body>
Bosko Lekovic 27:0772451fb880 126 </html>
Bosko Lekovic 27:0772451fb880 127 )";