mirror of
https://github.com/jjshoots/RemoteIDSpoofer.git
synced 2026-02-17 05:08:17 +00:00
22 lines
451 B
C++
22 lines
451 B
C++
// ESP8266 RemoteID spoofer
|
|
// Heavily adapted from https://github.com/sxjack/uav_electronic_ids
|
|
|
|
#include <Arduino.h>
|
|
#include <ESP8266WiFi.h>
|
|
#include "spoofer.h"
|
|
|
|
// we are limited by how fast we can broadcast things
|
|
const int num_spoofers = 16;
|
|
static Spoofer spoofers[num_spoofers];
|
|
|
|
void setup() {
|
|
Serial.begin(115200);
|
|
}
|
|
|
|
void loop() {
|
|
for (int i = 0; i < num_spoofers; i++) {
|
|
spoofers[i].update();
|
|
delay(500 / num_spoofers);
|
|
}
|
|
}
|