background image

 

                                                                                                                    Smart Machine Smart Decision                                     

SIM800 Series_Bluetooth_Application_V1.02              

28                             

             2014-06-30

 

                              1    open visibility 

                              0        close visibility 

 

Note 

 

 

 

2.29.

 

AT+BTSPPCFG  SPP configuration 

AT+BTSPPCFG  SPP configuration 

Test Command 

AT+BTSPPCFG

=? 

Response 

+BTSPPCFG: (list of supported <btSppCfg>s) 

 

OK

 

Response 

OK

 

Or 

ERROR

 

Write Command 

AT+BTSPPCFG

=<btSppCfg>,<m

ode> 

Parameters 

<btSppCfg> 

“MC” Multi-connection, enable this function to make the 

module support to connect double SPP’s client at the same time. 

<

mode

> 0 Disable 

1 Enable 

2 Query 

Response 

Every SPP’s link has been connected as server,output: 

+BTSPPCFG: S,<connectId>,<serverMode>

 

Every SPP’s link has been connected as client,output: 

+BTSPPCFG: C,<connectId> 

 

OK

 

Read Command 

AT+BTSPPCFG

Parameters 

<connectId>  

connection`s ID

 

<serverMode>  

0 AT mode 

1 APP mode 

Note 

In AT mode, module of server can’t execute AT+BTSPPSEND and 

AT+BTSPPGET commands. 

In APP mode, module of server can execute AT+BTSPPSEND and 

AT+BTSPPGET commands. 

 

2.30.

 

AT+BTPAIRCFG    Set BT pairing mode 

AT+ BTPAIRCFG    Set BT pairing mode 

Test Command 

AT+BTPAIRCF

Response 

+BTPAIRCFG: (

list of supported

 <mode>

s

Содержание SimCom SIM800 Series

Страница 1: ...SIM800 Series _Bluetooth_ Application Note_V1 02...

Страница 2: ...nformation that may be in the customer s possession Furthermore system validation of this product designed by SIMCOM within a larger electronic system remains the responsibility of the customer or the...

Страница 3: ...2 12 AT BTOPPPUSH Push OPP object to paired device 16 2 13 AT BTSPPGET Get data based on SPP service 16 2 14 AT BTSPPSEND Send data based on SPP service 17 2 15 AT BTATA Answer incoming call 18 2 16 A...

Страница 4: ...SPP 36 4 10 Send data as a SPP s client 37 4 11 As a SPP s server worked in AT mode 37 4 12 As a SPP s server worked in APP mode 38 4 13 Sync phonebook from remote by BT 39 4 14 Find name or number f...

Страница 5: ...command Chapter 2 26 Add AT BTPBF command Chapter 2 27 Add AT BTAVRCOP command Chapter 2 28 Add AT BTVIS command Chapter 2 29 Add AT BTSPPCFG command Chapter 2 30 Add AT BTPAIRCFG command Chapter 3 A...

Страница 6: ...effective There are a wide range of Bluetooth profiles that describe many different types of applications or use cases for devices Besides of all profiles there have four basic ones they are GAP SDAP...

Страница 7: ...ly connected to a Bluetooth device When the module to establish a connection with a device other devices can not be scanned into the module the module can not get Profile will not be able to establish...

Страница 8: ...d data based on SPP service AT BTSPPGET Get data based on SPP service AT BTATA Answer incoming call AT BTATDL Redial last number AT BTATH Hung up voice call AT BTVGS Configure voice volume AT BTVGM Co...

Страница 9: ...Note Max length of name is 18 bytes and display in UTF 8 code 2 2 AT BTSTATUS Inquiry current BT device status AT BTSTATUS Inquiry current BT device status Response OK Test Command AT BTSTATUS Paramet...

Страница 10: ...ction 31 Releasing connection 36 Activating service paired id paired device ID connected id connected device ID name device name address device address profile name profile Note Max length of name is...

Страница 11: ...with failure BTPAIR 0 Parameters device ID BT device ID confirm 1 accept 0 reject passkey passkey length is 4 16 id 0 paired failed 1 paired deivce ID name BT device name address BT device address pas...

Страница 12: ...red device corresponding to ID 2 6 AT BTSCAN Scan surrounding BT device AT BTSCAN Scan surrounding BT device Response BTSCAN list of supported switch s list of supported Timer s OK Test Command AT BTS...

Страница 13: ...address profile name If failed BTCONNECT 0 Write Command AT BTCONNE CT device ID profile ID Parameters device ID ID of paired BT device profile ID BT profile ID id ID of connected BT device name BT d...

Страница 14: ...by paired device Response BTGETPROF list of supported device ID s OK Test Command AT BTGETPRO F Parameters See Write Command Response OK BTGETPROF profile ID profile name Write Command AT BTGETPRO F...

Страница 15: ...es in UTF 8 code 2 11 AT BTOPPACPT Accept OPP service AT BTOPPACPT Accept OPP service Response BTOPPACPT list of supported confirm s list of supported drv OK Test Command AT BTOPPACP T Response OK BTO...

Страница 16: ...string s OK Test Command AT BTOPPPUS H Parameters See Write Command Response OK BTOPPPUSH para Write Command AT BTOPPPUS H device ID string Parameters device ID Paired Device ID string file name incl...

Страница 17: ...quiry data length in manual mode If multi connect enabled this command need parameter connectId 3 Getting data in manual mode If multi connect enabled this command need parameter connectId You can inp...

Страница 18: ...s Response If successful SEND OK Or failed SEND FAIL Or if this connectId is not allowed to send data ERROR Execute Command AT BTSPPSEN D 1 If multi connection function is enabled this command will be...

Страница 19: ...dule is Earphone mode Response BTVGS gain OK Read Commnad AT BTVGS Response OK Write Command AT BTVGS ga in Parameter gain volume This command is used configure call volume when the module is connecte...

Страница 20: ...be correct 2 20 AT BTATD Dial voice call AT BTATD Dial voice call Response BTATD number length range OK Test Command AT BTATD Response OK Write Command AT BTATD nu mber Parameter number phone number M...

Страница 21: ...ne through this command 2 23 AT BTCIND Get status of smartphone AT BTCIND Get status of smartphone Response BTCIND 0 1 OK Test Command AT BTCIND Response OK Parameter mode 1 auto report open 0 auto re...

Страница 22: ...ng 1 in roaming battchg 0 5 power level Note When module connected with smartphone as an earphone these statuses can be getted 2 24 AT BTCLCC Get call s status of smartphone AT BTCLCC Get call s statu...

Страница 23: ...from remote by BT Test Command AT BTPBSYNC Response BTPBSYNC 0 1 1 10 0 1 0 1 0 1 OK Response OK If sync phonebook succeed in mode 0 BTPBSYNC mode result length If sync phonebook failed in mode 0 BTP...

Страница 24: ...on remote phone 2 save phonebook fail length file length loc_phb save phb file to ME or SM Just use in mode 1 0 SM phonebook 1 ME phonebook loc_mode append or overwrite local phonebook Just use in mo...

Страница 25: ...mber failed or find number by name faild at get list step BTPBF mode error If find number by name failed at get entry step BTPBF mode phb_index error If error is related to ME functionality CME ERROR...

Страница 26: ...cord name The name found by number It will be ucs2 big endian value num_total total number of number in one phonebook record We support max 4 number in one phonebook record num_index index of number n...

Страница 27: ...nctionality CME ERROR err Write Command AT BTAVRCO P operator Parameters operator 0 stop the music 1 play the music 2 pause the music 3 play the next song 4 play the back song 5 increase the volume 6...

Страница 28: ...e SPP s client at the same time mode 0 Disable 1 Enable 2 Query Response Every SPP s link has been connected as server output BTSPPCFG S connectId serverMode Every SPP s link has been connected as cli...

Страница 29: ...e Parameters mode 0 random PIN Code and need confirm the pairing request 1 PIN Code inputted by manual 2 random PIN Code and response the pairing request automatic pin_code PIN Code the length is four...

Страница 30: ...rent TE character set specified by CSCS Note AT CPBFEX will only return the first find result AT CPBFEX could find name or number which CPBR could not display when use BTPBSYNC sync PHB to ME phoneboo...

Страница 31: ...1025 Out of pairing count 1026 Bond error 1027 Device has Bonded 1030 Debond error 1031 Get device info error 1032 Service refresh error 1033 Profile connect error 1034 HF attach error 1040 OPP handle...

Страница 32: ...Smart Machine Smart Decision SIM800 Series_Bluetooth_Application_V1 02 32 2014 06 30 1061 Connected device exceed max 1099 BTAUD attach error...

Страница 33: ...1 OK BTPAIR 1 PC NS130100361 34 c7 31 aa 37 5b Accept pairing request and paired successfully BTPAIRING Jabra BT160 00 16 8f 0d 65 82 Incoming passkey request from other BT device AT BTPAIR 2 0000 OK...

Страница 34: ...OK BTPAIR 1 MK ZHANZHIMIN 00 1a 7d da 71 10 Answer to the pairing request in digital key mode AT BTPAIR 0 7 OK Try to pair the seventh BT device in the view list BTPAIRING Jabra BT160 00 16 8f 0d 65...

Страница 35: ...aired device AT BTOPPACPT 1 OK BTOPPPUSH 1 Accept file stored in internal memery card by default input AT BTOPPACPT 1 1 if want it stored in external memory 4 6 Send file to other paired BT device Com...

Страница 36: ...is 12 34 56 78 90 12 and name is IT The other ID is 34 c7 31 aa 37 5b and name is ME This module has had a server type link of SPP AT BTSPPCFG BTSPPCFG S 1 0 OK AT OK AT OK AT BTSPPCFG MC 1 OK AT BTS...

Страница 37: ...TSPPDATA 19 3 T C BTSPPDATA 19 25 REG CREG 0 0 OK AT BTSPPSEND 10 1234567890 SEND OK There is a link client type and allowed to send data to the server If the client send AT command to the server this...

Страница 38: ...4 7 as a server BTSPPDATA 1 17 SIMCOMSPPFORAPP AT OK AT OK AT BTSPPCFG BTSPPCFG S 1 1 OK AT BTSPPSEND 12345 SEND OK AT BTDISCONN 1 OK BTDISCONN SIM800H 34 c7 31 aa 37 5b SPP AT BTSPPGET 1 OK BTCONNECT...

Страница 39: ...d successefully AT BTSPPGET BTSPPGET 0 3 1 6 1 1024 1 OK 4 13 Sync phonebook from remote by BT Command Description Based on example 4 2 AT BTGETPROF 1 BTGETPROF 10 PBAP BTGETPROF 1 A2DP Source BTGETPR...

Страница 40: ...03300350038003500380038003700370 0370035 BTPBF 1 2 5170621056FD BTPBF 1 3 521800206587660E BTPBF 1 4 52186021 BTPBF 1 5 5362592A592A Find name whose number contain 135 Find succeed Five name found AT...

Страница 41: ...automatically Report automatically once ready AT BTAVRCOP 1 OK AT BTAVRCOP 2 OK AT BTAVRCOP 1 OK AT BTAVRCOP 3 OK AT BTAVRCOP 4 OK AT BTAVRCOP 5 OK AT BTAVRCOP 6 OK AT BTAVRCOP 0 OK Play music The so...

Страница 42: ...mode 1 and the default PIN Code value is 0000 if you want to set other PIN Code follow it AT BTPAIRCFG 1 pin_code BT reboot AT BTSCAN 1 OK BTSCAN 0 1 XT615 00 11 94 cb 20 d2 34 BTSCAN 0 2 LIB PC c8 f...

Страница 43: ...Smart Machine Smart Decision SIM800 Series_Bluetooth_Application_V1 02 43 2014 06 30 AT BTPAIR 0 1 OK BTSCAN 2 BTPAIR 1 XT615 00 11 94 cb 20 d2...

Страница 44: ...always 40 bytes Max length of findtext depends on AT CSCS NO limit of results number Will return at most 15 results Results will order by phonebook index when select SM or ME phonebook from small to l...

Страница 45: ...CHFA 0 NORMAL_AUDIO 1 AUX_AUDIO 2 HANDFREE_AUDIO 3 AUX_HANDFREE_AUDIO 4 PCM_AUDIO 5 BT_CHANNEL OK AT CHFA CHFA 0 NORMAL_AUDIO 1 AUX_AUDIO 2 HANDFREE_AUDIO 3 AUX_HANDFREE_AUDIO 4 PCM_AUDIO OK Differen...

Страница 46: ...y a role as smart phone BT earphone could control the call operation e g hang up answer redial A2DP Abbreviation of Advanced Audio Distribution Profile which is advanced rotocol for audio frequency di...

Страница 47: ...ws exchange of Phone Book Objects between devices C Glossary and Abbreviation Glossary Discription EVB Evaluation Board BT Blue tooth PROFILE Bluetooth function protocol SPP Serial Port Profile OPP OP...

Страница 48: ...Bluetooth_Application_V1 02 48 2014 06 30 Contact us Shanghai SIMCom Wireless Solutions Co Ltd Address Building A SIM Technology Building No 633 Jinzhong Road Shanghai P R China 200335 Tel 86 21 3252...

Отзывы: