SENA TECHNOLOGIES PARANISD1000 Users Manual

Parani-SD1000
User Guide
Version 1.0.0
1
User Guide for the Parani-SD1000
Version 1.0.0 Firmware version 1.0.X Last revised on May, 9, 2008 Printed in Korea
Copyright
Copyright 2008, Sena Technologies, Inc. All rights reserved. Sena Technologies reserves the right to make changes and improvements to its product without providing notice.
Trademark
Parani™ is a trademark of Sena Technologies, Inc. Windows® is a registered trademark of Microsoft Corporation. Ethernet® is a registered trademark of XEROX Corporation.
Notice to Users
When a system failure may cause serious consequences, protecting life and property against such consequences with a backup system or safety device is essential. The user agrees that protection against consequences resulting from system failure is the user's responsibility. This device is not approved for life-support or medical systems. Changes or modifications to this device not explicitly approved by Sena Technologies will void the user's authority to operate this device.
Precautions and Safety
Electricity
Use only the supplied AC adapter. Use of unauthorized power adapter is not recommended. Electrical shock may result. Do not kink or crease the power cable or place heavy objects on the power cable. Fire can result from damaged power cables. Do not handle power plug and adapter with wet hands. Electrical shock may result. Immediately power off the product and unplug the AC adapter if smoke or odors emit from the product and adapter. Fire can result from improper use. Immediately power off the product and unplug the AC adapter if water or other liquids are present. Fire can result from improper use.
Product
Parani-SD meets the RS-232 standards. Do not wire with non-standard products. Damage to your products may result from improper use. Do not drop or subject the device to impact. Damage to your products may result from improper use. Keep away from harsh environments including humid, dusty, and smoky areas. Damage to your products may result from improper use. Do not use excessive force on the buttons or attempt to disassemble the device. Damage to your products may result from improper use. Do not place heavy objects on the product. Damage to your products may result from improper use.
Technical Support
Sena Technologies, Inc. 210 Yangjae-dong, Seocho-gu Seoul 137-130, Korea Tel: (+82-2) 573-5422 Fax: (+82-2) 573-7710 E-Mail: support@sena.com Website: http://www.sena.com
2
Contents
1. Introduction 5
1.1. Overview ....................................................................................................................................5
1.2. Product Specification..................................................................................................................6
2. Getting Started 7
2.1. Panel Layout ..............................................................................................................................7
2.2. Connecting the Hardware ..........................................................................................................7
2.2.1. Connecting Power to Parani-SD......................................................................................8
2.2.2. Connecting Device to Parani-SD.....................................................................................8
Appendix A: Connections 오류! 책갈피가 정의되어 있지 않습니다.
A.1. Serial Port Pin Outs ...................................................오류! 책갈피가 정의되어 있지 않습니다.
A.2. Serial Wiring Diagram................................................오류! 책갈피가 정의되어 있지 않습니다.
A.2.1. To Host with DTE Interface..............................오류! 책갈피가 정의되어 있지 않습니다.
A.2.2. To Host with DCE Interface.............................오류! 책갈피가 정의되어 있지 않습니다.
Appendix B: AT Commands 9
B.1. Terminology................................................................오류! 책갈피가 정의되어 있지 않습니다.
B.1.1. A T Command...................................................오류! 책갈피가 정의되어 있지 않습니다.
B.1.2. A T Response ...................................................오류! 책갈피가 정의되어 있지 않습니다.
B.1.3. Operation Mode...............................................오류! 책갈피가 정의되어 있지 않습니다.
B.1.4. Operation St atus..............................................오류! 책갈피가 정의되어 있지 않습니다.
B.1.5. Security............................................................오류! 책갈피가 정의되어 있지 않습니다.
B.1.6. Symbols...........................................................오류! 책갈피가 정의되어 있지 않습니다.
B.2. Command Category...................................................오류! 책갈피가 정의되어 있지 않습니다.
B.3. Command Description ...............................................오류! 책갈피가 정의되어 있지 않습니다.
B.3.1. A TZ ................................................................................................................................9
B.3.2. A T&F ..............................................................................................................................9
B.3.3. A T...................................................................................................................................9
B.3.4. A T+UARTCONFIG,Baudrate,Parity ,S topbit ...................................................................9
B.3.5. A T+USEDIP? ...............................................................................................................10
B.3.6. A T+BTINFO? ...............................................................................................................10
B.3.7. A T+BTINQ? .................................................................................................................10
B.3.8. A T+BTLAST?...............................................................................................................10
B.3.9. A T+BTVER? ................................................................................................................11
B.3.10. A T+BTMODE,n ..........................................................................................................11
B.3.11. +++.............................................................................................................................11
B.3.12. A T+SETESC,nn .........................................................................................................11
B.3.13. A TO............................................................................................................................12
B.3.14. A T+BTCANCEL .........................................................................................................12
B.3.15. A T+BTSCAN..............................................................................................................12
B.3.16. A T+BTSCAN,n,to.......................................................................................................12
B.3.17. A T+BTSCAN1 12233445566,to..................................................................................13
B.3.18. A TD ............................................................................................................................13
B.3.19. A TD1 12233445566 ....................................................................................................13
B.3.20. A T A.............................................................................................................................14
B.3.21. A T A1 12233445566 .....................................................................................................14
B.3.22. A TH
B.3.23. A T+BTKEY=$string....................................................................................................14
B.3.24. A T+BTSD?  ................................................................................................................15
B.3.25. A T+BTCSD ................................................................................................................15
B.3.26. A T+BTFP,n.................................................................................................................15
B.3.27. A T+BTSEC,Authentication,Encryption ......................................................................15
B.3.28. A T+BTNAME=$string ................................................................................................16
............................................................................................................................14
3
B.3.29. A T+BTLPM,n .............................................................................................................16
B.3.30. A T+BTRSSI,n ............................................................................................................16
B.3.31. A T&V..........................................................................................................................17
B.3.32. A TSnn?  .....................................................................................................................17
B.3.33. A TSnn=mm ................................................................................................................17
4
1. Introduction
1.1. Overview
Parani-SD is a terminal device for wireless serial communication using Bluetooth technology that is an international standard of short range wireless communications. Parani-SD can communi cate with other Bluetooth devices; user may connect other Bluetooth devices that support the Serial Port Profile.
Parani-SD provides several models with different communication ranges, from 30m up to 100m for various applications.
Parani-SD has a compact design, which allows it to be placed conveniently into various devices or equipment. Its detachable antenna has the ability to optimize the quality and distance of wireless communications.
Parani-SD supports FHSS (Frequency Hopping Spread Spectrum), which is a technique, native to Bluetooth that allows the Parani-SD minimize radio interference while decreasing the likelihood of over-air hijacking. Parani-SD also supports authentication and Bluetooth dat a encryption.
Parani-SD can be configured and controlled by a set of AT commands. Users can easily configure Parani-SD on a terminal program, such as HyperTerminal, and configure for wireless communication without modifying user’s existing serial communication program. User friendly ParaniWIN can also be used for easy setup on Microsoft Windows.
5
1.2. Product Specification
Parani-SD1000
Serial Interface
Bluetooth Interface
Configuration Firmware Update Diagnostic LED
Power Supply Power Consumption Battery Pack Environmental
Physical properties
Serial UART speed up to 921.6kbps CTS/RTS flow control, DTR/DSR for loop-back & full transfer
Bluetooth v2.0 + EDR Profile: Serial Port Profile
Class 1 Working distance: 100 meters ParaniWIN, Modem AT command set ParaniUpdater Power ON
Mode RS232-TX/RX Charging Low Battery
DC5.0V / 2A, 100~240V / 50~60Hz Minimum : 5mA, Maximum : 80mA Li+ 3.7V/250mA Operating temperature: -20'C to 70'C
Storage temperature: -40'C to 85'C Humidity: 90% Non-condensing
Dimension(LxWxH): 68 x 31 x 16 (mm) Weight: 24 g
6
2. Getting Started
This chapter describes how to set up the Parani-SD Series for the first time.
- 2.1 Panel Layout explains the panel layout.
- 2.2 Connecting the Hardware describes how to connect the power, the serial device, and the battery pack to the Parani-SD Series.
Following items are required to get started:
- One DC power adapter, USB power cable or DC power cable (included in the package).
- One PC with RS232 serial port.
- Terminal emulation program running on the PC
2.1. Panel Layout
This section describes the panel layout of the Parani-SD.
Figure 2-1 The panel layout of Parani-SD
2.2. Connecting the Hardware
This section describes how to connect the Parani-SD Series to the serial device.
- Connect a power source to the Parani-SD Series.
- Connect the Parani-SD Series to a serial device.
7
2.2.1. Connecting Power to Parani-SD
Connect the power jack to the power connector of the Parani-SD Series using the DC power adapter, USB power cable or DC power cable that is included in the package. If power is properly supplied, the [Power] lamp will display a solid green color.
Figure 2-2 Connecting Power to Parani-SD
2.2.2. Connecting Device to Parani-SD
Connect the serial device to the Parani-SD Series as shown below.
Figure 2-3 Connecting a Serial Device to Parani-SD
8
Appendix A: AT Commands
A.1.1. ATZ
Response Purpose Description
Reference
A.1.2. AT&F
Response Purpose Description
Reference
A.1.3. AT
OK Software Reset This has the same effects as Powercycling the unit.
This command disconnects any connected Bluetooth device, and stops ongoing tasks. After rebooting, the status will be decided by the preset operation mode. Some AT commands require the ATZ command be run so that the commands can take effect.
A T&F, AT+BTCSD, AT+UARTCONFIG
OK Hardware reset This has the same effect as initialization by pressing the factory reset button.
All parameters are initialized to factory defaults. ATZ
Response Purpose Description
Reference
OK Check the connection status with host equipment Check if the connection to host equipment is operating normally. The serial parameters of
Parani-SD must be same as those of host equipment. If not, the Parani-SD will not respond or ‘ERROR’ message will appear or an abnormal sequence of strings will appear.
AT+UARTCONFIG, ATZ, AT&F
A.1.4. AT+UARTCONFIG,Baudrate,Parity,Stopbit
Response Purpose Parameters
Description
Reference Example
OK Set Serial parameters Baudrate=1200/2400/9600/14400/19200/38400/57600/1 15200/230400 (Default=9600)
Parity=N/E/O (Default=N) Stopbit=1/2 (Default=1)
The Serial parameters can be set or changed only if SW config mode is selected in dip switch. The factory default is 9600, N, 1. To take effect the ATZ command must be used or Powercycle the un it.
AT, ATZ, AT&F, ATS AT+UARTCONFIG,9600,N,1
9
A.1.5. AT+USEDIP?
Response Purpose Description
Reference
m Check the Baud rate set by the dip switch m=0: Dip switches are set to ‘S/W Config’
m=1: Please view the dipswitches to view your baud rate. AT, ATZ, AT&F, ATS
A.1.6. AT+BTINFO?
Response
Purpose Description
1 1 2233445566,DeviceName,Mode,Status,Auth,Encryp,FlowControl OK
Display Bluetooth settings The current Bluetooth settings are displayed including BD address, Device name,
Operation mode, Operation status, Authentication, Data Encryption, and Hardware Flow Control. The initial value of Device name is ‘PSD100v1.1.3-445566’. PSD stands for Parani-SD, v1.1.3 for the version of firmware, and 445566 for the last 6 digits of BD address. Mode=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, A T+BTMODE, AT+BTSEC, ATS14?
A.1.7. AT+BTINQ?
Response
Purpose Description
Reference
1 1 2233445566,FriendlyName,CoD 1 1 2233445566,FriendlyName,CoD 1 1 2233445566,FriendlyName,CoD OK
Search Bluetooth devices nearby The Bluetooth devices in Inquiry scan mode nearby are displayed with their BD addr esses,
Device names, and Class of device. Maximum 15 devices are scanned for 30 seconds. (Default 10 value in S-register 6)
AT+BTSCAN, ATD, AT+BTINFO?
A.1.8. AT+BTLAST?
Response Purpose Description
112233445566 Display the BD address of the last connected device The Bluetooth device last connected to this Parani-SD is displayed with its BD address.
Reference
AT+BTSCAN, A TD, A T+B TINFO?, A T+BTINQ?
10
A.1.9. AT+BTVER?
Response
Purpose Description Reference
SD1000v1.0.0 OK
Display device firmware version Display device firmware version AT+BTINFO?
A.1.10. AT+BTMODE,n
Response Purpose Parameters
Description
Reference Example
OK Set operation mode n=0: MODE0 (Default)
n=1: MODE1 n=2: MODE2 n=3: MODE3
When the operation status is ‘Pending’ currently, chang e the status to ‘Standby’ with AT+BTCANCEL prior to this command. To take effect the ATZ must be executed or Powercycle the unit
AT+BTINFO? AT+BTMODE,2
OK ATZ
A.1.11. +++
Response Purpose Description
Reference
OK Convert the operation status of ‘Connect’ to ‘Standby’ 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 Parani-SD encounters a character ‘+’ 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 includes ‘+++’, it will convert the operation status to ‘Standby’. Notice that Parani-SD holds data transmission when it encounters ‘+’, until receiving next character. ‘+’ is an escape sequence character by default, which is changeable by AT+SETESC.
AT+SETESC, ATO, AT+BTCANCEL
A.1.12. AT+SETESC,nn
Response Purpose
OK Change the escape sequence character
Description
Escape sequence character set to ‘+’ by default is changeable. The parameter nn must be a printable character.
11
Reference
+++, A TO
Example
AT+SETESC,42
A.1.13. ATO
Response Purpose Description Reference
None Convert the operation status of ‘Standby’ to ‘Connect’ You can convert the operation status of ‘Standby’ to ‘Connect’ ready to transmit data. +++, A T+SETESC
A.1.14. AT+BTCANCEL
Response Purpose Description
Reference
OK Terminate the current task This terminates a current executing task, such as Inquiry scan and Page scan, then
converts the operation status to ‘Standby’ AT+BTSCAN, A TD, AT+BTINQ?
A.1.15. AT+BTSCAN
Response
Purpose Description
Reference
OK CONNECT 11223 3445566
Wait for inquiry and connection from other Bluetooth devices This allows the inquiry and connection from the other Bluetooth devices. The operation
status will be in ‘Pending’ after this command. When connection is made and released, the operation status is back set to ‘Pending’. To convert the operation status to ‘Standby’ AT+BTCANCEL must be used. This has the same effect as AT+BTSCAN,3,0. When a connection is made with another Bluetooth device, response will be ‘CONNECT’ with its BD address.
ATD, AT+BTINQ?, AT+BTCANCEL
A.1.16. AT+BTSCAN,n,to
Response
OK CONNECT 11223 3445566
or
OK ERROR
Purpose Parameters
Wait for inquiry and connection from other Bluetooth devices for a given duration n=1: Allows Inquiry scan
n=2: Allows Page scan n=3: Allows both of Inquiry scan and Page scan to= Time duration in seconds
12
Description
For the given to, Parani-SD is waiting for the inquiry and connection from other Bluetooth devices. If the parameter of to is 0, it will wait forever. When connection is made with other Bluetooth device, response will be ‘CONNECT’ with its BD address. If there is no connection made within this time duration, response is ‘ERROR’ and the operation status becomes to ‘Standby’.
Reference Example
ATD, AT+BTINQ?, AT+BTCANCEL AT+BTSCAN,2,30
A.1.17. AT+BTSCAN112233445566,to
Response
Purpose Parameters
Description
Reference Example
OK CONNECT 11223 3445566
or
OK ERROR
Wait for connection by a Bluetooth device with a given BD address 112233445566=BD address
to= time duration in seconds Parani-SD will wait to be connected to by 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 device, response will be ‘CONNECT’ with its BD address. If there is no connection made within this time duration, response is ‘ERROR’ and the operation status becomes ‘Standby’.
ATD, AT+BTINQ?, AT+BTCANCEL AT+BTSCAN000B530011FF,30
A.1.18. ATD
Response
Purpose Description
Reference
OK CONNECT 11223 3445566
or
OK ERROR
Connect to the last connected Bluetooth device Parani-SD saves the BD address of the Bluetooth device most recently connected to.
If it fails to make a connection, response will display an ‘ERROR’. AT+BTINQ?, AT+BTSCAN
A.1.19. ATD112233445566
Response
OK CONNECT 11223 3445566
or
OK ERROR
Purpose Parameters
Connect to a specific Bluetooth device with a given BD address 112233445566 = BD address
13
Description
Parani-SD attempts to connect to the Bluetooth device with the given BD address. To make successful connection, the Bluetooth device must be in Page scan mode. This attempt continues for 5 minutes. If it fails to make connection, response is ‘ERROR ’.
Reference Example
AT+BTINQ?, AT+BTSCAN ATD000B530011FF
A.1.20. ATA
Response
Purpose Description
OK Start ACL Open ACL Connect Success
or ACL Connect Fail
ACL connect to the last connected Bluetooth device If it make connection, response will display an ‘ACL Connect Success’, and if fail to
connection, display ‘ACL Connection Fail’. Must have reboot for new ACL connection.
A.1.21. ATA112233445566
Response
Purpose
OK Start ACL Open ACL Connect Success
or ACL Connect Fail
ACL connect to a specific Bluetooth device with a given BD address
Parameters Description
Example
112233445566 = BD address Parani-SD attempts to ACL connect to the Bluetooth device with the given BD address. To
make successful ACL connection, the Bluetooth device must be in Page scan mode. If it make connection, response will display an ‘ACL Connect Success’, and if fail to connection, display ‘ACL Connection Fail’. Must have reboot for new ACL connection.
ATA000B530011FF
A.1.22. ATH
Response
Purpose Description
Reference
OK DISCONNECT
Release the current connection The current Bluetooth connection will be disconnected. It takes about 30 seconds to detect
an abnormal disconnection such as power off and moving out of service range. ATD, AT+BTSCAN
A.1.23. AT+BTKEY=$string
Response
OK
Purpose Parameters
Change pin code $string= New pin code (Default=1234)
14
Description
Pin code is a string, which allows up to 16 alpha-numeric characters. Based on this pin code, Parani-SD generates a link key which is used in actual authentication process
Reference Example
AT+BTCSD, AT+BTFP, AT+BTSD?, AT+BTSEC, ATZ, AT&F AT+BTKEY=apple
A.1.24. AT+BTSD?
Response
Purpose Description
Reference
112233445566 OK
Display a list of Bluetooth devices sharing the same pin code Once a connection is made with a pin code, Parani-SD saves the Bluetooth device with its
link key, generated by the pin code. The connection to a device listed in Parani-SD can be made automatically without the authentication process. The maximum number kept on the list is 5.
AT+BTCSD, AT+BTFP, AT+BTKEY, AT+BTSEC, ATZ, AT&F
A.1.25. AT+BTCSD
Response Purpose
OK Clear the list of Bluetooth devices sharing the same pin code
Description
Reference
This clears the list of Bluetooth devices linked with the same key in flash memory. To take effect the ATZ command must be used or Powercycle the unit.
AT+BTFP, AT+BTKEY, AT+BTSD?, AT+BTSEC, ATZ, AT&F
A.1.26. AT+BTFP,n
Response Purpose Parameters
Description
Reference
OK Set generation of link key every time of connection n=0: Inactivate (Default)
n=1: Activate If n is set to 1, Parani-SD asks for the pin code every time a connection is made. This can
be used to increase security. AT+BTCSD, AT+BTKEY, AT+BTSD?, AT+BTSEC, ATD, ATZ, AT&F
A.1.27. AT+BTSEC,Authentication,Encryption
Response Purpose
OK Set authentication and data encryption
Parameters
Authentication=0: Inactivate (Default) Authentication=1: Activate Encryption=0: Inactivate (Default) Encryption=1: Activate
15
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 enabl ed, i.e. Authentication=0 and Encryption=1 will not work properly.
Reference
AT+BTCSD, AT+BTFP, AT+BTSD?, AT+BTSD?, ATZ, AT&F
A.1.28. AT+BTNAME=$string
Response Purpose Parameters
Description
Reference Example
OK Change device name $string= New device name (Default=”PSDv1.1.3-445566) Parani-SD can have a user friendly name for easy identification. The name allows up to 30
alpha-numeric characters. A T+BTINFO?, A T+BTINQ? AT+BTNAME=My-Parani-SD
A.1.29. AT+BTLPM,n
Response Purpose Parameters
OK Set low power mode n=0: Inactivate (Default)
n=1: Activate
Description
During no data transmission, Parani-SD can be in low power mode to save the power. It takes a few seconds to wake the Parani-SD out of low power mode.
A.1.30. AT+BTRSSI,n
Response
Purpose Parameters
Description
Example
OK 0,255,0,0 (repeatedly)
Test signal strength n=0: Stop signal strength test
n=1: Start signal strength test When Bluetooth connection is established, you can use this command in Standby status.
The signal strength will be displayed repeatedly in or der of Status, LinkQuality, Status, RSSI. If the LinkQuality is close to 255 and RSSI is close to 0, the signal strength is in good standing.
+++ AT+BTRSSI,1 OK 0,255,0,0
16
A.1.31. AT&V
Response
Purpose Description
Reference
S0:m0;S1:m1; …Sn:mn OK
Display all the S-registers All parameters are stored at S-register in flash memory. The se values are sustained until a
hardware reset. ATS
A.1.32. ATSnn?
Response
Purpose Parameters Description Reference
value OK
Display a given S-register nn= Address of S-register A specific S-register will be displayed. AT&V
A.1.33. ATSnn=mm
Response Purpose Parameters
Description
Reference Example
OK Change S-register value nn= Address of S-register
mm= New value of S-register Some S-registers are optimized for the overall performance and protected and cannot be
changed. When users try to change these S-registers, response is ‘ERROR’. For details of S-register, refer Appendix. B.
AT&V ATS10=0
17
3. Approval Information
3.1 FCC
3.1.1 FCC Compliance Statement
This device complies with part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) This device may not cause harmful interference, and (2) This device must accept any interference received, Including interference that may cause undesired operation
Information to User
This equipment has been tested and found to comply with the limits for a Class B digital device, Pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation.
This equipment generates, uses and can radiate radio Frequency energy and, if not installed and used in accordance with the instructions, may cause harmful interference to radio communications.
However, there is no guarantee that interference will not occur in a particular installation. If this equipment does cause harmful interference to radio or television reception, which can be determined by turning the equipment off and on, the user is encouraged to try to correct the interference by one or more of the following measures:
- Reorient or relocate the receiving antenna.
- Increase the separation between the equipment and receiver
- Connect the equipment into an outlet on a circuit different from that to which the receiver is
connected.
- Consult the dealer or an experienced radio/TV technician for help.
3.1.2. RF Exposure
Statement The equipment complies with FCC RF radiation exposure limits set forth for an uncontrolled environment. This device and its antenna must not be co-located or operation in conjunction with any other antenna or transmitter.
3.1.3. Caution
Any changes or modifications to the equipment not expressly approved by the party responsible for compliance could void user’s authority to operate the equipment.
3.2. CE
3.2.1. EC-R&TTE Directive
EN 50385 / EN 60950 / EN 301 489-1/-17 / EN 300 328
18
Loading...