Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AT模式下不处理蓝牙发送的AT指令 #8

Open
1003657663 opened this issue Aug 18, 2021 · 0 comments
Open

AT模式下不处理蓝牙发送的AT指令 #8

1003657663 opened this issue Aug 18, 2021 · 0 comments

Comments

@1003657663
Copy link

1003657663 commented Aug 18, 2021

环境:
TB-04,example/at代码

问题:
控制引脚拉低之后进入AT模式。蓝牙连接发送数据“AT”,“AT+GMR”,无任何反应,无串口输出

排查:
发现 example/at/app_att.c 163行-168行,未对蓝牙发送的AT指令做出处理,只是简单的进行了回传。

疑问:
是否需要在168行之后执行 at_data_process((char*)&p->value, len); 来处理AT指令,我尝试写入这行代码,发现 “AT”和“AT-GMR” 正确回应,但是 “AT+BLEMAC”等其他很多指令提示ERROR(-1),还是说有其他问题,或者我的操作错误?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant