]> git.sesse.net Git - wardrive/commitdiff
Added sample strength meter.
authorsgunderson@bigfoot.com <>
Mon, 12 May 2008 10:27:52 +0000 (12:27 +0200)
committersgunderson@bigfoot.com <>
Mon, 12 May 2008 10:27:52 +0000 (12:27 +0200)
bt-remote.c
strength.png [new file with mode: 0644]

index 77ca2702273ab40e5b14321bfe65ec2d3bf313dd..315e96b4e0e700bf0c7fd083f4c84bdc7293f526 100644 (file)
@@ -136,7 +136,8 @@ int parse_packet(unsigned char *buf, unsigned bytes, int sock)
                        if (sscanf(ptr, "*NETWORK: %s %d %d %d %d", bssid, &crypted, &weak, &signal, &noise) != 5) {
                                printf("Couldn't parse NETWORK packet\n");
                        } else {
-                               if (strcmp(bssid, "00:0D:54:A0:27:7F") == 0) {
+                               if (strcmp(bssid, "00:18:39:0A:97:C9") == 0) {
+                               //if (strcmp(bssid, "00:13:10:1F:2A:1C") == 0) {
                                        static int last_crypted = 0;
                                        char str1[64], str2[64], str3[64], str4[64], str5[64], str6[64];
                                        short len;
diff --git a/strength.png b/strength.png
new file mode 100644 (file)
index 0000000..f7c9a0b
Binary files /dev/null and b/strength.png differ