The code ran just fine out of the box, and the configuration web pages are as expected.
I modified dualserial, loaded it up, and of course it didn't work as I expected. All non-trivial programs contain bugs....
I went to the factory original image of the dualserial app, and loaded it with MTTTY (because my sbl2e disappeared from NBFIND and AutoUpdate.) After rebooting, all the served up web pages are odd, to say the least.
For example, here's what's in the examples/sbl2e/dualserial/html/index.htm, near the top:
but here's what get's served up:<!--PASSWORDGROUP 1 -->
<html>
<script type="text/javascript">
...
In fact, except for the passwordgroup, every instance of <anything is replaced by �. "<html>" becomes "�>", while "<body bgcolor...>" becomes just "� bgcolor...>". No current values of ip_Addr/MyIpAddr or ip_Mask/MyIpMask are served up:<!--PASSWORDGROUP 1 -->
�>
� type="text/javascript">
...
working:
not working<tr>
<td>
<font size="2">Device IP address:</font>
</td>
<td>
<input name="v02DeviceAddress" size="20" value="0.0.0.0" type="text">
</td>
<td>
<font size="2">192.168.1.115</font>
</td>
</tr>
My hex editor shows the "�" to be 0xEFBFBD sequence.�>
�>
� size="2">Device IP address:�>
�>
�>
� name="v02DeviceAddress" size="20" value="" type="text">
�>
�>
� size="2">
�>
�>
It sort of looks like the code that's supposed to serve up the web page, while stripping things like PASSWORDGROUP, and filling in VARIABLE values, is...well, I don't know what it's doing. The VARIABLE fields are getting removed, but they're not being filled in with the variable values.
Any ideas? Anyone?
Thanks,
jmh