]> git.rkrishnan.org Git - pihpsdr.git/commitdiff
Different MAC addresses for P1 and P2.
authorc vw <dl1ycf@darc.de>
Wed, 8 Jul 2020 13:25:20 +0000 (15:25 +0200)
committerc vw <dl1ycf@darc.de>
Wed, 8 Jul 2020 13:25:20 +0000 (15:25 +0200)
hpsdrsim.c

index ccd8417b04908a6bde5dbfb15b8d59177c16c500..0029ebe8863a8c1915a6864c8c51096478cdbbff 100644 (file)
@@ -758,8 +758,8 @@ int main(int argc, char *argv[])
                                  buffer[ 6]=0xBB;
                                  buffer[ 7]=0xCC;
                                  buffer[ 8]=0xDD;
-                                 buffer[ 9]=0xEE;
-                                 buffer[10]=0xFF;
+                                 buffer[ 9]=0xEF;
+                                 buffer[10]=0xFE;
                                  buffer[11]=NEWDEVICE;
                                  buffer[12]=38;
                                  buffer[13]=19;
@@ -785,8 +785,8 @@ int main(int argc, char *argv[])
                                   buffer[ 6]=0xBB;
                                   buffer[ 7]=0xCC;
                                   buffer[ 8]=0xDD;
-                                  buffer[ 9]=0xEE;
-                                  buffer[10]=0xFF;
+                                  buffer[ 9]=0xEF;
+                                  buffer[10]=0xFE;
                                   buffer[11]=NEWDEVICE;
                                   buffer[12]=38;
                                   buffer[13]=103;
@@ -815,8 +815,8 @@ int main(int argc, char *argv[])
                                   buffer[ 6]=0xBB;
                                   buffer[ 7]=0xCC;
                                   buffer[ 8]=0xDD;
-                                  buffer[ 9]=0xEE;
-                                  buffer[10]=0xFF;
+                                  buffer[ 9]=0xEF;
+                                  buffer[10]=0xFE;
                                  buffer[11]=103;
                                  buffer[12]=NEWDEVICE;
                                  buffer[13]=(checksum >> 8) & 0xFF;
@@ -838,16 +838,16 @@ int main(int argc, char *argv[])
                                  if (buffer[ 6] != 0xBB) break;
                                  if (buffer[ 7] != 0xCC) break;
                                  if (buffer[ 8] != 0xDD) break;
-                                 if (buffer[ 9] != 0xEE) break;
-                                 if (buffer[10] != 0xFF) break;
+                                 if (buffer[ 9] != 0xEF) break;
+                                 if (buffer[10] != 0xFE) break;
                                   memset(buffer, 0, 60);
                                   buffer [4]=0x02+active_thread;
                                   buffer [5]=0xAA;
                                   buffer[ 6]=0xBB;
                                   buffer[ 7]=0xCC;
                                   buffer[ 8]=0xDD;
-                                  buffer[ 9]=0xEE;
-                                  buffer[10]=0xFF;
+                                  buffer[ 9]=0xEF;
+                                  buffer[10]=0xFE;
                                   buffer[11]=NEWDEVICE;
                                   buffer[12]=38;
                                   buffer[13]=103;