issues
search
lamperez
/
xiaomi-lightbar-nrf24
Control a Xiaomi Computer Light Bar (MJGD01YL, no BLE) with a nRF24L01 transceiver module.
GNU General Public License v3.0
34
stars
5
forks
source link
feat: improve scan script and add test script
#4
Closed
ersonp
closed
5 months ago
ersonp
commented
6 months ago
Scan script
Add command line arguments for channel, power, and id in the argparse module.
Set the power level based on the provided argument.
Set the channel and power level of the radio.
Print the details of the radio and the channel.
Test script
Add command line arguments for channel, power, and id in the argparse module.
Set the power level based on the provided argument.
Initialize the Lightbar with the provided id.
Set the channel and power level of the radio.
Print the details of the radio and the channel.
Scan script
Test script