蓝牙android rssi测距,蓝牙RSSI测距开发实践记录

本文详细介绍了特定蓝牙模块的AT指令集,包括检查命令终端是否正常工作、软件重启、获取固件版本等基本操作指令,以及设置本地设备名称、配对密码等功能指令。此外还涉及了蓝牙模块的高级配置如iBeacon模式设置、UUID配置等内容。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

补充些默认参数值,现在怀疑这款蓝牙可能不支持RSSI

+NAME=BT05

+VERSION=Firmware V4.2.0,Bluetooth V4.0 LE

+PIN=1234

+TYPE=0

+STATE=2

OK

+ROLE=0

+IBEA=0

+UUID=0xFFE0

另外运行AT+HELP显示的指令说明如下:

********************************************************************

* Command             Description...           *

* ---------------------------------------------------------------- *

* AT                  Check if the command terminal work normally  *

* AT+RESET            Software reboot....   *

* AT+VERSION          Get firmware, bluetooth, HCI and LMP version *

* AT+HELP             List all the commands..           *

* AT+NAME             Get/Set local device name                    *

* AT+PIN              Get/Set pin code for pairing                 *

* AT+PASS             Get/Set pin code for pairing                 *

* AT+BAUD             Get/Set baud rate..                   *

* AT+LADDR            Get local bluetooth address..   *

* AT+ADDR             Get local bluetooth address..   *

* AT+DEFAULT          Restore factory default...   *

* AT+RENEW            Restore factory default...   *

* AT+STATE            Get current state....   *

* AT+PWRM             Get/Set power on mode(low power) ..   *

* AT+POWE             Get/Set RF transmit power ..   *

* AT+SLEEP            Sleep mode ..                   *

* AT+ROLE             Get/Set current role..                   *

* AT+PARI             Get/Set UART parity bit.                     *

* AT+STOP             Get/Set UART stop bit.                       *

* AT+START            System start working....   *

* AT+IMME             System wait for command when power on..   *

* AT+IBEA             Switch iBeacon mode..                   *

* AT+IBE0             Set iBeacon UUID 0.            .           *

* AT+IBE1             Set iBeacon UUID 1.            .           *

* AT+IBE2             Set iBeacon UUID 2.            .           *

* AT+IBE3             Set iBeacon UUID 3.            .           *

* AT+MARJ             Set iBeacon MARJ .            .           *

* AT+MINO             Set iBeacon MINO .            .           *

* AT+MEA              Set iBeacon MEA .            .           *

* AT+NOTI             Notify connection event .                    *

* AT+UUID             Get/Set system SERVER_UUID .            .   *

* AT+CHAR             Get/Set system CHAR_UUID .            .   *

* -----------------------------------------------------------------*

* Note: (M) = The command support slave mode only. ..   *

* For more information, please visit http://www.cyobd.com          *

* Copyright@2013 www.cyobd.com.   All rights reserved...   *

********************************************************************

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值