streaming server for AM/FM radio via UDP connection.

Dependencies:   mbed EthernetNetIf

Revision:
2:3b6816fd4ae6
Parent:
1:3357273c97f8
--- a/RadioServer.cpp	Fri Mar 25 15:25:54 2011 +0000
+++ b/RadioServer.cpp	Thu Aug 30 08:35:20 2012 +0000
@@ -13,7 +13,7 @@
 SPI spi(p5, p6, p7); // mosi, miso, sclk
 DigitalOut spi_cs(p8);
 
-EthernetNetIf eth(IpAddr(192,168,0,100), //IP Address
+EthernetNetIf eth(IpAddr(192,168,0,77), //IP Address
                   IpAddr(255,255,255,0), //Network Mask
                   IpAddr(192,168,0,1), //Gateway
                   IpAddr(192,168,0,1)  //DNS
@@ -64,7 +64,7 @@
             if (len <= 0) {
                 break;
             }
-            if (len == 7 && memcmp(buf, "request", len) == 0) {
+            if (len == 4 && memcmp(buf, "wave", len) == 0) {
                 __disable_irq();
                 size_t i, n;
                 n = hostlist.size();