Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Create AppleJuice.ino #145

Closed
wants to merge 1 commit into from
Closed

Create AppleJuice.ino #145

wants to merge 1 commit into from

Conversation

Ademolght
Copy link

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

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;
Copy link

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
Copy link

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};
Copy link

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?

Copy link
Author

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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great coordination RoI3ot

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

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes

@n0xa
Copy link
Owner

n0xa commented Mar 25, 2024

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?
https://github.com/n0xa/m5stick-nemo/blob/main/m5stick-nemo.ino#L227
Perhaps set ajDelay to 20 or even 0 in your testing.

@Ademolght
Copy link
Author

ok so can you modify the code so that the user can choose their spam speed

@n0xa n0xa closed this Aug 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants