使用Android通过蓝牙向hm10发出AT命令 [英] AT commands to hm10 over bluetooth with android

查看:230
本文介绍了使用Android通过蓝牙向hm10发出AT命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我想知道是否可以通过蓝牙直接从我的android应用程序向hm-10 ble设备发送AT命令,而无需使用任何微控制器;如果是,那怎么办?/p>

Hey guys am working with a project and i want to know is it possible to send AT commands to hm-10 ble device directly from my android app over bluetooth without using any micro controller and if yes then how????

推荐答案

如果将来有人尝试这样做,答案是肯定的,我们可以将字符串作为"AT \ r \ n"发送到hm-10,它将单击确定.

if any one trying this in future, the answer is yes we can just send a string to hm-10 as "AT\r\n" and it will respond with OK.

这篇关于使用Android通过蓝牙向hm10发出AT命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆