Feasycom FSC-Blueware Скачать руководство пользователя страница 1

 

 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

 

Bluetooth  portable  stack  user  guide 

Version 2.8

 

 

Содержание FSC-Blueware

Страница 1: ...1 Bluetooth portable stack user guide Version 2 8...

Страница 2: ...tory Version Data Notes Author Contact Us Shenzhen Feasycom Technology Co Ltd Web www feasycom com Email support feasycom com Tel 86 755 27924639 86 755 23062695 Address Room 2004 2005 20th Floor Huic...

Страница 3: ...t Remote Pairing Request 13 2 1 11 Read Write Class of Device 13 2 1 12 Read Clear Paired Record 13 2 1 13 Read Write Trust Device List Size configurable 14 2 1 14 Scan Nearby Devices 14 2 1 15 Releas...

Страница 4: ...Via SPP 23 2 6 GATT Commands 24 2 6 1 Read GATT State 24 2 6 2 Release GATT Connection 24 2 6 3 Send Data Via GATT 24 3 Indication Table 25 3 1 General Indications 25 3 1 1 Device State 25 3 1 2 Scan...

Страница 5: ...Media Track Information 30 3 4 Phonebook Access Indications 30 3 4 1 PB State 30 3 4 2 PB Entries of Remote Devices 31 3 4 3 Received Phonebook Data 31 3 5 SPP Indications 32 3 5 1 SPP State 32 3 5 2...

Страница 6: ...PBAP HID SPP iAP BLE GATT and etc The FSC Blueware is written in C C language which makes it easily to be integrated with various posix system such as Linux Android QNX WinCE and so on 1 1 Context 1 2...

Страница 7: ...and Format AT Command Param1 Param2 Param3 CR LF All commands start with AT end with CR LF CR stands for carriage return corresponding hex is 0x0D LF stands for line feed corresponding hex is 0x0A If...

Страница 8: ...ers parameter must be separated by Hex value FF will be used instead of in some special indications e g 1 Received 1234567890 from mobile phone via SPP profile SPPDATA 10 1234567890 2 Dial number 1008...

Страница 9: ...GATT Server Generic Attribute Profile BIT 2 GATT Client Generic Attribute Profile BIT 3 HFP Sink Hands Free Profile BIT 4 HFP Source Hands Free Profile BIT 5 A2DP Sink Advanced Audio Distribution Prof...

Страница 10: ...ver HFP Source A2DP Source profile disable the others AT PROFILE 83 OK 2 1 3 Read Firmware Version Format AT VER Response VER Param Param Firmware version Example Read module s firmware version AT VER...

Страница 11: ...T90X Param2 MAC address suffix 0 1 default 0 0 Disable suffix 1 Enable suffix XXXX lower 4 bytes of MAC address after local name Response NAME Param Description Write local name if parameter existence...

Страница 12: ...ram Pin code 4 15 Bytes ASCII default 0000 Response PIN Param Example Read module s pin code AT PIN PIN 0000 OK Example Change module s pin code to 12345678 AT PIN 12345678 OK Description Pin code onl...

Страница 13: ...ult 240404 Handsfree device Response COD Param 2 1 12 Read Clear Paired Record Format AT PLIST Param Param 0 1 8 12 Bytes MAC address 0 Clear all paired record 1 8 Clear specific paired record with in...

Страница 14: ...er discoverable mode if paired list full Response TDL Param 2 1 14 Scan Nearby Devices Format AT SCAN Param1 Param2 Param3 Param1 0 3 0 Stop scan 1 Scan nearby BR EDR devices 2 Scan nearby BLE devices...

Страница 15: ...ngs then reboot 2 1 18 Mute Unmute Microphone Format AT MICMUTE Param Param Mute 0 1 default 0 0 Unmute microphone 1 Mute microphone Description Only used for temporary mute unmute microphone while ca...

Страница 16: ...ormat AT HFPSTAT Response HFPSTAT Param Param 0 6 0 Unsupported 1 Standby 2 Connecting 3 Connected 4 Outgoing call 5 Incoming call 6 Active call 7 Active held 3 way calling 8 First call active second...

Страница 17: ...ent HFP connection with remote device 2 2 5 Dial Redial Phone Number Format AT HFPDIAL Param Param Phone number 1 25 Bytes ASCII Description Dial specific number if parameter existence otherwise redia...

Страница 18: ...eld call or reject waiting call 1 Release active call and accept another call 2 Hold active call and accept another call Description User need to turn on 3 way calling function use command AT HFPCFG 2...

Страница 19: ...n Format AT A2DPCONN Param Param MAC address of target device 12 Bytes ASCII Description Module will reconnect to last A2DP device if no parameter exist Example Connect to last A2DP device AT A2DPCONN...

Страница 20: ...sing function enable disable Example Read AVRCP configuration AT AVRCPCFG AVRCPCFG 1 OK Example Get track play progress every 1 second AT AVRCPCFG 3 OK Description Refer to Chapter 3 for indication fo...

Страница 21: ...ption Send forward command to remote media player 2 3 10 Track Backward Format AT BACKWARD Description Send backward command to remote media player 2 3 11 Get Media Player Format AT GETMP Description...

Страница 22: ...nload Phonebook Format AT PBDOWN Param1 Param2 Param3 Param1 Phonebook type 0 5 0 Phonebook SIM Storage 1 Phonebook Phone Storage 2 Received call log 3 Dialed call log 4 Missed call log 5 All call log...

Страница 23: ...at AT SPPCONN Param Param MAC address of target device 12 Bytes ASCII 2 5 3 Release SPP Connection Format AT SPPDISC Description Release current SPP connection with remote device 2 5 4 Send Data Via S...

Страница 24: ...ing 3 Connected 2 6 2 Release GATT Connection Format AT GATTDISC Description Release current GATT connection with remote device 2 6 3 Send Data Via GATT Format AT GATTSEND Param1 Param2 Param1 Payload...

Страница 25: ...Scan Result Format 1 SCAN Param1 FF Param2 FF Param3 FF Param4 FF Param5 FF Param6 Param1 Index Param2 RSSI 127 1 Param3 Device address type 0 3 0 BR EDR address 1 LE public address 2 LE random addres...

Страница 26: ...t pairing device 3 1 4 Pair Result Format PAIRED Param1 Param2 Param1 Pair result 0 Success 1 255 Failed Param2 MAC address 12 Bytes ASCII of current pairing device 3 1 5 Microphone Mute State Format...

Страница 27: ...ing call with number 13265463800 HFPSTAT 5 13265463800 HFPAUDIO 1 3 2 2 HFP Device Information Format HFPDEV Param1 Param2 Param1 12 Bytes ASCII Remote MAC address of current HFP connection Param2 UTF...

Страница 28: ...Param Param 0 1 Roaming state of remote device 3 2 7 HFP Device Battery Level Format HFPBATT Param Param 0 5 Battery level of remote device 3 2 8 HFP Device Manufacture Format HFPMANU Param Param UTF8...

Страница 29: ...pported 1 Standby 2 Connecting 3 Connected 4 Paused 5 Streaming 3 3 2 A2DP Device Information Format A2DPDEV Param1 Param2 Param1 12 Bytes ASCII Remote device s MAC address of current A2DP connection...

Страница 30: ...imal ASCII Total time of current track in second Example Read media player play progress every 1s TRACKSTAT 1 54 322 TRACKSTAT 1 55 322 TRACKSTAT 1 56 322 3 3 6 Media Track Information Format TRACKINF...

Страница 31: ...3 Dialed call log 4 Missed call log Param2 UTF8 Name Param3 ASCII Number Param4 15 Bytes ASCII Call time Format Year 4Bytes Month 2Bytes Day 2Bytes T 1Byte Hour 2Bytes Minute 2Bytes Second 2Bytes e g...

Страница 32: ...71012T152826 PBDATA E 3 5 SPP Indications 3 5 1 SPP State Format SPPSTAT Param Param 0 3 0 Unsupported 1 Standby 2 Connecting 3 Connected 3 5 2 SPP Received Data Format SPPDATA Param1 Param2 Param1 Pa...

Страница 33: ...ATTSTAT Param Param 0 3 0 Unsupported 1 Standby 2 Connecting 3 Connected 3 6 2 GATT Received Data Format GATTDATA Param1 Param2 Param1 Payload length Param2 Payload Example Received data 1234567890 fr...

Отзывы: