background image

Promi-SD User Manual – Appendix A. AT Commands

A-6

Copyright © 2006 Sena Technologies, Inc. All rights reserved.

OK

Purpose

Display device firmware version

Description

Display device firmware version

Reference

AT+BTINFO?

10 AT+BTRSSI,n

SD Response

OK
0,255,0,0 (repeat)

Purpose

Set operation mode

Parameters

n

=0: Start sensitivity test

n

=1: Stop sensitivity test

Description

When Bluetooth connection is established, you can use this command in Stanby status.

The sensitivity will be displayed repeatedly in order of Status, LinkQuality, Status, RSSI. If
the LinkQuality is close to 255 and RSSI is close to 0, the sensitivity is not bad.

Example

+++
AT+BTRSSI,1

OK

0,255,0,0

11 AT+BTMODE,

n

SD Response

OK

Purpose

Set operation mode

Parameters

n

=0: MODE0 (Default)

n

=1: MODE1

n

=2: MODE2

n

=3: MODE3

Description

When the operation status is Pending currently, change the status to Standby with
AT+BTCANCEL prior to this command.
To take effect of this command, ATZ or power off and on.

Reference

AT+BTINFO?

Example

AT+BTMODE,2

OK

ATZ

12 +++

SD Response

OK

Purpose

Convert the operation status of Connect to Standby

Description

In Connect status, data from host is transmitted to the other side Bluetooth device,
and any AT command is not accepted but this command, which is not echoed on the

screen.
When Promi-SD encounters a cha from host, it stops the data transmission and
waits for next 2 characters. If the next 2 characters aren t both + , it restart to transmit

data including the first + as well. If not, it converts the operation status to Standby .
If the data from host in++ , it will convert the operation status to Standby
unexpectedly. Notice that Promi-SD holds data transmission when it enco , until
receiving next character.

Summary of Contents for Promi-SD 205-OA

Page 1: ...1 Version 1 0 0 Promi SD 205 OA Bluetooth RS232C Serial Adapter by Bluetooth Enabling Wireless Serial Communications ...

Page 2: ... Netherlands Mr Johan B Bickel Sales Manager Tel 31 0 78 6215900 Fax 31 0 78 6215815 johan ave nl com http www ave nl com For more information and Technical Support please contact Sena Technologies Inc 210 Yangjae dong Seocho gu Seoul 137 130 Korea Tel 82 2 573 5422 Fax 82 2 573 7710 E Mail H TUsupport sena comUT H Website H TU http www sena comUT H ...

Page 3: ... the Controls 7 2 Configurations 12 Operation Modes 12 LED Indicators 12 Serial Ports 12 Reset to Factory Defaults 12 PromiWizardP P 12 PromiWINP P 12 Terminal Program 12 Dip Switch 12 Pairing Button 12 3 Connections 22 RS232 Interface 22 Pin Assignment 22 Power Supply 22 4 Trouble Shooting 25 No Data Transmission 25 Data Loss or Malfunctioning 25 Transmission Delay 25 5 Specifications 27 Bluetoot...

Page 4: ... Copyright 2006 Sena Technologies Inc All rights reserved Appendix A AT Commands 1 Terminology 1 Command Category 1 Command Description 1 Command Validity 1 Appendix B S Register 1 Appendix C Technical Support 1 Appendix D Connection to Omron PLC 1 ...

Page 5: ...re Using the Product 3 Copyright 2006 Sena Technologies Inc All rights reserved Before Using the Product Welcome Copyrights Certification Limited Liability Precautions and Safety General Terms and Conditions of Sale UNWIRED it s easy ...

Page 6: ...tual properties Certification Promi MIC Bluetooth CE FCC TELEC SD205_OA Limited Liability Neither the manufacturer importers nor dealers is responsible for any accidental damage including bodily injury or any damage resulting from misuse or unsuitable operation by you The information on this manual is prepared with the current product specifications The manufacturer Sena Technologies Inc is adding...

Page 7: ...cturing processes certain recyclable materials e g fasteners plastics and the like or remanufactured parts equivalent to new in performance or parts which may have been subject to incidental use However such utilization will not affect any provided Product warranty or published reliability statistics h Remedies Remedies under the above warranties will be limited at Seller s option to the replaceme...

Page 8: ... packed and shipped to Seller specified locations Shipping containers must be clearly marked per Seller s instruction and shipped freight prepaid by Buyer Notwithstanding the foregoing all sales of Open Box Products and any third party branded products are final and do not qualify for non warranty return 12 ORDER CANCELLATION Cancellation by Buyer prior to shipment is permitted only by written not...

Page 9: ...romi SD 205 OA User Manual 1 Getting Started 7 Copyright 2006 Sena Technologies Inc All rights reserved 1 Getting Started Features of Promi SD Components Assembly Locating the Controls UNWIRED it s easy ...

Page 10: ...nveniently into any devices or equipments Its detachable antenna of variety optimizes the quality and distance of wireless communications Easy Configuration and Adaptation Promi SD can be configured and controlled by typical AT commands User can easily configure Promi SD on the terminal program such as HyperTerminal and implements the wireless communication without modifying user s existing serial...

Page 11: ...Fig 1 2 Assembly of Promi SD Use of non authorized power adapter is not recommended Components Please check the components of Promi SD in Fig 1 1 when purchasing The picture of product may differ by models The components of the package may change for improving product capacity or quality without notice Assembly Special RS232 Cable Female Female ONLY for PC to PROMI SD202 205 OA connection Part no ...

Page 12: ...A User Manual 1 Getting Started 10 Copyright 2006 Sena Technologies Inc All rights reserved Locating the Controls Front Panel Fig 1 3 Locating the Controls Front Panel Power Jack Back Label Power Switch Reset Button ...

Page 13: ...Promi SD 205 OA User Manual 2 Configurations 11 Copyright 2006 Sena Technologies Inc All rights reserved ...

Page 14: ...tions 12 Copyright 2006 Sena Technologies Inc All rights reserved UNWIRED it s easy 2 Configurations Operation Modes LED Indicators Serial Ports Reset to Factory Defaults PromiWizardP P PromiWINP P Terminal Program Dip Switch Pairing Button ...

Page 15: ... tries to connect the last connected Bluetooth device Promi SD in Mode1 is to be a master and tries to connect the last connected Bluetooth device Promi SD always stores the BD address of the Bluetooth device to which Promi SD has connected last time When Promi SD is initially used or after hardware reset there is no BD address stored in Promi SD In this case Mode1 does not make any sense and mode...

Page 16: ...rate 1200 2400 4800 9600 19200 38400 57600 115200 230400 Data bit 8 Parity No parity Even parity Odd parity Stop bit 1 2 Hardware Flow Control No use The values in box are the factory defaults Data Bit Promi SD supports only 8 data bit In the case of 7 data bit please contact the technical support Reset to Factory Defaults To turn back all the configurations to its factory settings press the reset...

Page 17: ... of SD2 for 2 seconds until Standby LED turns off and Connect LED blinks 3 times every 2 seconds Now press again the Pairing Button for 2 seconds until Connect LED blinks every 0 5 second Wait for SD1 SD2 to be connected for a while until Connect LED s of SD1 and SD2 is lit in green It takes about 10 seconds to make a connection If there are many Bluetooth devices nearby it will take a little bit ...

Page 18: ...l PromiWIN on your computer Plug a Promi SD into the serial port of the computer and turn on the power Run PromiWIN Set each option properly and click Confirm If the settings are different from the host computer error message will pop up If the Promi SD is in the status of connection warning message will pop up Then the current connection can be cancelled by Disconnect button on the main window ...

Page 19: ...ion and Encryption If you check the Authentication option you must also enter the Pin Code value If the authentication is activated the connection only between the Master and Slave device that share the same Pin Code is established In case that Promi SD connects to other Bluetooth device you must enter the other device s Pin Code in Promi SD In general Bluetooth devices 1234 or 0000 is used as a d...

Page 20: ...evice must be in Page scan mode Click Disconnect button to cancel the connection normally After the connectionis established you can test sensitivity through the START button The sensitivity test shows LInkQuality and RSSI values If the LinkQuality approaches to 255 and RSSI approaches to 0 the sensitivity is good In general when the distance is 10 meters the sensitivity is the best You can push t...

Page 21: ...the START button 2 Disconnect the first SD connect the second ESD and then push the Next button after setting up Slave configuration At this time the dip switch value should be ATcommand mode 3 Disconnect the second SD once again connect the first ESD and then push the Finish button The pairing configuration finished Make sure that each SD s connect LED is on From now when the SD restarts the pair...

Page 22: ...erminal program This manual will explain the method using HyperTerminal If you need to install HyperTerminal click start setting control panel add remove programs For more precise information please refer to Help of Microsoft Windows Attach Promi SD to serial port of PLC and power on Check Status LED Promi SD202 205 OA or Standby LED Promi SD205 is lit in green Launch HyperTerminal It can be found...

Page 23: ...the response Promi SD sends on the screen You now get the HyperTerminal window where you are able to control Promi SD with AT commands For expanded AT commands that Promi SD provides please refer to Appendix A AT commands Example of AT commands AT BTINFO 000B53000509 PSDv3b 000509 MODE0 STANDBY 0 0 HWFC OK AT BTINQ 000B5320007E PSDv2a 20007E 001F00 0004B300E205 AP2002 1 0 020300 OK ATD000B53000509...

Page 24: ...Promi SD 205 OA User Manual 3 Connections 22 Copyright 2006 Sena Technologies Inc All rights reserved UNWIRED it s easy 3 Connections RS232 Interface Pin Assignment Power Supply ...

Page 25: ...tition From these ideas the RS232 standard was born It specified signal voltages signal timing signal function a protocol for information exchange and mechanical connectors Refer the following site for details http www camiresearch com Data_Com_Basics RS232_standard html DTE DCE If the full EIA232 standard is implemented as defined the equipment at the far end of the connection is named the DTE de...

Page 26: ...e AC DC power adaptor and USB power cable are also available to supply power Through Pin 9 of DB9 connector The power can be supplied through pin 9 of DB9 connector Because Promi SD does not have any protection circuit from surge it must be constant voltage of 5 12V Because SD have a Reset Chip when the power is not adequate SD will restart Special RS232 Cable Female Female ONLY for PC to PROMI SD...

Page 27: ... SD 205 OA User Manual 4 Trouble Shooting 25 Copyright 2006 Sena Technologies Inc All rights reserved UNWIRED it s easy 4 Trouble Shooting No Data Transmission Data Loss or Malfunctioning Transmission Delay ...

Page 28: ... device If your host equipment is DTE plug Promi SD directly to the host equipment or use straight RS 232 cable If your host equipment is DCE use cross over RS 232 cable Null modem cable Data Loss or Malfunctioning Hardware Flow Control When transmitting large data with No use of Hardware Flow Control Promi SD will clear the data buffer unexpectedly This possibility goes higher as the RF transmiss...

Page 29: ...ifications 27 Copyright 2006 Sena Technologies Inc All rights reserved UNWIRED it s easy 5 Specifications Bluetooth Interface Serial Interface Power Mechanical Dimensions Environmental Default Antenna Power Consumption Wireless Coverage ...

Page 30: ... Profile Radio Frequency 2 4 2 4738GHz Number of Channels 79 Transmission Power Class 2 Promi SD200 Data Transmission Rate 380Kbps Max Serial Interface EIA RS232C Standard Connector DB9 female Data Transmission Rate 1 200 230 400bps Hardware Flow Control Off Power DC 5 12V Constant Voltage Supply DC Jack or Pin 6 of DB9 Mechanical Dimensions Environmental Recommended Operational Temperature 20 70 ...

Page 31: ...nquiry Page Scan 64mA Connected as Master device 60mA Connected as Slave device 37mA Connected in Park mode as Master device 33mA Connected in Park mode as Slave device 32mA Connected and Transmitting Data at 9600bps 66mA Connected and Transmitting Data at 115200bps 80mA The power consumption will be increased as the communication distance is getting longer but never exceeds 106 in any case Wirele...

Page 32: ... SD User Manual Appendix A AT Commands A 1 Copyright 2006 Sena Technologies Inc All rights reserved UNWIRED it s easy Appendix A AT Commands Terminology Command Category Command Description Command Validity ...

Page 33: ...essage OK ERROR CONNECT and DISCONNECT Operation Mode Mode0 Waiting for AT commands Mode1 Attempting to connect to the last connected Bluetooth device Mode2 Waiting for the connection from the last connected Bluetooth device Mode3 Waiting for the connection from any other Bluetooth devices Operation Status Standby Waiting for AT commands Pending Executing tasks Connect Transmitting data Security A...

Page 34: ...on 6 7 8 9 10 AT BTINFO AT BTINQ AT BTLAST AT BTVER AT BTRSSI n Mode 11 AT BTMODE n Status 12 13 14 15 16 17 18 AT SETESC nn ATO AT BTCANCEL AT BTSCAN AT BTSCAN n to AT BTSCAN112233445566 to Connection 19 20 21 ATD ATD112233445566 ATH Security 22 23 24 25 26 AT BTKEY string AT BTSD AT BTCSD AT BTFP n AT BTSEC a e Miscellaneous 27 28 AT BTNAME string AT BTLPM n BLUETOOTH Firmware Update 29 AT DFU S...

Page 35: ...ge of Promi SD is cleared completely Reference ATZ 3 AT SD Response OK Purpose Check the connection status with host equipment Description Check if the connection to host equipment is normal The serial parameters of Promi SD must be same as those of host equipment If not SD response is none or ERROR or abnormal sequence of strings Reference AT UARTCONFIG ATZ AT F 4 AT UARTCONFIG Baudrate Parity St...

Page 36: ...e MODE0 MODE1 MODE2 MODE3 Status STANDBY PENDING CONNECT Auth 0 1 Authentication is not activated when 0 Encrypt 0 1 Encryption is not activated when 0 FlowControl HWFC NoFC Reference AT BTNAME AT BTMODE AT BTSEC ATS14 Example 000B530011FF SENA MODE0 PENDING 1 1 HWFC 7 AT BTINQ SD Response 112233445566 FriendlyName CoD 112233445566 FriendlyName CoD 112233445566 FriendlyName CoD OK Purpose Search B...

Page 37: ... n 2 MODE2 n 3 MODE3 Description When the operation status is Pending currently change the status to Standby with AT BTCANCEL prior to this command To take effect of this command ATZ or power off and on Reference AT BTINFO Example AT BTMODE 2 OK ATZ 12 SD Response OK Purpose Convert the operation status of Connect to Standby Description In Connect status data from host is transmitted to the other ...

Page 38: ... AT SETESC 15 AT BTCANCEL SD Response OK Purpose Terminate a current executing task Description This terminates a current executing task such as Inquiry scan and Page scan then converts the operation status to Standby Reference AT BTSCAN ATD AT BTINQ 16 AT BTSCAN SD Response OK CONNECT 112233445566 Purpose Wait for inquiry and connection from other Bluetooth devices Description This allows the inq...

Page 39: ...o SD Response OK CONNECT 112233445566 or OK ERROR Purpose Wait for connection by the Bluetooth device with given BD address Parameters 112233445566 BD address to time duration in seconds Description For the given to Promi SD is waiting for the connection from the Bluetooth device with the given BD address If the parameter of to is 0 it will wait forever When connection is made with the Bluetooth d...

Page 40: ...o detect an abnormal disconnection such as power off and moving out of service range Reference ATD AT BTSCAN 22 AT BTKEY string SD Response OK Purpose Change pin code Parameters string New pin code Default 1234 Description Pin code is a string which allows 16 alpha numeric characters maximum Based on this pin code Promi SD generates a link key which is used in actual authentication process Referen...

Page 41: ...ntication and data encryption Parameters Authentication 0 Inactivate Default Authentication 1 Activate Encryption 0 Inactivate Default Encryption 1 Activate Description If the authentication is activated the pin code must be set by AT BTKEY command Data encryption cannot be used when authentication is not activated i e Authentication 0 and Encryption 1 is not valid Reference AT BTCSD AT BTFP AT BT...

Page 42: ...on All parameters are stored at S register in flash memory These values are sustained until hardware reset Reference ATS 31 ATSnn SD Response value OK Purpose Display a given S register Parameters nn Address of S register Description A specific S register is displayed Reference AT V 32 ATSnn mm SD Response OK Purpose Change S register value Parameters nn Address of S register mm New value of S reg...

Page 43: ...3445566 ATD AT BTSCAN AT BTSCAN n to AT BTSCAN112233445566 to AT BTCANCEL AT SETESC ATO ATH AT BTSEC Auth Encr AT BTLAST AT BTMODE n AT BTNAME Name AT BTKEY nnnn AT BTINFO AT BTLPM n AT BTSD AT BTCSD AT BTFP n AT UARTCONFIG b p s SD205 AT USEDIP AT BTVER AT DFU AT BTRSSI n Valid only when Promi SD is not connected to other Bluetooth device Valid only when Promi SD is connected to other Bluetooth d...

Page 44: ...Promi SD User Manual Appendix B S Register B 1 Copyright 2006 Sena Technologies Inc All rights reserved UNWIRED it s easy Appendix B S Register ...

Page 45: ...r But if the packet length is more than 100 bytes throughput oriented way is recommended Also if you want to use high baudrate throughput oriented way is more effective Just for reference the buffer length for receiving is 2 Kbytes S4 Enable Remote Name Query default 1 S4 0 Promi SD inquires only BD address This speeds up the inquiry process S4 1 Promi SD inquire BD address device name and class o...

Page 46: ...d when DTR signal drops or not If this value is 1 you can use DTR signal in order to disconnect Bluetooth connection S22 Fast Connect default 0 S22 0 none S22 1 page scan S22 2 inquiry scan S22 3 page inquiry scan S24 Maximum Number of Inquiry Result default 10 The maximum number of inquiry list can be controlled This value is up to 15 S28 Escape Sequence Character default 43 The decimal number of...

Page 47: ...Promi SD User Manual Appendix B S Register B 4 Copyright 2006 Sena Technologies Inc All rights reserved This saves the BD address of the Bluetooth device connected most recently ...

Page 48: ...Promi SD User Manual Appendix C Technical Support C 1 Copyright 2006 Sena Technologies Inc All rights reserved UNWIRED it s easy Appendix C Technical Support ...

Page 49: ... 2 573 7710 NOTE Before you contact technical support please have a look at our FAQ Chances are you will find an instant answer to your problem indicates a required field User Contact Information Name Company E mail Phone Fax Overall Hardware Setup Depict or describe actual hardware connections Host Device to which Promi SD is attached Description Port Parity Baud Rate Stop Bits Serial Port Setup ...

Page 50: ... A 8 GND 9 Bluetooth Connection This Promi SD is connected to mark one an another Promi SD a Promi ESD a Promi MSP Model Manufacture others Application S W Environment for RF Communication Distance Obstacles Problems you have Distance is a linear distance between Promi SD and the other side Bluetooth device Obstacles are things affecting RF performance in the middle of Promi SD and the other side ...

Page 51: ...Promi SD User Manual Appendix D Connection to Omron PLC D 1 Copyright 2006 Sena Technologies Inc All rights reserved UNWIRED it s easy Appendix D Connection to Omron PLC ...

Page 52: ...the Promi SD205 OA to a COM port with the serial cable PROMI SD205 OA cable and power it with 5V Start PromiWin Data bits are fixed to 8 Select the correct COM port from the drop down list Select the correct baud rate factory default is 9600 Select the correct parity factory default is None Select the correct stop bits factory default is 1 Press the OK button Select the Device setting icon ...

Page 53: ...or the Promi SD205OA Set a Device Name 16 characters max Tick the Authentication tickbox and set a Password caption sensible Note Password is only saved if the tickbox Authentication is ticked Tick the Encryption tickbox if preferred Click the Apply button to store all the settings in the Promi SD205 OA Close PromiWin Power off the Promi SD205 OA and power it on again Select My Bluetooth places in...

Page 54: ...Promi SD User Manual Appendix D Connection to Omron PLC D 4 Copyright 2006 Sena Technologies Inc All rights reserved Double click on the Find Bluetooth Devices icon ...

Page 55: ...i SD User Manual Appendix D Connection to Omron PLC D 5 Copyright 2006 Sena Technologies Inc All rights reserved Double click on the device you want to connect to Double click on the General Serial on icon ...

Page 56: ...chnologies Inc All rights reserved Select the call out box that appears Enter the Password caption sensible Connection is established A message is shown what virtual COM port is used for the Bluetooth connection or double click on the generic serial icon and select the properties tab ...

Page 57: ...reserved Configure the PLC for PC to PLC connection by Bluetooth Start CX Programmer and set the PLC settings the same as settings of the Promi SD205 OA via the PLC settings in CX P Transfer the settings to the PLC Disconnect from the PLC Change the settings of the PLC to the settings of the Bluetooth device ...

Reviews: