Figurewww.165aa.com

www.165aa.com  时间:2021-04-06  阅读:()
RF-IB-RS02AAwww.
szrfstar.
comV1.
0-Jul.
,2020ShenzhenRF-starTechnologyCo.
,Ltd.
Page1of16RF-IB-RS02AABLEBeaconUserGuideVersion1.
0ShenzhenRF-starTechnologyCo.
,Ltd.
July15th,2020RF-IB-RS02AAwww.
szrfstar.
comV1.
0-Jul.
,2020ShenzhenRF-starTechnologyCo.
,Ltd.
Page2of16TableofContentsTableofContents.
21DeviceOverview.
32BeaconParameters.
43ParametersConfiguration54BLEProtocolSpecification(APPInterface)6ServiceUUID6EnterAnti-hijackingKeyUUID6ATCommandOperationUUID.
65ATCommands7ATCommandList.
7DeviceName.
8BroadcastParameter.
8WorkingMode.
9BeaconParameters.
9EddystoneParameters.
10TXPower.
12UserAuthentication13FirmwareVersionNumber.
14RestoreFactorySettings.
146RevisionHistory157ContactUs.
16RF-IB-RS02AAwww.
szrfstar.
comV1.
0-Jul.
,2020ShenzhenRF-starTechnologyCo.
,Ltd.
Page3of161DeviceOverviewTherearetwomodesofBeaconbroadcasting:connectablemodeandunconnectablemode.
Connectablemode:TheusercanusetheAPPtoconnecttheBeacon(enteraspecifickeywhenuserauthenticationfunctionisenabled).
Aftertheconnection,aspecificcommandisissuedtomodifythebeaconparametersonthecorrespondingchannel.
Un-connectablemode:TheBeaconbroadcastsaccordingtothedatasetbytheuser.
Thedefaultisconnectablemode,anditcanbeconfiguredformodeswitchingthroughserialATcommands.
BluetoothLowEnergyBeaconcanbeappliedtoindoorpositioning,activitydetection,assettracking,etc.
Itcanrealizeremotedatamanagement,andItcanalsoconfiguretheBeaconwithdifferentparametersthroughthemobileAPPandtheserialportrespectively,soastomeetdifferentapplications.
RF-IB-RS02AAwww.
szrfstar.
comV1.
0-Jul.
,2020ShenzhenRF-starTechnologyCo.
,Ltd.
Page4of162BeaconParametersTable1.
TableofParametersItemValueRemarksModelRF-IB-RS02AAWhiteenclosureOperatingVoltage1.
6V~3.
6VBatteryCR2477Servicelifecanlastfor2.
6yearsunder1sbroadcastinterval.
BroadcastInterval1sTXPower-15dBm~+7dBm0dBmisbydefault.
TransmissionDistance50mInanopenairandsunnyweather,0dBmAveragePowerConsumption41.
99μAUnder1sbroadcastinterval.
Dimension45mm45mm17.
5mmWaterproofRateIP67Splash-proofWeight29gIncludingthebatteryOperatingTemperature-10℃~+50℃AffectedbytheenclosureStorageTemperature-10℃~+55℃AffectedbytheenclosurePowerconsumptiontestisshownasbelow:Figure1.
PowerConsumptionTestRF-IB-RS02AAwww.
szrfstar.
comV1.
0-Jul.
,2020ShenzhenRF-starTechnologyCo.
,Ltd.
Page5of163ParametersConfigurationTable2.
TableofParameterConfigurationItemDefaultSettingsUUID(16Bytes)0112233445566778899AABBCCDDEEFF0MajorUUID(2Bytes)0708MinorUUID(2Bytes)0506CompanyID(2Bytes)4C00RSSI(2Bytes)-48dBmTXPower0dBmBroadcastInterval1sBroadcastNameRFstar_XXXX(thesuffixXXXXisthelasttwobytesoftheMACaddress)Anti-hijackingKey(UserAuthentication)OffbydefaultConnectableModeConnectableRF-IB-RS02AAwww.
szrfstar.
comV1.
0-Jul.
,2020ShenzhenRF-starTechnologyCo.
,Ltd.
Page6of164BLEProtocolSpecification(APPInterface)ServiceUUID6E400001B5A3F393E0A9E50E24DCCA9EEnterAnti-hijackingKeyUUIDCharacteristicsUUID6E400002B5A3F393E0A9E50E24DCCA9EExecutableoperationsWriteRemarksWhentheuserauthenticationfunctionisenabled,ananti-hijackingkeyisrequired,andthereisnoreturnvalue.
Ifthekeyisenteredincorrectlyorthetimeoutperiodisreached,theconnectionisautomaticallydisconnected.
Ifthepasswordisenteredcorrectly,itwillreturnOK\r\n.
ThetimeoutperiodcanbeconfiguredbyATcommand,andthedefaultvalueis10s.
ATCommandOperationUUIDCharacteristicsUUID6E400004B5A3F393E0A9E50E24DCCA9EExecutableoperationsWrite/NotifyRemarksInputATcommandsandthenoutputcommandreturnsthroughthischannel.
SupportallthecommandsintheATcommandlist,andanydatawithoutCRLFwillbetreatedascommands.
RF-IB-RS02AAwww.
szrfstar.
comV1.
0-Jul.
,2020ShenzhenRF-starTechnologyCo.
,Ltd.
Page7of165ATCommandsATcommandscanbesubdividedintotwotypes:TypeCommandFormatDescriptionQuerycommandAT+[x]Thiscommandisusedtoquerythecurrentvalueofthereturnedparameter.
SettingcommandAT+[x]=Thiscommandisusedtosetuser-definedparametervalue.
Note:1.
ThiscommandcanbesentthroughAPPandserialport.
PulldowntheRTSpin,beforesendingATcommandsthroughtheserialport.
SerialportRX(correspondingIO:P28),TX(correspondingIO:P27),RTS(correspondingIO:P16).
2.
Thedefaultbaudrateoftheserialportis115200,8bitdatabit,1stopbit,noparity.
3.
Noteverycommandhastheabovetwotypesofcommands.
4.
TheATcommandmustbecapitalizedandendedwithacarriagereturnandlinefeed(CRLF).
5.
ThereturnedinthequeryATcommandindicatestheoptionalparameters,and[]indicatestherequiredparameters.
Ifallparametersofthecommandareoptionalparameters,atleastoneparameterisneededtobefilled,otherwiseitisalsoregardedasacommanderror.
Example:AT+ADS=,,,youcanfillinAT+ADS=,,500.
6.
Theparameterpositionsthatarenotfilledintheoptionalparametercommandmustbereserved.
Refertothepreviousexample.
7.
Exceptfortheuserauthenticationfunction,allothersettingcommandsareeffectiveimmediatelyandsavedafterpower-off.
ATCommandListTable3.
ATCommandListCommandFunctionAT+NAMEQuery/setdevicenameAT+ADSQuery/setbroadcastparametersAT+MODEQuery/setworkingmodeAT+BEACONQuery/setbeaconrelatedparametersAT+ESQuery/setEddystonerelatedparametersAT+POWERQuery/setdevicetransmitpowerAT+AUTHQuery/setuserauthenticationRF-IB-RS02AAwww.
szrfstar.
comV1.
0-Jul.
,2020ShenzhenRF-starTechnologyCo.
,Ltd.
Page8of16AT+VERSIONQuerydevicefirmwareversionnumberAT+RESETRestoredeviceparameterstofactorysettingsandrestartCommandReturnValueOKSuccessfulcommandFAILFailedcommandERRORErrorcommandBUSYBusycommand,pleasewaitforthepreviousoperationDeviceNameAT+NAMEFunctionQuerydevicename.
ExampleAT+NAMEReturnValueAT+NAME=RFstar_XXXXOKRemarkThecommandreturnsthedevicenamecorrectly,thedefaultis"RFstar_XXXX",XXXXisthelasttwobytesoftheMACaddress.
AT+NAME=FunctionSetdevicename.
ExampleAT+NAME=TEST-NAMEReturnValueOKRemarkThemaximumsettinglengthcannotexceed11bytes.
BroadcastParameterAT+ADSFunctionQuerybroadcastparameters.
ExampleAT+ADSReturnValueAT+ADS=,1,200OKRemarkParameter1:ReservedParameter2:Devicebroadcastmodesetting(0,un-connectable.
1,connectable).
Parameter3:Devicebroadcastintervalinms,thesettingrange:100ms~10240ms.
RF-IB-RS02AAwww.
szrfstar.
comV1.
0-Jul.
,2020ShenzhenRF-starTechnologyCo.
,Ltd.
Page9of16AT+ADS=FunctionSetbroadcastparameters.
ExampleAT+ADS=,0,500ReturnValueOKRemarkSettoenableunconnectablebroadcastwith500msinterval,1000msisbydefault.
Note:Pleasebesuretosetthisparametercarefully,onceitissettoun-connectablemodebroadcast,anyparameterisnotallowedtobemodified.
WorkingModeAT+MODEFunctionQueryworkingmode.
ExampleAT+MODEReturnValueAT+MODE=0OKRemark0:iBeaconmode.
1:Eddystonemode.
AT+MODE=FunctionSetworkingmode.
ExampleAT+MODE=1ReturnValueOKRemarkSetthebroadcasttoEddystonemode,iBeaconmodeisbydefault.
BeaconParametersAT+BEACONFunctionQueryBeaconparameters.
ExampleAT+BEACONReturnValueAT+BEACON=4C00,0708,0506,D0,0112233445566778899AABBCCDDEEFF0OKRemarkParameter1:CompanyIDRF-IB-RS02AAwww.
szrfstar.
comV1.
0-Jul.
,2020ShenzhenRF-starTechnologyCo.
,Ltd.
Page10of16Parameter2:MajorParameter3:MinorParameter4:ReferenceRSSIat1m.
Thisvalueisasignedtype,andthenegativevaluescanberestoredcorrectlybyadding1afterthereverse.
Parameter5:User-definedUUIDdataAT+BEACON=FunctionSetBeaconparameters.
ExampleAT+BEACON=4546,0102,0304,C2,0102030405060708090A0B0C0D0EF010ReturnValueOKRemarkParameter1:SetCompanyIDto4546Parameter2:SetMajorto0102Parameter3:SetMinorto0304Parameter4:ReferenceRSSIat1mis-62dBmParameter5:User-definedUUIDdatais0102030405060708090A0B0C0D0EF010Note:Thezeroparametercannotbeomitted.
Forexample,Majorissetto1,"1"or"01"cannotbefilledin,but"0001",otherwiseERRORwillbereturned.
EddystoneParametersAT+ESFunctionQueryEddystoneparameters.
ExampleAT+ESReturnValueUIDType:AT+ES=00,D0,11223344556677889900112233445566,0000OKURLType:AT+ES=10,C2,01,baidu,00OKTLMType:AT+ES=20,00,0D08,1AC0,0000003E,0000023AOKRemarkEddystone'sthreeframeformatshavedifferentreturns.
Fordetails,seethefollowinganalysis:RF-IB-RS02AAwww.
szrfstar.
comV1.
0-Jul.
,2020ShenzhenRF-starTechnologyCo.
,Ltd.
Page11of16UIDType:Parameter1:UIDframefixedvalue,0x00Parameter2:ThereferenceRSSIat1m,whichhasbeencompensatedby-41dBmbasedontheRSSIat0m,range:-100dBm~-7dBm.
Thisvalueisasignedtype,andthenegativevaluescanberestoredcorrectlybyadding1afterthereverse.
Parameter3:16-byteUUID(Namespace+Instance)valueParameter4:Reservedbytes,usercanmodifyit.
URLType:Parameter1:URLframefixedvalue,0x10Parameter2:ThereferenceRSSIat1m,whichhasbeencompensatedby-41dBmbasedontheRSSIat0m,range:-100dBm~-7dBm.
Thisvalueisasignedtype,andthenegativevaluescanberestoredcorrectlybyadding1afterthereverse.
Parameter3:URLprefixrange0x00~0x03Parameter4:URLcontent,userscandirectlyaccesstheURLbybroadcastingtheURLinaspecificAPP.
Parameter5:URLsuffix,range0x00~0x0DTLMType:Parameter1:TLMframefixedvalue,0x20Parameter2:Versionnumber,mustbe0x00Parameter3:Voltagedata,thedefaultisautomaticallyobtainedbythedevice,theunitismv(whenitis0,itmeansthatthevoltagedataisautomaticallyobtainedbythedevice;whenitis1,itmeansthatthevoltageisuser-defineddata).
Parameter4:Temperaturedata,in℃(whenitis0,thetemperaturedataisautomaticallyobtainedbythedevice,ifitdoesnotsupportthevalue,itis0x8000;whenitis1,itmeansthatthetemperatureisuser-defineddata).
Parameter5:Broadcastcountvalue,countingstartsafterpoweron,resetcanrestorethecountvalue.
Parameter6:Timecountingsincepoweron,resolvingpoweris100ms,whenthedeviceisswitchedfromthedefaultiBeaconmodetoEddystonemode,thedevicewillstartcountingfromzero.
Resetcanrestorethecountvalue.
AT+ES=RF-IB-RS02AAwww.
szrfstar.
comV1.
0-Jul.
,2020ShenzhenRF-starTechnologyCo.
,Ltd.
Page12of16FunctionSetEddystoneparameters.
ExampleDifferentframetypesofEddystonehavedifferentformats,whicharedividedintothefollowingthreetypes:UIDType:AT+ES=00,D0,11223344556677889900112233445566,FFURLType:AT+ES=10,D0,01,baidu,00TLMType:AT+ES=20,00,0EC4,00,1BD0ReturnValueOKRemarkUIDType:SettheRSSIreferencevalueoftheUIDframeto-48dBm,theNamespaceIDandInstanceIDaresettogether,andsetthereservedvalueto0xFF.
URLType:SettheRSSIreferencevalueoftheURLframeto-48dBm,theURLprefixis0x01,baiduisthesetURLcontent,and00istheURLsuffixwhichcanbeencodedas.
com/.
Forothersuffixformatcodesandprefixcodes,pleaseseetheofficialURLencodingtableasbelow.
https://github.
com/google/eddystone/tree/master/eddystone-urlTLMType:Parameter2:"00"meansthatthevoltageparameteroftheTLMframeisautomaticallyobtainedbythedevice,thentheparameter0EC4isconsideredinvalid.
Parameter4:"01"meanssettingthetemperaturedataasuser-defineddata,thenparameter0A5Aisconsideredvalid.
Theparameter0A5Aistheparameterafter100timesmagnification,so26.
50℃istheuser-definedtemperature.
Note:1.
YoucanswitchbetweenthethreeEddystonemodesonlybysettingtheframetype,forexample:Sendthecommand"AT+ES=20,,,,,"candirectlyswitchtoTLMmode,andsendthecommand"AT+ES=00,,,,"candirectlyswitchtoUIDmode.
2.
Thezeroparametercannotbeomitted.
Forexample,setthereservedbyteoftheUIDframeto000A,and"0A"or"A"cannotbefilledin,but"000A",andthedevicemustbeinEddystonemodetoquery,otherwiseitwillreturnERROR.
TXPowerAT+POWERFunctionQuerycurrenttransmitpower.
RF-IB-RS02AAwww.
szrfstar.
comV1.
0-Jul.
,2020ShenzhenRF-starTechnologyCo.
,Ltd.
Page13of16ExampleAT+POWERReturnValueAT+POWER=4OKRemarkThecurrenttransmitpowerofthedeviceis4dBm.
AT+POWER=FunctionSettransmitpower.
ExampleAT+POWER=-12ReturnValueOKRemarkThecurrenttransmitpowerofthedeviceis-12dBm.
Thedeviceonlysupportsfollowing8levelsoftransmitpower:[-15,-12,-10,-5,-2,0,4,7].
Thedefaulttransmitpoweris0dBm.
UserAuthenticationAT+AUTHFunctionQuerythecurrentstatusoftheuserauthenticationfunction.
ExampleAT+AUTHReturnValueAT+AUTH=0,0000,10OKRemarkParameter1:Enable/disabletheuserauthenticationfunction.
0,disabled.
1,enabled.
Parameter2:Key,thekeylengthcannotexceed16bytes.
Thedefaultis"0000".
Parameter3:Authenticationvalidtime(ins),10sisbydefault.
Note:Itwilltakeeffectafterdisconnectionwhenenabled,andBluetoothwillbeautomaticallydisconnectediftheauthenticationkeyisnotreceivedwithinthevalidtime.
Whentheauthenticationtakeseffect,thepasswordneedstobefilledinforverificationaftereachconnection.
AT+AUTH=FunctionSetuserauthenticationfunction.
ExampleAT+AUTH=1,123456,10ReturnValueOKRF-IB-RS02AAwww.
szrfstar.
comV1.
0-Jul.
,2020ShenzhenRF-starTechnologyCo.
,Ltd.
Page14of16RemarkEnableuserauthenticationfunction,setthekeyto"123456",andtheeffectivetimeis10s.
Thesettingrangeofthevalidtimeis1s~65535s.
Theserialportsettingtakeseffectimmediately,andtheAPPsettingtakeseffectafterdisconnection.
Oncetheuserauthenticationisenabled,akeyisrequiredforeachconnection,otherwisetheuserauthenticationfailsandallcommandsareinvalid,FAILinformationpromptwillbereturned.
Therecommendedvalueshouldbe10sormore,otherwiseitwillcausetheauthenticationtimetobetooshortandcauseauthenticationfailure.
FirmwareVersionNumberAT+VERSIONFunctionQueryfirmwareversionnumber.
ExampleAT+VERSIONReturnValueAT+VERSION=V0.
1.
0OKRestoreFactorySettingsAT+RESETFunctionRestorefactorysettings.
ExampleAT+RESETReturnValueOKRemarkThedevicerestartsimmediatelyafterthesettingissuccessful.
Thefactorysettingcanalsoberestoredbypullingdownthe18thpinofthemodule(correspondingIO:P03)for5s,andcanbepulledoutbythebuttonS1.
RF-IB-RS02AAwww.
szrfstar.
comV1.
0-Jul.
,2020ShenzhenRF-starTechnologyCo.
,Ltd.
Page15of166RevisionHistoryDateVersionNo.
Description2020.
07.
15V1.
0Theinitialversionisreleased.
Note:1.
Thedocumentwillbeoptimizedandupdatedfromtimetotime.
Beforeusingthisdocument,pleasemakesureitisthelatestversion.
2.
Toobtainthelatestdocument,pleasedownloaditfromtheofficialwebsite:www.
szrfstar.
com.
RF-IB-RS02AAwww.
szrfstar.
comV1.
0-Jul.
,2020ShenzhenRF-starTechnologyCo.
,Ltd.
Page16of167ContactUsSHENZHENRF-STARTECHNOLOGYCO.
,LTD.
ShenzhenHQ:Add.
:Room601,BlockC,SkyworthBuilding,High-techPark,NanshanDistrict,Shenzhen,Guangdong,ChinaTel.
:86-755-36953756ChengduBranch:Add.
:No.
B3-03,BuildingNo.
1,IncubationPark,High-TechDistrict,Chengdu,Sichuan,China,610000Tel.
:86-28-65775970Email:sunny@szrfstar.
com,sales@szrfstar.
comWeb.
:www.
szrfstar.
com

香港服务器促销:香港华为云混合服务器、高防服务器首月半价,普通110M大带宽服务器月付799,付5用6,付10用13

博鳌云是一家以海外互联网基础业务为主的高新技术企业,运营全球高品质数据中心业务。自2008年开始为用户提供服务,距今11年,在国人商家中来说非常老牌。致力于为中国用户提供域名注册(国外接口)、免费虚拟主机、香港虚拟主机、VPS云主机和香港、台湾、马来西亚等地服务器租用服务,各类网络应用解決方案等领域的专业网络数据服务。商家支持支付宝、微信、银行转账等付款方式。目前香港有一款特价独立服务器正在促销,...

pigyun25元/月,香港云服务器仅起;韩国云服务器,美国CUVIP

pigyun怎么样?PIGYun成立于2019年,2021是PIGYun为用户提供稳定服务的第三年,期待我们携手共进、互利共赢。PIGYun为您提供:香港CN2线路、韩国CN2线路、美西CUVIP-9929线路优质IaaS服务。月付另有通用循环优惠码:PIGYun,获取8折循环优惠(永久有效)。目前,PIGYun提供的香港cn2云服务器仅29元/月起;韩国cn2云服务器仅22元/月起;美国CUVI...

819云(240元)香港CN2 日本CN2 物理机 E5 16G 1T 20M 3IP

819云是我们的老熟人了,服务器一直都是稳定为主,老板人也很好,这次给大家带来了新活动,十分给力 香港CN2 日本CN2 物理机 E5 16G 1T 20M 3IP 240元0官方网站:https://www.819yun.com/ 特惠专员Q:442379204套餐介绍套餐CPU内存硬盘带宽IP价格香港CN2 (特价)E5 随机分配16G1T 机械20M3IP240元/月日本CN2 (...

www.165aa.com为你推荐
网罗设计谁知道怎么做网络设计啊?就是设计名片啊?设计什么的?我想自己亲自做,急!!!futureshop在加拿大买电脑的注意事项是什么?哈利波特罗恩升级当爸哈利波特2为啥赫敏只抱哈利波特不抱罗恩。只是握手!!!这……摩拜超15分钟加钱摩拜共享单车要交多少钱押金?怎么查询商标想要知道一个商标是否被注册,在哪里查到的比较权威?mathplayer比较word,TeX,MathML中的数学公式处理方式的异同点,尽量详细哦,分数不是问题,谢谢哈,会加分的。18comic.fun黑色禁药http://www.lovecomic.cn/attachment/Fid_18/18_4_00d3b0cb502ea74.jpg这幅画名字叫什么?18comic.fun18岁以后男孩最喜欢的网站百度关键词价格查询如何查到推广关键词的价钱?www.kkk.comwww.kkk103.com网站产品质量有保证吗
重庆虚拟空间 中国万网域名注册 星星海 主机测评网 香港服务器99idc la域名 tk域名 debian源 轻量 申请空间 500m空间 网通ip 韩国网名大全 韩国名字大全 共享主机 网游服务器 服务器监测 厦门电信 双线空间 cdn服务 更多