update device name instead of record
[mTask.git] / client / spec.c
index 7bf8576..75def00 100644 (file)
@@ -1,4 +1,13 @@
 //TODO
-void spec_send(void){
+#include "spec.h"
+#include "interface.h"
 
+void spec_send(void)
+{
+       write_byte('c');
+       write_byte(0 | (HAVELED << 0) | (HAVEAIO << 1) | (HAVEDIO << 2));
+       write16(MAXTASKS);
+       write16(MAXSDSS);
+       write_byte('\n');
+       write_byte('\n');
 }