Neutree / COMTool

Cross platform communicate assistant(Serial/network/terminal tool)( 跨平台 串口调试助手 网络调试助手 终端工具 linux windows mac Raspberry Pi )支持插件和二次开发
https://neucrack.com/p/186
GNU Lesser General Public License v3.0
1.85k stars 338 forks source link

请问如何显示二维码 #48

Closed wh201906 closed 2 years ago

wh201906 commented 2 years ago

需要发送什么才能在COMTool上显示二维码呢?

Neutree commented 2 years ago

截图那个二维码是 esp32 的固件打印的二维码,用的特殊符号打的, 代码应该是这个 https://github.com/Neutree/struggler_care/blob/88be7665568559f73b59e30faa522b6ca4e60423/remote_power_ctrl/src/provisioning/qrcode/src/qrcode.c

就类似这样的特殊符号

█▀▀▀▀▀█ ▄ ▄ █▄█▄█▀█ ▀█ ▀▄ █▄█ █▀▀▀▀▀█
█ ███ █ ▄▄▄▄▀▄ ▀█▄ █▀█ ▀▄▄ ▀ █ ███ █
█ ▀▀▀ █ ▄█ ▄ ▀▄ ▀▀█▀▄▀ ▄▄█ █ ▀▀▀ █
▀▀▀▀▀▀▀ ▀▄█ █ █ ▀ █▄▀▄█▄▀ █▄▀ ▀▀▀▀▀▀▀
████▀ ▀█▀█▄▀ ▀ ▀██▀▄▄▄▀█▄█ ▄█ █ █▄█
▀█ █▀▄▀ █ █▀▀██ ███ ▀█▀█▄██▀▄▀
▀▄██ ▀▀▀▄▀▄▀ █▀▀▄▄▄▄█ ▄▄▀▀█ ▀▀ ▀▀█▄▀
▄▄█ █▀▀██ ▄ ▀▀▀▄ ▀ ▄██▄▄ ████▄ ▄▀▀█
▄ ▄▀▀▀▄▄▀▀▀ ▀▀▀█▄▄▄▄▄█▄▀█▀ ▄▀▀▄▀▀█▄▀
▄██▀▄█▀▄█ ▀ ▄▀▄▀▄▄█▄▄ ▄ ▀█▀ █ ▀▀█
█▄██▄▀ ██▄▄▀█▀▀ ▄█▄ ▀█▀█▀ ▄▀▀█▀███▀
█ ▀▄▀▀▀▄ ▀▀ ██▀ ▄ ▄█▄▀▀█▀▀▄▀██ ▀█
█▀ ▄▄ ▀▀▄▀▀▄ ▀▀ ▀▄▄▄█▄▀▄ ▀█▀▄▀▀▄▀▀██▀
█ █ ▀█▀▄▄▀▄▄ ███▀▀ ▄▀ ▀ ▀▄██▄▄ ▀▀█
▀ ▀ ▀ ▀▀▄█ █▀█▄▄▄ ▄█▄█▄▀▀▀█▀▀▀█ ▀
█▀▀▀▀▀█ ▀ ▀ ██▄▀▄▄▄█▀ ▀ █▄█ ▀ ██ ▀█
█ ███ █ █▀ █▀▀█▀▀ ▄ ▄▀▄▀▀██▀██▀█▀█
█ ▀▀▀ █ ██▀▄▄ ▀█▀ ▄ █▄▄ ▀ ▄▄ █▄▀▀▀█
▀▀▀▀▀▀▀ ▀▀▀ ▀▀▀ ▀ ▀ ▀▀▀▀ ▀▀▀▀

wh201906 commented 2 years ago

感谢!