Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:software:homelab:library:module:ethernet [2012/06/29 14:46]
raivo.sell
en:software:homelab:library:module:ethernet [2018/12/27 12:53] (current)
Line 54: Line 54:
  
  
-~~PB~~+<​pagebreak>​
  
 ===== Example ===== ===== Example =====
Line 158: Line 158:
  // Load webpage header  // Load webpage header
  
-plen=ethernet_load_data(buf,​0,​PSTR("​HTTP/​1.0 200 OK\r\nContent-Type:​ text/​html\r\nPragma:​ no-cache\r\n\r\n"​));​+ plen=ethernet_load_data(buf,​0,​PSTR 
 + ("​HTTP/​1.0 200 OK\r\nContent-Type:​ text/​html\r\nPragma:​ no-cache\r\n\r\n"​));​
     ​     ​
-    ​plen=ethernet_load_data(buf,​plen,​PSTR("<​center><​p>​Homelab PB7 LED: "));+ plen=ethernet_load_data(buf,​plen,​PSTR("<​center><​p>​Homelab PB7 LED: "));
   
     // if LED is off, display it     // if LED is off, display it
Line 173: Line 174:
     }     }
     // Lae "​Refresh"​ nupp     // Lae "​Refresh"​ nupp
-    plen=ethernet_load_data(buf,​plen,​PSTR("​ <​small><​a href=\"​.\">​[refresh status]</​a></​small></​p>​\n<​p><​a href=\"​."​));​+    plen=ethernet_load_data(buf,​plen,​PSTR 
 +    ​(" <​small><​a href=\"​.\">​[refresh status]</​a></​small></​p>​\n<​p><​a href=\"​."​));​
     ​     ​
     // Load the button for LED condition change.     // Load the button for LED condition change.
Line 192: Line 194:
  
 </​code>​ </​code>​
- 
en/software/homelab/library/module/ethernet.txt · Last modified: 2018/12/27 12:53 (external edit)
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0