background image

 

 

12 

3. Configuration 

 
 

3.1. Operation Modes 

 
In  addition  to  the  serial  port  configurations,  the  Parani-ESD  requires  also  includes  some  settings  for 
Bluetooth.  For  getting  the  most  out  of  Parani-ESD,  user  should  understand  the  following  Bluetooth 
connection schemes. 
 
A  Bluetooth  device  can  play  a  role  as  a  master  or  slave.  Master  tries  to  connect  itself  to  other 
Bluetooth  devices,  and  slave  is  waiting  to  be  connected  from  other  Bluetooth  devices.  A  Bluetooth 
connection  is  always  made  by  a  pair  of  master  and  slave  devices.  A  slave  can  be  in  two  modes, 
Inquiry  Scan  or  Page  Scan  mode.  Inquiry  Scan  mode  is  waiting  for  a  packet  of  inquiry  from  other 
Bluetooth  device  and  Page  Scan  mode  is  waiting  for  a  packet  of  connection  from  other  Bluetooth 
device. Every Bluetooth device has its unique address, called BD (Bluetooth Device) address, which is 
composed of 12 hexa-decimal numbers. 
 
Parani-ESD has 4 operation modes as follows:   
 
 

Table 3-1 The Parani-ESD Operation Modes 

 

Mode 

Description 

Mode0 

In this mode, there is no response when power on or software reset, and Parani-ESD is just 
waiting for AT command input. Neither master nor slave is assigned to Parani-ESD in mode0. 
User can change the configuration parameters of Parani-ESD in this mode. 
 
Parani-ESD must be in Mode0, when it is directly controlled by AT commands. 
 
The factory default is set to Mode0. 

Mode1 

Parani-ESD tries to connect the last connected Bluetooth device. 
Parani-ESD in Mode1 is to be a master and tries to connect the last connected Bluetooth 
device. Parani-ESD always stores the BD address of the Bluetooth device to which Parani-
ESD has connected last. When Parani-ESD is initially used or after hardware reset, there is no 
BD address stored in Parani-ESD. In this case, Mode1 will not be able to work properly. The 
mode change to Mode1 can be made after Parani-ESD succeeds to connect to one other 
Bluetooth device. Once changed to Mode1, Parani-ESD will try to connect automatically the 
last connected Bluetooth device whenever the unit is powered on or software reset. 
Parani-ESD in Mode1 cannot be discovered or connected by other Bluetooth devices. 

Mode2 

Parani-ESD is waits for a connection from the last connected Bluetooth device. 
Parani-ESD in Mode2 is to be a slave and waiting for the connection only from the last 
connected Bluetooth device. Just like Mode1, if there is no BD address stored in Parani-ESD, 
the mode change from other operation modes to Mode2 is not work properly. Once changed to 
Mode2, Parani-ESD will wait for the connection from the last connected Bluetooth device 
whenever the unit is powered on or software reset. 
Parani-ESD in Mode2 cannot be discovered or connected to Bluetooth devices other than the 
last connected device. 

Mode3 

Parani-ESD is waiting for the connection from any other Bluetooth devices. In Mode 3 the 
Parani-ESD is discoverable and can be connected to by other Bluetooth devices. 
 

Содержание Parani-ESD100V2

Страница 1: ...Parani ESD100V2 110V2 User Guide Version 2 0 5 2012 01 18...

Страница 2: ...al 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 Electr...

Страница 3: ...h Moon Multiple connection mode V2 0 2 2010 05 04 Yh Moon Add a Parani Multi Wizard V2 0 3 2010 09 03 Yh Moon Update Table 3 3 V2 0 4 2011 01 31 Jh Park Add remote configuration V2 0 4 1 2011 12 26 HR...

Страница 4: ...lti Wizard 24 3 10 ParaniUpdater 25 3 11 Terminal Program 26 4 Multiple Connection Mode 28 4 1 Overview 28 4 2 Configuration 29 4 3 AT Commands 30 4 3 1 AT MULTI n 30 4 3 2 AT MLIST 30 4 3 3 ATHx ATHb...

Страница 5: ...O ATOx ATObdaddr 45 B 3 16 AT BTCANCEL 45 B 3 17 AT BTSCAN 45 B 3 18 AT BTSCAN n to 45 B 3 19 AT BTSCAN112233445566 to 46 B 3 20 ATD 46 B 3 21 ATD112233445566 46 B 3 22 ATA 47 B 3 23 ATA112233445566 4...

Страница 6: ...ower Timeout default 5 55 C 26 S54 BD Address of Last Connected Device 55 C 27 TS55 BD Address of Last Connected Device 55 C 28 S56 BD Address of Last Connected Device 55 C 29 S57 Slave Disconnect Tim...

Страница 7: ...the Parani ESD minimize radio interference while decreasing the likelihood of over air hijacking Parani ESD also supports authentication and Bluetooth data encryption Parani ESD can be configured and...

Страница 8: ...R Profile Serial Port Profile Class 1 Working distance Parani ESD100V2 Nominal 100m Parani ESD110V2 Stub Antenna 1dBi Stub Antenna 1dBi 100 meters Stub Antenna 1dBi Dipole Antenna 3dBi 150 meters Dipo...

Страница 9: ...rial console cable for configuration included in the Starter Kit package One PC with RS232 serial port Terminal emulation program running on the PC 2 1 Panel Layout This section describes the panel la...

Страница 10: ...Figure 2 2 Connecting Parani ESD to Development Board 2 2 2 Connecting Power to Development Board Connect the power plug to the power connector of the Development Board for the Parani ESD using the DC...

Страница 11: ...Development Board Connect the serial data cable between the Development Board and the serial device If necessary supply power to the serial device attached to the Development Board Figure 2 4 Connecti...

Страница 12: ...Mode1 Parani ESD tries to connect the last connected Bluetooth device Parani ESD in Mode1 is to be a master and tries to connect the last connected Bluetooth device Parani ESD always stores the BD add...

Страница 13: ...ESD malfunction consequently In order to prevent this buffer overflow Parani ESD works as follows When using hardware flow control Parani ESD disables RTS so that it stops receiving any further data f...

Страница 14: ...ParaniWIN ParaniWIN is a program that runs on Microsoft Windows for the configuration of Parani ESD Install ParaniWIN on your computer Plug a Parani ESD into the serial port of the computer and turn o...

Страница 15: ...15 Figure 3 2 Main Window Figure 3 3 Information Window...

Страница 16: ...r use In device configuration window hardware reset can be executed or operation mode and RS232 can be configured as well Security option also can be configured in this window Figure 3 5 Device Settin...

Страница 17: ...ion Parani ESD has 4 response messages OK ERROR CONNECT and DISCONNECT In some cases these responses can affect the host system unexpectedly To prevent this user can set the Command response to ON or...

Страница 18: ...the STOP button at anytime in order to terminate the signal strength test The signal strength test will continue until the STOP button is pushed If you close the ParaniWIN Window without pushing the...

Страница 19: ...ample we will refer to the two Parani ESDs as ESD1 and ESD2 respectively To use this menu please do the following Step 1 Connect ESD1 and then push the START button Step 2 Disconnect ESD1 connect ESD2...

Страница 20: ...connection with Bluetooth devices other than Parani ESD use ParaniWIN or AT commands on a terminal program In this example we will refer to the two Parani ESD s as ESD1 and ESD2 respectively Install a...

Страница 21: ...SD1 from the host computer remember to leave the ESD1 powered on Now plug ESD2 into the serial port of the host computer and power on the unit Figure 3 12 ParaniWizard Step 3 Click Wizard Setting butt...

Страница 22: ...uetooth devices for 30 seconds The program will show the Bluetooth devices with Device Address Device Name and CoD Class of Device Figure 3 14 ParaniWizard Step 5 Select the ESD1 from the list and cli...

Страница 23: ...etween ESD1 and ESD2 the proper operation mode of ESD1 and ESD2 have to be set Figure 3 16 ParaniWizard Step 7 Set the operation mode of ESD2 to Mode1 Figure 3 17 ParaniWizard Step 8 Remove the ESD2 f...

Страница 24: ...when the units are turned off and then turned on again they will make an automatic connection to each other 3 9 Parani Multi Wizard Parani Multi Wizard is the software tool for multiple connection mod...

Страница 25: ...from the Slave settings The Auto Fill button will load the existing multiple connection mode settings from the Parani SD ESD connected which can be useful when only some parts of the settings are cha...

Страница 26: ...start setting control panel add remove programs For more precise details on HyperTerminal installations please refer to Microsoft Windows Help section Attach Parani ESD to serial port of host compute...

Страница 27: ...p and select the Echo typed characters locally option For expanded AT commands please refer to Appendix A AT commands Example of AT commands at OK at btinfo 000195000144 ESD100V2_v2 0 0 000144 MODE0 S...

Страница 28: ...e time and they transfer data bi directionally as in Figure 4 1 M S1 S4 S3 S2 Figure 4 2 Node Switching Mode In Node Switching Mode the master unit maintains multiple connections with maximum 4 slave...

Страница 29: ...matic Connection ATD000195000001 CONNECT000195000001 OK ATD000195000002 CONNECT000195000002 OK ATD000195000003 CONNECT000195000003 OK ATD000195000004 CONNECT000195000004 ATS46 000195000001 OK ATS54 00...

Страница 30: ...onnect the slave which belongs to the TASK x ATHbdaddr ATH000195000001 Disconnect the slave with specified BD address 4 3 4 ATOx ATObdaddr Using the ATO command the communication status with the last...

Страница 31: ...tions The master unit would try to connect all slave units specified by S register 46 54 55 and 56 If non existing or inactive slave addresses are entered in these S registers the overall performance...

Страница 32: ...ion which can be determined by turning the equipment off and on the user is encouraged to try to correct the interference by on or more of the following measures Reorient or relocate the receiving ant...

Страница 33: ...Certification No SNA ParaniESD1XXV2 5 4 TELEC Technical Regulations for Specified Radio Equipmen Article 2 Section 1 19 Certification No 010WWBT0022 5 5 SIG QDID B015896 Core Spec Version 2 0 2 0 EDR...

Страница 34: ...y Shift Keying 2Mbps 4 DQPSK pi 4 rotated Differential Quaternary Phase Shift Keying 3Mbps 8DPSK 8 phase Differential Phase Shift Keying 6 5 Radio Output Power Products Radio Output Power Parani ESD10...

Страница 35: ...Input UART Data Input TTL 4 RTS Output UART Ready to Send TTL 5 CTS Input UART Clear to Send TTL 6 VDD Input DC Input 3 0 3 3V Power 7 Pairing Input Pairing Input Active Low TTL 8 DCD Output Bluetooth...

Страница 36: ...air of Parani ESD s like virtual serial cable Note During the pairing process by way of the pairing signal the Command Response will be deactivated Thus the Parani ESD will not send the response messa...

Страница 37: ...op pairing signal Mode3 LOW 3 Inquiry and connect to ESD1 4 Connected Slave HIGH 4 Connected Master A 2 Connection Diagram A 2 1 Parani ESD100V2 110V2 A 2 1 1 When TTL level of MICOM is 3 3V MICOM MIC...

Страница 38: ...RXD CTS RTS RST DTR DSR MICOM TXD MICOM GND VDD GND DCD DC 3 3V PARANI ESD A 2 1 3 When TTL level of MICOM is 5V MICOM MICRO VDD MICOM RXD MICOM CTS MICOM RTS MICOM RST MICOM DTR MICOM DSR TXD RXD CT...

Страница 39: ...39...

Страница 40: ...4 kinds of message OK ERROR CONNECT and DISCONNECT B 1 3 Operation Mode Mode Description Mode0 Waiting for AT commands Mode1 Attempting to connect to the last connected Bluetooth device Mode2 Waiting...

Страница 41: ...ion 5 6 7 8 9 10 AT BTINFO AT BTINQ AT BTLAST AT BTVER AT BTRSSI n AT MLIST Mode 11 12 AT BTMODE n AT MULTI n Status 13 14 15 16 17 18 19 AT SETESC nn ATO AT BTCANCEL AT BTSCAN AT BTSCAN n to AT BTSCA...

Страница 42: ...of Parani ESD must be same as those of host equipment If not the Parani ESD will not respond or ERROR message will appear or an abnormal sequence of strings will appear B 3 4 AT UARTCONFIG Baudrate Pa...

Страница 43: ...um 15 devices are scanned for 30 seconds Default 15 value in S register 24 B 3 7 AT BTLAST Response 112233445566 Purpose Display the BD address of the last connected device Description The Bluetooth d...

Страница 44: ...Purpose Set multiple connection mode Parameters n 0 Single Connection Mode Default n 1 Multi Drop Mode n 2 Node Switching Mode Description Set single connection mode multi drop mode or node switching...

Страница 45: ...This terminates a current executing task such as Inquiry scan and Page scan then converts the operation status to Standby B 3 17 AT BTSCAN Response OK CONNECT 112233445566 Purpose Wait for inquiry and...

Страница 46: ...er 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 E...

Страница 47: ...B 3 24 ATH ATHx ATHbdaddr Response OK DISCONNECT Purpose Release the current connection Description The current Bluetooth connection will be disconnected It takes about Supervision Timeout S37 to det...

Страница 48: ...time of connection Parameters n 0 Inactivate Default n 1 Activate Description If n is set to 1 Parani ESD asks for the pin code every time a connection is made This can be used to increase security B...

Страница 49: ...are reset B 3 33 AT PASS string Response Remote Configuration Enabled Purpose Input password in remote configuration mode Parameters string Password Default 0000 Description Input password for authent...

Страница 50: ...nged When users try to change these S registers response is ERROR For details of S register refer Appendix B Example ATS10 0 B 4 Command Validity AT Command Operation Status Standby Pending Connect AT...

Страница 51: ...BTFP n AT UARTCONFIG b p s h AT BTVER AT BTRSSI n AT PASS nnnnnnnn AT CHPASS nnnnnnnn Valid only when Parani ESD is not connected to other Bluetooth device Valid only when Parani ESD is connected to...

Страница 52: ...rence the buffer length for receiving data is 2 Kbytes C 3 S4 Enable Remote Name Query default 1 S4 0 Parani ESD will query only the BD address This speeds up the inquiry process S4 1 Parani ESD will...

Страница 53: ...ection can be released when DTR signal is off This value decides whether Bluetooth connection is released when DTR signal drops or not If this value is 1 you can use DTR signal in order to disconnect...

Страница 54: ...s set to 5 seconds initially The smaller the value becomes the more quickly Parani SD can detect an abnormal disconnection But when the communication is suspended it may be regarded as disconnection T...

Страница 55: ...ed Device This saves the Task3 BD address of the Bluetooth device connected most recently in a multiple connection mode C 28 S56 BD Address of Last Connected Device This saves the Task4 BD address of...

Страница 56: ...4 0 means the maser unit never connected to a slave The master will connect to a slave whatever responses first C 32 S60 Reconnect Time Interval default 5 This value defines reconnect time interval in...

Страница 57: ...D 2 2 Response Message AT response messages from the Parani ESD may affect the host system unexpectedly Do not use Parani ESD If your applications cannot allow for this wireless time delay D 3 Transmi...

Страница 58: ...GES INCLUDING BUT NOT LIMITED TO DIRECT INDIRECT INCIDENTAL SPECIAL OR CONSEQUENTIAL DAMAGES WHETHER IN AN ACTION IN CONTRACT OR TORT INCLUDING NEGLIGENCE AND STRICT LIABILITY SUCH AS BUT NOT LIMITED...

Страница 59: ...ry component capacity degradation due to usage aging and with some chemistry lack of maintenance E 4 SOFTWARE PRODUCT WARRANTY DETAILS WARRANTY PERIOD SENA warranties software Product for a period of...

Страница 60: ...60 Appendix F How to make a RS232 interface Development Board...

Страница 61: ...61 Appendix G Parani ESD100V2 110V2 PCB mechanical drawing...

Отзывы: