Versão sem FFT e aquisição por DMA. 256 amostras.

Dependencies:   EthernetInterface NTPClient mbed-rtos mbed

Revision:
0:e57bc370d339
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Codes/TelnetCommands/telnet_listparam.cpp	Tue Jan 05 11:45:44 2016 +0000
@@ -0,0 +1,36 @@
+#include "TelnetServer.h"
+#define NUMBERPARAM 10
+
+char *msg_list_param[NUMBERPARAM] = { "Ipserver", 
+                                      "Ipaddress", 
+                                      "module",
+                                      "outlet[0..2]",
+                                      "gain[0..5]",
+                                      "offset[0..5]",
+                                      "limit[0..5]",
+                                      "outlet_number[0..5]",
+                                      "purpose[0..5]",
+                                      "EventLimit" };
+
+char *header_msg_listparam = "This is a list of available parameters:\r\n\r\n";
+
+
+int TelnetServer::ListParamCommand(TCPSocketConnection *conn, char ** argv,int argc)
+{
+    printf("Entering list parameters command...\n");
+    
+    conn->send(header_msg_listparam,strlen(header_msg_listparam));
+    
+    int i;
+    for(i=0;i < NUMBERPARAM ;i++)
+    {
+        
+        Thread::wait(20);
+        conn->send(msg_list_param[i],strlen(msg_list_param[i]));
+        
+        //printf("Parameter = %s\n",msg_list_param[i]);        
+        conn->send("\r\n",2);
+    }
+
+    return 0;
+}
\ No newline at end of file