]> git.scottworley.com Git - tattlekey/blobdiff - client/tattlekey.c
client: Send UDP packets
[tattlekey] / client / tattlekey.c
index d7a82e57eb7267289049a918cfe346b341872b2c..ec7710789fbf6efcc65e8cc7b085fe3f597a8f8a 100644 (file)
@@ -3,6 +3,7 @@
 
 #include "blink.h"
 #include "config.h"
+#include "net.h"
 
 int main() {
   stdio_init_all();
@@ -15,5 +16,9 @@ int main() {
                                          CYW43_AUTH_WPA2_AES_PSK, 10000))
     signal_error_by_blinking();
   signal(3, 200);
-  signal_success_by_blinking();
+
+  for (int i = 0;; i++) {
+    send_report(i, 0);
+    signal(4, 200);
+  }
 }