-
Notifications
You must be signed in to change notification settings - Fork 144
Conversation
this apple juice work best with the M5stickc plus2 because my apple juice in nemo the spam is not fast and this code accelerate the spam
// First decide short or long | ||
// 0 = long (headphones), 1 = short (misc stuff like Apple TV) | ||
int device_choice = random(2); | ||
//int device_choice = 1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
commented out code
for (int i = 0; i < 6; i++){ | ||
dummy_addr[i] = random(256); | ||
|
||
// It seems for some reason first 4 bits |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this code relevant? otherwise could be removed
void loop() { | ||
|
||
// First generate fake random MAC | ||
esp_bd_addr_t dummy_addr = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a pull request that is likely to go in that generates random macs, could we possible use that in the future to not duplicate code?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes we can do that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great coordination RoI3ot
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make sure to keep the first 2 bits the same as it can cause issues as it is the esp manufacture ID
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes
AppleJuice uses an enforced delay timer and the easiest way to speed up applejuice would be to remove or reduce that timer, at which point it will act more like BT Maelstrom. Can you test if that works first? |
ok so can you modify the code so that the user can choose their spam speed |
this apple juice work best with the M5stickc plus2 because my apple juice in nemo the spam is not fast and this code accelerate the spam