background image

Table of Tables 

Table of Tables 

Table 1: eb505 Error Codes.................................................................................................... 45

 

Table 2: eb505 Operating Parameters.................................................................................... 47

 

Table 3: eb505 Dimensions .................................................................................................... 48

 

Table 4: eb505 Pin out Description......................................................................................... 49

 

 

Page iv

 

 EmbeddedBlue 505 User Manual  

Содержание EmbeddedBlue 505

Страница 1: ...EmbeddedBlue 505 User Manual...

Страница 2: ...istered trademarks of their respective holders The information contained in this document is subject to change without notice A7 Engineering Inc and its staff make no warranty of any kind for the corr...

Страница 3: ...ections 9 Command Set 11 Command Basics 11 Connect 12 Delete Trusted Device 13 Disconnect 14 Get Address 15 Get Connectable Mode 16 Get Encrypt Mode 17 Get Escape Character 18 Get Flow Control 19 Get...

Страница 4: ...8 Switch to Command Mode 39 Version 40 Firmware Upgrade 41 Upgrading the eb505 Firmware 41 Error Codes 45 Technical Specifications 47 Operating Parameters 47 Dimensions 48 Pin out 49 Frequently Asked...

Страница 5: ...Table of Figures Table of Figures Figure 1 eb505 Module 9 Figure 2 eb505 Dimensions 48 EmbeddedBlue 505 User Manual Page iii...

Страница 6: ...Table of Tables Table of Tables Table 1 eb505 Error Codes 45 Table 2 eb505 Operating Parameters 47 Table 3 eb505 Dimensions 48 Table 4 eb505 Pin out Description 49 Page iv EmbeddedBlue 505 User Manual...

Страница 7: ...een two eb505 modules or an eb505 module and a standard Bluetooth v1 1 v1 2 or v2 0 device Devices can be dynamically discovered and connected in an ad hoc manner Manual Conventions Below is a list of...

Страница 8: ...forum htm When you visit the forum you can search through previously asked questions for information or post new ones The forum is monitored by A7 Engineering employees so that your question will be a...

Страница 9: ...an application This means that it encompasses not only wireless communications but also service advertisement addressing routing and a number of application level interfaces referred to as profiles Bl...

Страница 10: ...ere are a number of details that are hidden by the apparent simplicity of the stack Specifically there are a number of profiles that sit roughly on top of the L2CAP layer that provide much of the powe...

Страница 11: ...11b devices and slow Wi Fi data transmission rates The Bluetooth SIG and its member companies have put a lot of effort into coexistence solutions for these two standards and are very committed to ensu...

Страница 12: ...closed When security is turned off connection attempts will be allowed from all remote devices When security is set to open connections are only allowed from trusted devices but new devices can become...

Страница 13: ...here are a number of commands that can be sent to change the baud rate locate other devices that are in range check the firmware version etc All commands are sent using visible ASCII characters 123 is...

Страница 14: ...manual for the syntax of the reset command Switching between Data Mode and Command Mode When a Connection command is issued the eb505 attempts to establish a connection to the device with the address...

Страница 15: ...cted directly to 0 1 breadboards and 10 x 2 sockets All of the required connections are contained on header CN1 In the diagram below Pin 1 of connector CN1 is marked with a white dot Figure 1 A full d...

Страница 16: ...Hardware Connections This page intentionally left blank Page 10 EmbeddedBlue 505 User Manual...

Страница 17: ...returns an ACK string not the ACK character 0x06 otherwise a NAK string is returned Following the ACK or NAK string is a carriage return 0x0D character If an error occurs while processing the command...

Страница 18: ...eout CR Parameters address The Bluetooth address of the remote device The Bluetooth device address is the 48 bit IEEE address which is unique for each Bluetooth unit The format of a Bluetooth device a...

Страница 19: ...ecifying the keyword all Syntax del trusted all address CR Parameters all This parameter is used to remove all devices from trusted status address The Bluetooth address of the device that should be re...

Страница 20: ...Command Set Disconnect The disconnect command closes the connection with the remote Bluetooth device Syntax dis CR Example dis CR ACK CR Page 14 EmbeddedBlue 505 User Manual...

Страница 21: ...e device Syntax get address CR Returns The unique address of the local EmbeddedBlue device used to identify the module when making connections In Bluetooth terminology this is the Bluetooth Device Add...

Страница 22: ...get connectable CR Returns The current connectable mode setting of the local EmbeddedBlue device In Bluetooth terminology the returned value reflects the current setting for page scan on The device w...

Страница 23: ...mbeddedBlue modules use 56 bit encryption but 128 bit encryption is available upon request Contact A7 Engineering for more information about getting 128 bit encryption Syntax get encrypt CR Returns Th...

Страница 24: ...ter command returns the current character used in the Switch to Command Mode command to instruct the EmbeddedBlue device to leave Data Mode and enter Command Mode Syntax get escchar CR Example get esc...

Страница 25: ...ured for no flow control and both the RTS and CTS lines are configured as high Z inputs An application is free to use these lines as normal I O hardware The EmbeddedBlue device is configured for hardw...

Страница 26: ...en if the remote device disappears This timeout also has an effect on how robust the communications link is to interference If this value is set very low the link may be lost if interference picks up...

Страница 27: ...that is transmitted when a remote device performs an Inquiry and then requests the device name If you look for local Bluetooth devices from a PC or PDA this is the value that will be displayed to the...

Страница 28: ...owed to establish connections For maximum security it is recommended that the module be operated in closed mode whenever possible Note The Security mode is not applicable if connectable mode is set to...

Страница 29: ...by other Bluetooth devices Syntax get visible CR Returns The current visible mode setting of the module In Bluetooth terminology the returned value reflects the current setting for inquiry scan on Th...

Страница 30: ...ription of each command Syntax hlp command CR Parameters command The EmbeddedBlue command name con del dis get lst rst set and ver for which to return help Examples hlp CR ACK CR Help Information CR h...

Страница 31: ...a list of between zero and twenty five addresses When security is set to open new devices can be added to this list by presenting the proper passkey while establishing a new connection Syntax lst tru...

Страница 32: ...tional carriage return to the module Syntax lst visible timeout CR Parameters timeout An optional parameter used to abort the list request after the specified number of seconds The default value is 30...

Страница 33: ...cause serial communications to be lost after the command is issued To reestablish communications with the module simply adjust the baud rate on the microprocessor serial port to match the module defau...

Страница 34: ...d Set Return to Data Mode The return to data mode command instructs the module to enter Data Mode when there is an active connection Syntax ret CR Example ret CR ACK CR Page 28 EmbeddedBlue 505 User M...

Страница 35: ...ue Valid baud rates are 9600 default 19200 38400 57600 115200 and 230400 Once the baud rate has been set applications such as HyperTerminal must also be configured to the same baud rate to continue co...

Страница 36: ...d controls the setting for page scan Syntax set connectable on off CR Parameters on Configures the module so that other Bluetooth devices may establish a connection off Configures the module so that o...

Страница 37: ...bit encryption but 128 bit encryption is available upon request Contact A7 Engineering for more information about getting 128 bit encryption Syntax set encrypt on off CR Parameters on Configures the m...

Страница 38: ...d enter Command Mode The factory default escape character is the plus sign Syntax set escchar character CR Parameters character The character the module should recognize as the escape character used i...

Страница 39: ...nd both the RTS and CTS lines are configured as high Z inputs This allows an application to use these lines a normal I O hardware Configures the module for hardware flow control The RTS line is used f...

Страница 40: ...interference picks up for several seconds such as when a heavy burst of 802 11 traffic is encountered In Bluetooth terminology this command controls the setting for link supervisor timeout Syntax set...

Страница 41: ...or local Bluetooth devices from a PC or PDA this is the value that will be displayed to the user Syntax set name value CR Parameters value A new device name This value can be up to 32 characters in le...

Страница 42: ...is value should be changed to enhance security It is recommended that you use a passkey that is 8 to 16 digits long Syntax set passkey value CR Parameters value A new passkey value that is between 1 a...

Страница 43: ...lowed to establish connections For maximum security it is recommended that the module be set to closed mode whenever possible Syntax set security off open closed CR Parameters off Turns security off a...

Страница 44: ...setting for inquiry scan Syntax set visible on off CR Parameters on Configures the module so that other Bluetooth devices can detect its presence off Configures the module so that other Bluetooth dev...

Страница 45: ...default escape character is the plus sign A different escape character can be set by using the Set Escape Character command Example con 00 0C 84 00 07 D7 CR Command Mode ACK CR This text is sent in d...

Страница 46: ...x ver all CR Parameters all An optional parameter used to return the build number model number serial number and manufacturer Example ver all CR ACK CR Firmware Version 2 0 CR Firmware Build 247 CR Mo...

Страница 47: ...obtained from the A7 Engineering web site Step 1 1 2 Step 2 1 Install the EmbeddedBlue DFU Utility In this step we will install the EmbeddedBlue DFU utility onto your PC To execute this step you must...

Страница 48: ...se the terminal emulator Run the EmbeddedBlue DFU Wizard In this step we will step through the EmbeddedBlue DFU Wizard and upgrade the firmware of the eb505 module Launch the EmbeddedBlue DFU Wizard F...

Страница 49: ...ed If the Upgrade Failed dialog appears click Details to get additional information about the failure Ensure that the eb505 is correctly inserted into the RS232 Adapter that the RS232 Adapter is conne...

Страница 50: ...Firmware Upgrade ACK Firmware Version 2 0 Firmware Build 247 Model Number eb505 Serial Number 1008 Manufacturer A7 Engineering 3 Close the terminal emulator Page 44 EmbeddedBlue 505 User Manual...

Страница 51: ...ypically seen with older Bluetooth devices that may have errors in their firmware 6 Connection attempt failed due to a timeout 7 Connection attempt was refused by the remote device This error typicall...

Страница 52: ...Error Codes This page intentionally left blank Page 46 EmbeddedBlue 505 User Manual...

Страница 53: ...Temp 15 to 70 C Supply Power 5 to 12VDC Current Consumption 115 2kbps data transfer 35mA 38 4kbps data transfer 30mA 9 6kbps data transfer 25mA connected and idle 8mA no connection 3mA Interfaces 5V T...

Страница 54: ...n Table 3 Please reference Figure 2 to locate the referenced dimension on the eb505 Figure 2 eb505 Dimensions Dimension inches mm A 1 54 39 00 B 1 77 44 90 C 0 17 4 23 D 0 27 6 78 E 1 02 25 90 F 0 45...

Страница 55: ...e to eb505 Required CN1 8 Status TTL Bluetooth connection status 0 not connected 1 connected Required CN1 10 Mode TTL Command data mode toggle 0 command 1 data Required CN1 12 RTS TTL Request to Send...

Страница 56: ...Technical Specifications This page intentionally left blank Page 50 EmbeddedBlue 505 User Manual...

Страница 57: ...again Verify that the visible mode setting in the eb505 is set to on Question I can discover my eb505 but why am I unable to establish a connection Answer Verify that the connectable mode setting in...

Страница 58: ...ated the eb505 module before making it invisible the PC will remember the device even though it can no longer be seen These results are typically only cached until the Bluetooth stack is reset so if y...

Страница 59: ...n A7 provides several levels of support for OEM product integration certification and even custom solutions Website www a7eng com Support Email support a7eng com Online Forum http www a7eng com suppor...

Отзывы: