Home

eBMU User`s Manual

image

Contents

1. jo oj O1 0 ND o Procedure to change UART Baud Rate 1 Enter into production mode AT JPRO 1 2 Received confirmation from eBMU OK 3 Write BD Data command and specify the UART Baud Rate in the designated parameter according to the values provided above 4 Exit production mode AT JPRO 0 5 Received confirmation from eBMU OK 6 SW Reset Note Original BD Address and Osc trim values need to be preserved Read both with AT JRBD command before changing the UART baud rate 4 7 Data Flow Control eBMU acknowledges a data packet sent by send data command AT JSDA with an OK response when it has been transmitted The host shall wait for the acknowledgement before sending a new packet 4 8 Production Mode Production mode is used for configuration and test purposes the production mode shall be entered in order to execute the following commands AT JDOI DOwnload EEPROM Image AT JEDT Enable Device under Test AT JCAC Crystal Auto Calibration AT JCBD Change BD_Data User s Manual 21 Revision 2 0 2008 10 21 spp Ro are PACARAN are Description downloaded by Annakarin Ericson Infineon Technologies Sweden at 22 Jan 2009 14 07 Infineon eBMU Infineon PMB 8753 2 Infineon SPP AT Command and Response General procedure to use production mode related commands HW reset Enter production mode AT JPRO 1 Execute command e g AT JDOI Exit production mode AT JPRO 0 HW reset oO
2. DEC base Values 1 16 Length of PIN code PIN code parameter length length PIN code The PIN Code to be sent to the remote Bluetooth device e g AT JPCR 04 1234 Note the PIN code is an ACII string AT JPRO lt mode gt PROduction mode OK DevA mode parameter 1 octet Dev B 1 Production mode ON 07 Production mode OFF Note See section 4 8 for commands requiring production mode AT JRBD Read Bluetooth device Data RRBDRES bd adar Dev A Sent to eBMU to retrieve the Bluetooth oscTrim gt Dev B Device Address and the Oscillator trimming value bd_addr parameter 12 octets HEX base BD Address of remote device oscTrim parameter 4 octets User s Manual 14 Revision 2 0 2008 10 21 spp Re are ASTOR are Description downloaded by Annakarin Ericson Infineon Technologies Sweden at 22 Jan 2009 14 07 din inean Infineon eBMU PMB 8753 2 Infineon SPP AT Command and Response AT Command Usage Resulting response s from eBMU DevA Dev B HEX base Oscillator trim value AT JRES RESet SW reset of the system ROK as applications is restarted DevA Dev B AT JRLS lt uuid gt length service name gt service name service channel CoD Register Local Service uuid parameter 4 octets HEX base uuid for supported profile e g 1101 for Serial Port Profile length service name parameter 2 octets DEC base Values 1 16 Length of service name servic
3. Infineon PMB 8753 2 Infineon SPP AT Command and Response AT Command Usage Resulting response s DevA Dev from eBMU B sniff mode mode 2 sniff Max parameter 4 octets HEX base Maximum allowed sniff interval Value to be written N Time 7 N 0 625 msec Range 1 25 msec to 40 9 s sniff Min parameter 4 octets HEX base Minimum allowed sniff interval Value to be written N Time 7 N 0 625 msec Range 1 25 msec to 40 9 s sniff attempt parameter 4 octets HEX base Number of sniff attempts Value to be written N Length N 1 25 msec Time Range 0 625msec 40 9 s sniff tmo parameter 4 octets HEX base The time out value for sniff attempts Value to be written N Time 7 N 0 625 msec Range 0 msec to 40 9 s on off parameter 1 octet One octet to indicate Sniff ON value 1 or Sniff OFF value 0 a Stream Connection Cancel OK DevA End Streaming Mode Dev B Send TO T1 T1 TO with an interval of T1 1 second between symbols and TO gt 1second Note This string is not terminated with CR LF User s Manual 17 Revision 2 0 2008 10 21 spp RO DVare RSS Teo are Description downloaded by Annakarin Ericson Infineon Technologies Sweden at 22 Jan 2009 14 07 Infineon Infineon eBMU PMB 8753 2 Infineon SPP AT Command and Response 4 3 AT Responses List not command triggered AT Response Usage Command to Dev A Dev B acknowledge the response ROK S
4. uuid gt Service Discovery Start Causes eBMU to start a service discovery of device with bd_addr and search for services defined by uuid OK Then if services are returned RSDSRES lt remote_servic DevA User s Manual 15 Revision 2 0 2008 10 21 spp Rotyare See Rare Description downloaded by Annakarin Ericson Infineon Technologies Sweden at 22 Jan 2009 14 07 din inean Infineon eBMU PMB 8753 2 Infineon SPP AT Command and Response AT Command Usage Resulting response s DevA Dev from eBMU B e bd addr parameter 12 octets HEX base name remote service cha BD Address of remote device nnel gt uuid parameter 4 octets HEX base Service to search for e g 1101 for remote_service_name Serial Port Profile parameter variable length Name of the remote service remote_service_channel parameter 2 octets DEC base For each service Completed by RSDSCNF lt status gt status parameter 1 octet AT JSEC lt security_mode Enable SECurity OK DevA gt lt Link_key_information gt Dev B lt PIN_type gt security_mode parameter 1 octet length PIN code 1 Security Mode 1 PIN code 2 N A 3 Security Mode 3 default link_key_information parameter 1 octet 1 Inform about link key 2 Don t inform about link key default PIN_type parameter 1 octet 1 Variable PIN 2 Fixed PIN length PIN code parameter 2 octets DEC base Length of PIN code
5. Infineon SPP AT Command and Response AT Command Usage Resulting response s from eBMU DevA Dev B AT JAAC lt auto_accep t gt Auto Accept Connection requests Forces eBMU to accept connection requests auto_accept parameter 1 octet 0 Host will be notified on incoming connection indication RCOI no auto accept Default value 1 eBMU will accepted automatically automatically auto accept incoming connection request host will be notified but connection is OK Dev B AT JACR accept Accept Connection Request Shall be used as answer to a connect indication RCOI accept parameter 1 octet 0 Not accepted 1 Accepted OK Dev B AT JEDT Enable Device under Test This SPP AT command enables the device under test After this command has been sent it is possible for a remote tester to connect this AT command corresponds to the three different HCI commands listed below 1 Set Event Filter allow all connections 2 Write Scan Enable page and Inquiry 3 Enable device under test Note JEDT command can only be issued with security mode 1 and after production mode is enabled JPRO 1 See section 4 8 OK Dev A Dev B AT JCAC trim value GPIO gt Crystal Auto Calibrate trim_value parameter 4 octets HEX base The trim value is used to adjust the frequency on the GPIO chosen by the GPIO parameter GPIO paramet
6. GL 20000 GL LN 22 of Global Locate mipi of MIPI Alliance CAT iq of DECT Forum MIPS MIPS II 24KEc of MIPS Technologies Inc Texas Instruments PowerPAD C62x C55x VLYNQ Telogy Software TMS320C62x Code Composer Studio SSI of Texas Instruments Incorporated Bluetooth of Bluetooth SIG Inc IrDA of the Infrared Data Association Java SunOS Solaris of Sun Microsystems Ru Philips 12C Bus of Koninklijke Philips Electronics N V Epson of Seiko Epson Corporation Seiko of Kabushiki Kaisha Hattori Seiko Corporation Panasonic of Matsushita Electric Industrial Co Ltd Murata of Murata Manufacturing Company Taiyo Yuden of Taiyo Yuden Co Ltd TDK of TDK Electronics Company Ltd Motorola of Motorola Inc National Semiconductor MICROWIRE of National Semiconductor Corporation IEEE of The Institute of Electrical and Electronics Engineers Inc Samsung OneNAND UtRAM of Samsung Corporation Toshiba of Toshiba Corporation Dallas Semiconductor 1 Wire of Dallas Semiconductor Corp NOVeA of Virage Logic Corp ISO of the International Organization for Standardization IEC of the International Engineering Consortium EMV of EMVCo LLC Zetex of Zetex Semiconductors Rohm of Rohm Co Ltd Microtec of Microtec Research Inc Verilog of Cadence Design Systems Inc ANSI of the American National Standards Institute Inc WindRiver and VxW
7. Infineon Infineon eBMU PMB 8753 2 Example AT Commands and Responses 12 Host lt eBMU OK 13 Host eBMU RSDSRES Serial port 01 14 Host lt eBMU RSDSCNF 0 Example Connect with security mode 1 No PIN request DevA DevB Security mode 1 Security mode 1 1 Host lt eBMU ROK 2 Host lt eBMU ROK 3 Host gt eBMU AT JSEC 1 1 1 04 1111 4 Host lt eBMU OK 5 Host gt eBMU AT JDIS 3 6 Host lt eBMU OK Ta Host gt eBMU AT JRLS 1101 11 Serial Port 01 000000 8 Host lt eBMU OK 9 Host gt eBMU AT JAAC 1 10 Host lt eBMU OK 11 Host gt eBMU AT JSEC 1 1 1 04 1111 12 Host lt eBMU OK 13 Host gt eBMU Ge EN 14 Host lt eBMU OK 15 Host lt eBMU RCCRCNF 230 0 16 Host lt eBMU RCOI 0003199E8B35 17 Host lt eBMU RCCRCNF 230 0 Example Connect with security mode 3 With PIN request DevA DevB Security mode 3 default Security mode 3 default 1 Host lt eBMU ROK 2 Host lt eBMU ROK 3 Host gt eBMU AT JDIS 3 4 Host lt eBMU OK 5 Host gt eBMU AT JRLS 1101 11 Serial port 01 000000 6 Host lt eBMU OK User s Manual 24 Revision 2 0 2008 10 21 spp Rr Oars MEAG PACARAN are Description downloaded by Annakarin Ericson Infineon Technologies Sweden at 22 Jan 2009 14 07 Infineon eBMU Infineon
8. PMB 8753 2 Example AT Commands and Responses T Host gt eBMU AT JAAC 1 8 Host lt eBMU OK 9 Host gt eBMU AT JCCR 0003199E8B25 01 10 Host lt eBMU OK 11 Host eBMU RPCI 0003199E8B25 12 Host gt eBMU AT JPCR 04 0000 13 Host lt eBMU OK 14 Host lt eBMU RPCI 0003199E8B35 15 Host gt eBMU AT JPCR 04 0000 16 Host lt eBMU OK 17 Host lt eBMU RSLE 18 Host lt eBMU RCOI 0003199E8B35 19 Host eBMU RCCRCNF 230 0 20 Host lt eBMU RSLE 21 Host lt eBMU RCCRCNF 230 0 User s Manual 25 Revision 2 0 2008 10 21 spp Re tare ETE OI are Description downloaded by Annakarin Ericson Infineon Technologies Sweden at 22 Jan 2009 14 07 Intimeon eBMU Infineon PMB 8753 2 Example AT Commands and Responses References 1 www bluetooth org User s Manual 26 Revision 2 0 2008 10 21 spp Rotyare PACAN are Description downloaded by Annakarin Ericson Infineon Technologies Sweden at 22 Jan 2009 md Intimeon Infineon Terminology A APPL AT B BT C CR CTS DEC eBMU GPIO HEX HW 0 12C LF MSB MTU Oo OSC P PU R RFCOMM RTS RX S SCL User s Manual spp RPAN escr eBMU PMB 8753 2 Application Attention from Hayes command set Bluetooth Carry Return Clear To Send DECimal embedded BMU General Purpose Input Output HEXadecimal Hardwa
9. ROMA 4 9 SPP AT Commands Operating with EEPROM The following commands are related to operations read write in the EEPROM 1 AT JDOI Download Image It writes the whole content of the EEPROM 2 AT JCBD change BD DATA It writes the BD DATA section of the EEPROM 3 AT JRTD Remove Trusted Device It erases the associated BD ADDRESS and link key from the EEPROM 4 AT JRLS Register Local Service It writes the CoD value into EEPROM 5 AT JCCR Create connection with security mode 3 The resulting link key will be written into EEPROM both in DEVA and DEVB 6 AT JRES RESet The content of EEPROM is read and loaded into RAM 7 AT JSLN Set Local Name The local name is written into EEPROM Note AT JRBD does not read from EEPROM but from the configuration that has been read into the device after startup 4 10 Security Mode Pairing is done automatically when security mode 3 is used Security mode 3 is the default security mode If security mode 1 no authentication and no encryption is the desired mode then AT JSEC should be the first command issued specifying security mode 1 after a HW reset The pair procedure involves a PIN code indication RPCI and a secure link established response RSLE If a trusted device shall be removed then the remove trusted device command AT JRTD shall be used See example in section 5 for a detailed session description User s Manual 22 Revision 2 0 2008 10 21 spp Ro are PACA
10. The maximum PIN length value is 16 corresponding to a 16 octets long PIN code PIN code parameter length zlength PIN code Normal user PIN for example 0000 default This parameter is taken into account if PIN TYPE is fixed Note If security mode shall be changed from default settings AT JSEC shall be the first command that is sent after a reset Security mode 3 is the default security mode and the default PIN type is variable AT JSLN lt length_frien Set Local device friendly Name OK Dev A dly name friendly na Supports all ASCII characters Dev B gt ix length friendly name parameter 2 octets DEC base Length of friendly name the maximum value for length is 18 friendly name parameter lengthzlength friendly name No delimiter is required AT JSNF lt sniff_Max gt Sniff Request RSNFCNF DevA lt sniff_Min gt Request a link to enter Sniff Mode All lt sniff_Interval gt lt mode gt Dev B sniff attempt command parameters are given in sniff tmo on off HEX base with the exception of on off sniff Interval parameter 4 parameter octets HEX base 1 ASCII character represents four bits mode parameter 1 octet in HEX base e g A is 1010 MSB One octet to indicate given first normal mode mode 0 or User s Manual spp Rrtware 16 Revision 2 0 2008 10 21 RESTOR are Description downloaded by Annakarin Ericson Infineon Technologies Sweden at 22 Jan 2009 14 07 din inean eBMU
11. application over UART is called response except while in stream mode 3 1 Operation Modes The specification defines two operation modes of the PMB 8753 2 also named eBMU throughout the document For Bluetooth SPP there are two different roles specified A device paging device setting up the over the air connection and B device which is connectable and accepts the connection page scanning device 3 1 1 Command Mode In this mode the SPP application running on the eBMU will execute the AT commands sent from the host over the UART using the H4 UART protocol as specified within the Bluetooth SIG 1 In this mode the host application can send data to the eBMU which are transmitted to the remote device which has a Bluetooth connection on SPP level with the eBMU This mode is normally used when transmitting burst and packetized data Setting up accepting Bluetooth SPP connections and or searching for other Bluetooth devices are also operations done in this mode 3 1 2 Stream Mode In this mode the host application will send un packetized data to the eBMU which are transmitted over the air to the remote device This mode is normally used when transmitting small size of data in a random way and for serial cable replacement applications 3 2 PIN Assignments The table below shows the available GPIOs GPIOs noted with Reserved can not be controlled by a host P0 1 and P0 8 can be used as application GPIOs but not when they are used dur
12. are in that case initiated by the remote Bluetooth device 4 1 AT Command and Response Format and Syntax All data exchanged between the host and eBMU is in ASCII format Parameters for commands and responses are given in decimal DEC base in ASCII format unless hexadecimal HEX base is specified MSB is always sent first eBMU does not distinguish between upper and lower cases Example for values with decimal base in ASCII format The number 255 in decimal corresponds to the following three characters 2 5 5 Eg AT JSDA 010 1234567890 the number 10 is given by three ASCII characters 0 1 0 Example for values with hexadecimal base in ASCII format The number 255 in decimal base corresponds to the number FF in hexadecimal base thereby the number in ASCII format for hexadecimal base is represented by the following two characters F PF User s Manual 9 Revision 2 0 2008 10 21 spp Ro tare See R are Description downloaded by Annakarin Ericson Infineon Technologies Sweden at 22 Jan 2009 14 07 Infineon eBMU Infineon PMB 8753 2 Infineon SPP AT Command and Response E g RSNFCNF 3E80 2 The four ASCII characters 3 E 8 0 represent the number 3E80 in hexadecimal base which corresponds to 16000 in decimal base 4 1 1 AT commands All AT commands follow the format below AT command parameter 1 if required gt lt parameter 2 if required gt lt par
13. device performs a Dev B Master Slave role switch User s Manual 18 Revision 2 0 2008 10 21 spp Ro are PACAN are Description downloaded by Annakarin Ericson Infineon Technologies Sweden at 22 Jan 2009 14 07 din inean eBMU Infineon PMB 8753 2 Infineon SPP AT Command and Response 4 4 Crystal Auto Calibration Frequency counter method The frequency of the eBMU s crystal oscillator can be calibrated with a built in capacitance array that is configured by the BD DATA value Osc trim Instrument required is a frequency counter for example Agilent 53131A universal counter This method also requires that one of the GPIO pins P01 or P08 is available The calibration will be done on a 32 MHz clock generated from the 26 MHz internal reference clock This 32 MHz clock should be adjusted to be within x2ppm 64 Hz accuracy The command requires that the device is in production mode please follow the sequence below Connect the frequency counter to the appropriate test point Enter Production Mode AT JPRO 1 Use The AT JCAC command to define the test point and the Osc trim value Measure the frequency of the 32 MHz signal with the counter Iterate steps 3 and 4 until 2 ppm are reached Then write the corresponding trim value to the parameter Osc trim in the BD data with AT JCBD Leave production mode AT JPRO 0 Perform a SW reset OU RONA NO 4 5 Low Power Mode Control The low power mode protocol for eBMU
14. is based on hardware signaling only No SPP commands or responses are required The existing flow control signals for the UART are used together with two GPIOs to tell the other device host or controller when it may enter low power mode when it should wake up and when it cannot transmit because the first device is in low power mode Low power mode can be used when the device is in e Page inquiry scan mode e Connected with link in sniff e Disconnected In all other states low power mode shall not be used a few examples of other states are listed below e During connection set up e During device discovery e ACL link without sniff To allow the eBMU to enter low power mode the host sets PIN P0 14 low When eBMU is ready it will also allow the host to enter LPM by setting P0 0 low Before entering LPM the host shall set UART CTS of eBMU high Before entering LPM eBMU will set its own UART RTS high The host can wake up eBMU by setting UART CTS of eBMU low again and setting P0 14 high again eBMU can wake up the host by setting its own UART RTS low again and setting P0 0 high again User s Manual 19 Revision 2 0 2008 10 21 spp Ro are PACAN are Description downloaded by Annakarin Ericson Infineon Technologies Sweden at 22 Jan 2009 14 07 Infineon eBMU Infineon PMB 8753 2 Infineon SPP AT Command and Response 4 5 1 Host Initiates Low Power Mode Entry and Exit The picture below describes when the host initiates Low Power
15. MU Infineon PMB 8753 2 Introduction 1 Introduction This document describes the AT commands applicable to Infineon s eBMU Bluetooth solution for embedded applications The product utilizes a raw AT set of commands and responses over UART for Bluetooth communications and control on an embedded device User s Manual 6 Revision 2 0 2008 10 21 spp Rotyare PACAN are Description downloaded by Annakarin Ericson Infineon Technologies Sweden at 22 Jan 2009 14 07 Infineon eBMU Infineon PMB 8753 2 Bluetooth Features N Bluetooth Features Bluetooth v2 0 EDR compliant Device A and B support 1 ACL link with stream or command mode Device A and B Visible while connected Device A and B Visible connectable when not connected Device A and B Device Discovery capable after receiving OK on data transfer Sniff mode is supported with above capabilities 5 trusted devices stored in EEPROM Testing Enable DUT Crystal calibration H4 with UART HW flow control RTS CTS Security modes Mode 1 and Mode 3 Master Slave role switch User s Manual 7 Revision 2 0 2008 10 21 spp RO DVare SRGDP R are Description downloaded by Annakarin Ericson Infineon Technologies Sweden at 22 Jan 2009 14 07 Infineon eBMU Infineon PMB 8753 2 Serial Port Profile 3 Serial Port Profile Host communication sent over UART is always called command except while in stream mode see below All communication received by host
16. Mode and host initiates the Low Power Mode Host eBMU Host gt GPIO 0 14 Output Host RTS gt UARTCTS c c Host Input GPIO 0 00 Host CTS UARTRTS The host allows eBMU to enter low power mode eBMU enters low power mode eBMU allows the host to enter low power mode the host may if it can enter low power mode The host requests the eBMU to wake up eBMU wakes up OU RONA 4 5 2 Host Initiates Low Power Mode Entry eBMU Initiates Exit The picture below describes when the host initiates Low Power Mode and host initiates the Low Power Mode Host eBMU Host gt GPIO 0 14 Output Host RTS gt UARTCTS c c Host Input GPIO 0 00 Host CTS UARTRTS The host allows eBMU to enter low power mode eBMU enters low power mode eBMU allows the host to enter low power mode The host enters low power mode eBMU requests the host to wake up The host wakes up D meN User s Manual 20 Revision 2 0 2008 10 21 spp Rrtyare PACAN are Description downloaded by Annakarin Ericson Infineon Technologies Sweden at 22 Jan 2009 mid Intimeon eBMU Infineon PMB 8753 2 Infineon SPP AT Command and Response 4 6 UART Baud Rate Change The baud rate of the UART can be changed by writing into the UART Baudrate parameter of the BD DATA The available UART Baud rates are UART Baud Rate bauds s Configuration value for BD DATA 9600 19200 38400 57600 115200 230400 460800 921600 1843200 3250000
17. N are Description downloaded by Annakarin Ericson Infineon Technologies Sweden at 22 Jan 2009 mid Intineon Infineon eBMU PMB 8753 2 Example AT Commands and Responses Example AT Commands and Responses Example Device Discovery DevA DevB Seq Direction Command response Seq Direction Command response No No 1 Host lt eBMU ROK 2 Host lt eBMU ROK 3 Host gt eBMU AT JDIS 3 4 Host lt eBMU OK 5 Host gt eBMU AT JRLS 1101 11 Serial port 01 000000 6 Host eBMU OK Host gt eBMU AT JDDS 0 8 Host lt eBMU OK 9 Host lt eBMU RDDSRES 0003199E8B25 devB 000000 10 Host lt eBMU RDDSRES 001842E869D5 Javier N95 5A020C 10 Host lt eBMU RDDSCNF 0 Example Service Discovery DevA DevB Seq Direction Command response Seq Direction Command response No No 1 Host lt eBMU ROK 2 Host lt eBMU ROK 3 Host gt eBMU AT JSEC 1 1 1 04 1111 4 Host lt eBMU OK 5 Host gt eBMU AT JDIS 3 6 Host lt eBMU OK 7 Host gt eBMU AT JRLS 1101 11 Serial port 01 000000 8 Host eBMU OK 9 Host gt eBMU AT JSEC 1 1 1 04 1111 10 Host lt eBMU OK 11 Host gt eBMU AT JSDS 0003199E8B25 1 101 User s Manual 23 Revision 2 0 2008 10 21 spp RO ware escr SETTER are Description downloaded by Annakarin Ericson Infineon Technologies Sweden at 22 Jan 2009 14 07
18. October 2008 eBMU BlueMoon Universal Embedded SPP AT Application eBMU PMB 8753 2 Version 1 01 eBMU SPP AT Version 1 1 User s Manual Software Description Revision 2 0 EN Communication Solutions Cinfineon Never stop thinking SPP AT User s Manual Software Description downloaded by Annakarin Ericson Infineon Technologies Sweden at 22 Jan 2009 Cinfineon nimeon Edition 2008 10 21 Published by Infineon Technologies AG 81726 Munich Germany 2008 Infineon Technologies AG All Rights Reserved Legal Disclaimer The information given in this document shall in no event be regarded as a guarantee of conditions or characteristics With respect to any examples or hints given herein any typical values stated herein and or any information regarding the application of the device Infineon Technologies hereby disclaims any and all warranties and liabilities of any kind including without limitation warranties of non infringement of intellectual property rights of any third party Information For further information on technology delivery terms and conditions and prices please contact the nearest Infineon Technologies Office www infineon com Warnings Due to technical requirements components may contain dangerous substances For information on the types in question please contact the nearest Infineon Technologies Office Infineon Technologies components may be used in life support device
19. ameter 3 if required 5 carriage return gt lt line feed E g AT JCCR 0010c64d67dc 01 to connect to BD ADDR 0010c64d67dc service channel 1 4 1 2 AT responses All AT responses follow the format below with the exception of OK and lt ERROR gt lt response gt lt parameter 1 if required gt lt parameter 2 if required gt lt parameter 3 if required gt lt gt lt carriage return gt lt line feed E g RDAI 004 DATA 4 bytes DATA received 4 1 2 1 AT Response Parameter List for status and ERROR 4 1 2 1 1 Command Execution Status Values Values for status general for all commands e BT OK 0 BT ERROR 1 BT TIMEOUT 4 4 1 2 1 2 General Error Messages e ERR 1 Syntax Error ERR 2 Command not allowed at present execution status ERR 2 is obtained when any of the following situations is met Create a new connection when already connected Device discovery when already connected Send data when not connected Accept connection request without a request Enter sniff mode without being connected Enable SEC mode after another command has previously been sent Service discovery when connected Send data with length 0 ONOARWN gt User s Manual 10 Revision 2 0 2008 10 21 spp Ro are PACAN are Description downloaded by Annakarin Ericson Infineon Technologies Sweden at 22 Jan 2009 14 07 Infineon Infineon eBMU PMB 8753 2 4 2 AT Command List Table
20. e name parameter length length service name Name for the service no final delimiter is needed service channel parameter 2 octets DEC base Values range 0 30 Which service channel to connect to can be received from a Service Discovery with AT JSDS CoD parameter 6 octets HEX base Class of device The default CoD value is 000000 OK Dev B AT JRRI Read Revision Information RRRICNF lt revision gt revision parameter 2 octets HEX base DevA Dev B AT JRTD bd addr Remove Trusted Device deletes the trusted device information for a registered device bd addr bd addr parameter 12 octets HEX base The Bluetooth address of the device that shall be removed from the list OK Dev A Dev B AT JSCR Stream Connection Request Connects the SPP and UART streams transparent communication will be enabled if both sides execute this command OK DevA Dev B AT JSDA length data gt Send Data Request length parameter 3 octets DEC base number of bytes to be sent Values range 1 MTU data parameter see note for size data to be sent Note Maximum number of bytes for each packet is reported at connection confirmation MTU_Size MTU size for eBMU is 230 bytes but this parameter is negotiated under connection set up OK DevA Dev B AT JSDR SPP Disconnect Request Forces an SPP disconnection OK DevA Dev B AT JSDS lt bd_addr gt lt
21. ed Note Default value after a HW reset is no scans enabled AT JDOI DOwnload Application Image via UART OK after command is sent DevA After OK response a binary file with Dev B the EEPROM image should be sent RDOICNF after eep file has been written File open and send in binary format after OK is received Note eBMU calculates the size of the image that is Note JDO command can only be issued being downloaded from the after production mode is enabled file header The response JPRO 1 Changes in the EEPROM RDOICNF is generated image are effective after production mode when the calculated size is command is disabled JPRO 0 followed reached by a HW reset See section 4 8 AT JGPA lt reserved gt GPIO action GPOACNF lt value gt DevA lt read gt lt set gt lt clear gt All parameters of this command are bit Dev B fields of 16 bits corresponding to GPIOs P0 15 to P0 0 E g if pin P0 0 is the desired bit the bit field value is 0001 and if the desired bit is PO 12 the bit field value is 0800 reserved parameter 4 octets read parameter 4 octets Hex base Values for each bit 0 No Action 1 Read set parameter 4 octets HEX base Values for each bit 0 No Action 1 Set clear parameter 4 octets HEX base Values for each bit value parameter 4 octets HEX base This value is the state of the GPIO PINs specified in read parameter Values for each bit 0 means low 1 means
22. ed e RRSI Master Slave role switch indication added e RPCI example 5 MTU value changed to 230 in examples SPP AT User s Manual Software Description downloaded by Ante Rap lets eam ateimplate 4008002 ot eas bg 008 0 14 07 Infineon eBMU Infineon PMB 8753 2 Trademarks of Infineon Technologies AG ABM A GOLD AOP BlueMoon CONVERGATE CONVERPATH COSIC C166 DUALFALC DUSLIC E GOLD ELASTec EPIC FALC FLEXISLIC GEMINAX GOLDMOS INCA IOM IPVD ISAC IWE IWORX M GOLD MUSLIC OCTALFALC OCTAT OMNITUNE OMNIVIA OPTIVERSE PASi V PROSOC QUADFALC SCEPTRE SCOUT SEROCCO S GOLD SICOFI SIEGET SLIC SMARTi SMARTIPM SMARTiPM SMARTIUE SMARTi3G SMARTi3G SMINT SOCRATES TRUENTRY VINAX VINETIC VIONTIC VOIPRO WDCT WildPass X GOLD XMM X PMU XWAY Other Trademarks Microsoft Visio Windows aul Microsoft Corporation Linux of Linus Torvalds FrameMaker of Adobe Systems Incorporated APOXI COMNEON of Comneon GmbH amp Co OHG PrimeCell RealView ARM ARM Developer Suite ADS Multi lCE ARM1176JZ S CoreSight Embedded Trace Macrocell ETM Thumb ETM9 AMBA ARM7 ARM9 ARM7TDMI S ARM926EJ S of ARM Limited OakDSPCore TeakLite DSP Core OCEM of ParthusCeva Inc IndoorGPS
23. er 4 octets HEX base Two GPIOs can be used as output for the oscillator trim PO1 and P08 0002 and 0100 See section 4 4 Note JCAC command can only be issued after production mode is enabled JPRO 1 See section 4 8 RCACCNF osc trim osc trim parameter 4 octets HEX base Use AT JCBD to store the osc trim value to EEPROM Dev A Dev B AT JCBD bd data Change BD Data bd data parameter 116 octets HEX base reference values msg bdAddr 12 octets see note1 msg channelWordOffset 4 octets 20000 msg clkConf 2 octets 8A msg eepromSize 2 octets 80 OK DevA Dev B User s Manual 11 Revision 2 0 2008 10 21 spp Rr are PACAN are Description downloaded by Annakarin Ericson Infineon Technologies Sweden at 22 Jan 2009 14 07 cin inean Infineon eBMU PMB 8753 2 Infineon SPP AT Command and Response AT Command Usage Resulting response s from eBMU DevA Dev B msg inputFreq 8 octets 018CBA80 msg ImpFeatures 16 octets 000019987E0602BF msg lpmConf 2 octets 40 msg lpmDrift 2 octets FA msg lpmThreshold 2 octets 12 msg ulpmThreshold 2 octets 18 msg pmuConfig 4 octets 0080 msg rfPselD 8 octets 06050403 msg rfPselConf 2 octets 44 msg rssiMin 2 octets 0C msg rssiMax 2 octets 10 msg ddcTIConf 2 octets 02 msg uartBaudrate 2 octets 04 msg uartInvert 2 octets 00 msg uartPulls 2 octets 01 msg oscSettle 2 octet
24. high When the pins are set as outputs the return value will be 0 for the specific pin Reserved pins will always return O User s Manual 13 Revision 2 0 2008 10 21 spp Rr are PACARAN are Description downloaded by Annakarin Ericson Infineon Technologies Sweden at 22 Jan 2009 14 07 din inean Infineon eBMU PMB 8753 2 Infineon SPP AT Command and Response AT Command Usage Resulting response s DevA Dev from eBMU B 0 No Action 1 Clear AT JGPC GPIO Configuration OK DevA lt direction gt lt open_drain gt All parameters of this command are bit Dev B lt pull_on off gt lt pull_up dow fields of 16 bits corresponding to n gt lt tristate gt GPIOs P0 15 to P0 0 See command AT JGPA direction parameter 4 octets HEX base Values for each bit 1 IN 0 OUT open drain parameter 4 octets HEX base Values for each bit 1 OPEN pull_on off parameter 4 octets HEX base Values for each bit 1 Pull ON 0 Pull OFF pull up down parameter 4 octets HEX base Value for each bit 1 Pull UP tristate parameter 4 octets HEX base Value for each bit 1 Tri state Note See section 3 2 for available GPIO pins AT JPCR length PIN c PIN Code Reply OK Dev A ode PIN code Sent to eBMU in response to a PIN Followed by Dev B Code Request from a remote Bluetooth RSLE if secure link is device bd addr established length PIN code parameter 2 octets
25. ing the crystal calibration procedure All application GPIOs are by default configured as tri state User s Manual 8 Revision 2 0 2008 10 21 spp Ro are PACAN are Description downloaded by Annakarin Ericson Infineon Technologies Sweden at 22 Jan 2009 mid Intineon eBMU Infineon PMB 8753 2 Infineon SPP AT Command and Response PIN name Default Direction GPIO Description Configuration UART_RX P0 5 Reserved UART UART_TX O PU O P0 4 Reserved UART UART_RTS O PU O P0 6 Reserved UART UART_CTS PO 7 Reserved UART SDA O PU y o P0 12 Reserved I2C SCL PU P0 13 Reserved I2C PCMFR1 O PU O P0 0 Reserved LPM TX_Conf2 P0 14 Reserved LPM PCMCLK Z y o PO 1 APPL GPIO XTAL PCMIN Z I O P0 2 CAL PCMOUT Z I O P0 3 APPL GPIO PAON Z I O P0 8 APPL GPIO PSELO Z O P0 9 APPL GPIO XTAL PSEL1 Z 1 0 P0 10 SAL TX_Conf1 Z y o P0 11 GPL P015 Z O P0 15 CC APPL GPIO APPL GPIO 4 Infineon SPP AT Command and Response AT commands can only be sent while in command mode with the exception of stream connection cancel which can be sent in stream mode The expected response after sending an AT command is the OK response see specification below The host shall wait for a command to be terminated before sending a new one A command is considered as terminated when OK and all subsequent related responses have been received There are also responses which are not initiated by a sent command They
26. mand Execution Status Values sss ener enne nnns 10 4 1 2 1 2 General Error MeSSag6Ss oe dest tette ie estie ER state ces Ee dde Neg ek e rto Exe lesa legs 10 4 2 AT Comimand List Fable y tetti a ee egets ee kept ee ge td desee aaa a edat denas 11 4 3 AT Responses List not command triggered sssssssss eene 18 4 4 Crystal Auto Calibration Frequency counter method eme 19 4 5 Low Power Mode Control iik trice etre R hex dg er EU e aa aE RR FREU E aE 19 4 5 1 Host Initiates Low Power Mode Entry and Exit sssssssseseeeeeeneeen 20 4 5 2 Host Initiates Low Power Mode Entry eBMU Initiates Exit sss 20 4 6 UART Baud Rate Change ee eee dae tree ente ee ient re aee ea ea tevtiine ated deat iun 21 4 7 Data Flow COrnlttol 2 etra te a ne eus lette e pteeda a dee deae ea Dee Rae IN Reda 21 4 8 Production iore eee 21 4 9 SPP AT Commands Operating with EEPROM ssssessssseeee emen ener 22 4 10 Security ModE T m 22 5 Example AT Commands and Responses 2 ccccceceeseeeneeceeeeesensceaneeseeeeeeseneeaeeeseeeeeseesseaneeeeeeens 23 Referentes iiicissenes m EAEE EASE 26 Lindon 27 User s Manual 5 Revision 2 0 2008 10 21 spp Ro are PACAN are Description downloaded by Annakarin Ericson Infineon Technologies Sweden at 22 Jan 2009 14 07 Infineon eB
27. orks of Wind River Systems Inc Nucleus of Mentor Graphics Corporation OmniVision of OmniVision Technologies Inc Sharp of Sharp Corporation Symbian OS of Symbian Software Ltd Openwave of Openwave Systems Inc Maxim of Maxim Integrated Products Inc The information in this document is subject to change without notice Last Trademarks Update 2008 05 27 SPP AT User s Manual Software Description downloaded by Annaa om atemplate 008002 Jot ape bg 098 2556 fror Infineon eBMU Infineon PMB 8753 2 Table of Contents Table of Contents 1 Introductio M iin ananena 6 2 Bluetooth Feat res ier anaa aa aaea raana aaaea aea aas aaaea 7 3 Serial Port Profile iecit aaa eaaa E Raan aa EAEE eE EREE aaa aa aana EEEa 8 3 1 eje Aree aaa a aa a E a aa aea aE E 8 3 1 1 Command Mde noseia aa a aa a a E aaa n a aAA EE 8 3 1 2 IUD T e 8 3 2 PIN ASSIN OMS eisai Eat etes edge Ep tese he ede ee eg qeu ee dete beets 8 4 Infineon SPP AT Command and ReSPonse 22 ccccceseesseeneeceeeeeeeeeseeneeseeeseseeeanenseeeeeseneeeaneeeeeeeneees 9 4 1 AT Command and Response Format and Syntax sss eene enne 9 4 1 1 A dgeenpEzupceem ERR 10 4 1 2 AT fespolses i etre rete ret er nnde tes ree xal EU Eu Ee Node oe XE e ERN EEEE duree EEEE ede ve ara ek Yea lane 10 4 1 2 1 AT Response Parameter List for status and ERROR sss 10 4 1 2 1 1 Com
28. re Input Output Inter Integrated Circuit Line Feed Most Significant Bit Maximum Transmission Unit OSCillator Pull Up Radio Frequency Communication Request To Send Reception Serial CLock 27 Example AT Commands and Responses Revision 2 0 2008 10 21 PACAN are Description downloaded by Annakarin Ericson Infineon Technologies Sweden at 22 Jan 2009 14 07 iIntineon eBMU Infineon PMB 8753 2 Example AT Commands and Responses SDA Serial DAta SPP Serial Port Profile SW Software T TX Transmission U UART Universal Asynchronous Receiver Transmitter Z Z Tri state User s Manual 28 Revision 2 0 2008 10 21 spp Rotyare PACAN are Description downloaded by Annakarin Ericson Infineon Technologies Sweden at 22 Jan 2009 md CInrineon
29. s 08 msg bbConf 2 octets 04 msg rfConf 2 octets 04 msg txPowerRef0 2 octets F2 msg txPowerRef1 2 octets F8 msg txPowerRef2 2 octets FE msg txPowerRef3 2 octets 04 msg oscTrim 4 octets see note 2 msg threeWireArqTimeout 2 octets 06 msg LMP Version 2 octets 00 msg Reserved 16 octets 0000000000000000 Note 1 This value shall be configured with the desired Bluetooth device Address e g FFAA010203BB Note 2 This value shall be configured with the value found during crystal calibration see command AT JCAC Note 3 JCBD command can only be issued after production mode is enabled JPRO 1 Changes in BD Data take place after production mode command is disabled JPRO 0 followed by a SW reset AT JRES See section 4 8 AT JCCR lt bd_addr gt lt service channel gt Create Connection Request Instructs eBMU to connect to a remote Bluetooth device prospective slave bd_addr parameter 12 octets HEX base The Bluetooth address of the remote device service_channel parameter 2 octets DEC base 0 30 Which service channel to connect to can be received from a Service Discovery AT JSDS OK Followed by RCCRCNF lt MTU_size gt lt status gt MTU_size parameter 3 octets DEC base status parameter 1 octet If maximum number of allowed connections already exists ERR 2 DevA AT JDDS lt limit_inquiry _result gt Device Discovery Start Causes eBMU to s
30. s or systems only with the express written approval of Infineon Technologies if a failure of such components can reasonably be expected to cause the failure of that life support device or system or to affect the safety or effectiveness of that device or system Life support devices or systems are intended to be implanted in the human body or to support and or maintain and sustain and or protect human life If they fail it is reasonable to assume that the health of the user or other persons may be endangered SPP AT User s Manual Software Description downloaded by Annakarin Ericson Infineon Technologies Sweden at 22 Jan 2009 14 07 Infineon eBMU Infineon PMB 8753 2 eBMU Revision History 2008 10 21 Revision 2 0 Previous Version PMB8753 2 SPP AT specification R2 pdf Chapter Subjects major changes since last revision 2 Pull up and tri state acronyms added 3 Master slave role switch added 4 2 Default state for GPIO info added 4 1 2 1 1 Changes in command status values 4 1 2 1 2 General error messages updated 4 2 e AT JCAC GPIO parameter explanation linked to corresponding section e AT JGPA reserved parameter info added response info expanded e AT JCCR change in the response info about ERR 0 e AT JSDA Values range 1 MTU added MTU maximum value changed e AT JDDS Change in the parameter values e AT JPCR Change in the response RSLE is received now 4 3 e RDII info on link lost while in stream mode add
31. tart a Device Discovery Inquiry and Remote Name Request of the Bluetooth neighborhood OK Then if responses are returned RDDSRES lt bd addr gt lt remote_name gt lt COD gt For each response DevA User s Manual 12 Revision 2 0 2008 10 21 spp Ro are RSTO R are Description downloaded by Annakarin Ericson Infineon Technologies Sweden at 22 Jan 2009 14 07 din inean Infineon eBMU PMB 8753 2 Infineon SPP AT Command and Response AT Command Usage Resulting response s DevA Dev from eBMU B limit_inquiry_result parameter 1 octet Values range 0 1 bd_addr parameter 12 The maximum number of responses octets HEX base that can be obtained is 8 remote_name parameter variable length Note values in the limit_inquiry_result Name of the remote device parameter have no impact in the behavior Page Timeout is received as of the command a name if the remote name is not found during device discovery COD parameter 6 octets HEX base Class of device Completed by RDDSCNF lt status gt status parameter 1 octet AT JDIS lt discoverable DlScoverable OK Dev B gt Forces eBMU into Page Scan Inquiry Scan states indefinitely note this Dev Ais makes the device discoverable discoverable but does not discoverable parameter 1 octet accept 0 No scans enabled incoming 1 Inquiry Scan enabled connections 2 Page Scan enabled 3 Inquiry amp Page Scan enabl
32. tart up response DevA Dev B RPCl lt bd_addr gt PIN Code Indication AT JPCR lt ength_PIN_code Dev A gt PIN code Dev B bd addr parameter 12 octets HEX base length PIN code parameter 2 MSB is sent first octets DEC base Length of PIN code PIN code parameter length length PIN code Connect Indication AT JACR accept Dev B RCOl lt bd_addr gt bd_addr parameter 12 octets accept parameter 1 octet Note B should HEX base 0 Not accepted disable See previous response for 1 Accepted connectable information on the format mode RDAI lt ength gt data Data Indication Not available during stream DevA mode Dev B length parameter 3 octets DEC base number of bytes to be sent data parameter length length from previous parameter Received data RDII Disconnect Indication Received on the side that has Dev A not initiated the disconnection Dev B During stream mode if the link is lost the response RDDI is received after the link supervision time out which is 20 seconds long RSLE Secure Link Established Dev A Dev B RSNFCNF lt sniff_Interval gt lt Sniff mode confirmation Received on the side that has DevA mode gt sniff_Interval parameter 4 octets not issued the sniff command Dev B HEX base AT JSNF mode parameter 1 octet One octet to indicate Normal mode mode 0 or sniff mode mode 2 RRSI Role Switch Indication Received when the remote DevA

Download Pdf Manuals

image

Related Search

Related Contents

Amplifier - DirectedDealers.com  SISTEMA DE GERENCIAMENTO DA MODALIDADE  THE INSTRUCTIONS OF THE THERMOSTAT  Tool Tray  Cables Direct DV-188  Entrenador de retinoscopia  Melissa 640-152 User's Manual  Juniper SRX-GP-24GE-POE network switch module  ez-Lap(イージーラップ)取扱説明書(保証書) − 特徴  TB-FMCH-12GSDI Hardware User Manual  

Copyright © All rights reserved.
Failed to retrieve file