n0xa / m5stick-nemo

M5 Stick C firmware for high-tech pranks
Other
764 stars 157 forks source link

TV-B-Gone stops working after using Random WiFi Spamming mode #14

Closed n0xa closed 1 month ago

n0xa commented 1 year ago

After calling randomSSID() anywhere in the code, TV-B-Gone refuses to transmit IR codes. The serial log contains repeated errors: gpio: gpio_set_level(226): GPIO output gpio_num error

Also, the TV-B-Gone on-screen display seems to be laggy when it enters this condition.

I do not know what's causing it just yet. Powering the device off and back on restores TV-B-Gone functionality.

hugows commented 11 months ago

I was using the Bluetooth menu and same happened. Tried a power cycle and TV-B-Gone worked as expected. This is on 2.0.0rc1

n0xa commented 11 months ago

@hugows the thing they have in common is both generate random names and random data for the BLE data frames. It feels like something glitches when it tries to use the random number generator but it's just a hunch, and I haven't fully run it down yet.