portapack-mayhem / mayhem-firmware

Custom firmware for the HackRF+PortaPack H1/H2
GNU General Public License v3.0
3.01k stars 518 forks source link

Automatic start of hackrf when conneted to a host PC. It will help to remotely work on hackrf #2178

Closed umeshbisht77 closed 2 weeks ago

umeshbisht77 commented 3 weeks ago

Description of the feature you're suggesting.

Automatic start of hackrf when conneted to a host PC. It will help to remotely work on hackrf

Anything else?

No response

zxkmm commented 3 weeks ago

it could be done on PC sides, that when detect a serial device with specific name, send serial command to enter hackrf mode. mostly i think it would be painful to have it as a function in Portapack side cuz p.mem is limited and not worth to have this selection occupied a bool seat of it. also detect the device is a charger or a computer would be painful as well, that if you enable this, when you charge, it will stay in hackrf mode forever until you unplug.

htotoo commented 2 weeks ago

I would also prefer the serial method, since once you set it to HackRF mode, it'll start in it, and can't set it back. (unless you remove the ini file from SD, but that is not the nicest method, so users would be confused).