background image

Chengdu Ebyte Electronic Technology Co.,Ltd.

E104-BT02 User Manual

Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.

8

5.12 Air configuration

The module supports the air configuration function. After the Bluetooth connection is established in the slave state, the host can

access the "BLE DATA CONFIG" feature value under the transparent transmission service (FFF0). The configuration steps are as
follows:

1

)、

In the air configuration login authentication, send the command <PWDXXXXXX>, where XXXXXX is the login password,

the default is 123456, and return <OK> after success.

2

)、

The parameter configuration is executed, and the command is consistent with the serial port configuration command.

3

)、

Disconnect the Bluetooth connection.

Description

1

)、

After the <PWDXXXXXX> command fails, the current login status will be exited immediately. That is, the configuration

operation needs to be resumed after the login is successful.

2

)、

After the <RESTORE> command is executed, the login password is restored to the default settings.

6 Operating Instruction

Warning: Make sure the module is in wake-up mode and enters configuration mode before sending operating instruction or it is

unable to receive any configuration instruction.

Description

1

Instruction format: the format for all operation instruction uses prefix sign ‘<’and suffix sign ‘>’,

instruction format is

<instruction>

For example, for transmitting and receiving baud rate of serial port the format is <COMBAUD>
2

Instruction returning

Returning value

Description

INVALID_ERR

Unrecognized instruction

HT_ERR

Unrecognized instruction or lack of prefix/suffix sign of instruction

LEN_ERR

Parameter length out of range

OK

Correct execution

3

Factory parameter setting

Others

Baud rate

19200bps

Calibration

NONE

Stop bit

1

Air configuration password

123456

Serial wakeup

Shut Down

Data output indication

Open

Bluetooth packet length

20

Bluetooth binding

Shut Down

Transparent Transmission

service

UUID

16 bits

Transparent Transmission UUID

0xFFF0

BLE DATA BUFF UUID

0xFFF1

CENTER UUID BUFF

0xFFF2

Содержание E104-BT02

Страница 1: ...E104 BT02 User Manual DA14580 BLE4 2 Low Power Bluetooth to Serial Module...

Страница 2: ...11 Beacon data switchable 7 5 12 Air configuration 8 6 Operating Instruction 8 6 1 Module reset instruction 9 6 2 Restore factory mode 9 6 3 Configuration instruction for baud rate of serial port 9 6...

Страница 3: ...timeout 16 6 37 Disconnect present connection 16 6 38 Inquire Bluetooth connecting state 16 6 39 Inquire local MAC address 17 6 40 Inquire MAC address of connected devices 17 6 41 Set bonded MAC addre...

Страница 4: ...er entering hibernation 23 6 69 Keep Bluetooth connection after entering hibernation 23 6 70 Air configuration password authentication 23 6 71 Air configuration password update 23 7 UUID description 2...

Страница 5: ...mission is stable and highly efficient In slave mode it supports the data transmission with the baud rate of 19200bps in maximum as the veritable module for transparent data transmission E104 BT02 is...

Страница 6: ...n Type Max Operating voltage V 2 5 3 3 3 6 3 3V ensures output power Communication level V 3 3 For 5V TTL it may be at risk of burning down Operating temperature 40 85 Industrial grade Operating frequ...

Страница 7: ...und 2 NC Reserved 3 P00 Input Mode configuration MOD When low level is inputted module enters configuration mode when high level is inputted module enters transparent transmission mode it contains int...

Страница 8: ...7 P14 Input Role selection To configure the role of the module and it is a slave when a high level is inputted and it is a master when a low level is inputted It contains internal pull up resistance a...

Страница 9: ...the master via Bluetooth channel CENTER DATA BUFF is not for transparent transmission if Bluetooth is connected now and channel BLE DATA BUFF will receive feedback information CONFIG MODE BUSY to ind...

Страница 10: ...evices in a valid area Description MAC address bonding can help to realize directional connection in complex conditions For example there are several slaves in a valid scanning area for a master devic...

Страница 11: ...e can be configured with ADVDATA and IBACON respectively and the normal broadcast data and Ibeacon broadcast data After the broadcast is enabled the module uses the configured broadcast gap as a fixed...

Страница 12: ...ul 2 After the RESTORE command is executed the login password is restored to the default settings 6 Operating Instruction Warning Make sure the module is in wake up mode and enters configuration mode...

Страница 13: ...ption BAUDxxx To configure baud rate assigned by xxx ASCII code and optional baud rate includes 4800 9600 19200 38400 57600 115200 256000 BLE DATA CONFIG 0xFFF3 Slave Broadcast function Open Module na...

Страница 14: ...bits specified by x ASCII code optional 1 and 2 stop bits When succeed return to OK Special note This configuration is saved immediately but only takes effect after exiting configuration mode 6 6 Rea...

Страница 15: ...tes hex assigned by xxx update data in the next broadcasting period and clear data if it is not assigned by xxx Length of broadcasting data is out of range return to RANGE_ERR when succeed return to O...

Страница 16: ...ned by xxx update broadcasting data in the next broadcasting period when disconnected and update after interruption when connected Length of device name is out of range return to RANGE_ERR when succee...

Страница 17: ...r example if software version number is VER1 0 return to SVER1 0 6 21 Set hardware version number Instruction Description HARDxxx Set hardware version number of max 18 bytes ASCII code assigned by xxx...

Страница 18: ...de which is the same as the MAC address by default When the data length is out of range it returns RANGE_ERR when succeed return to OK For example SYSID0102030405060708 OK 6 26 Inquire System ID Instr...

Страница 19: ...necting gap Instruction Description CONMAXxxx Set max connecting gap assigned by xxx ASCII code ranging from 6 to 3200 i e from 7 5ms to 4s correspondingly If parameter is out of range return to RANGE...

Страница 20: ...s to 32s correspondingly If parameter is out of range return to RANGE_ERR when succeed return to OK 6 36 Read connecting timeout Instruction Description CTIMEOUT Set connecting timeout configuration F...

Страница 21: ...ex is the MAC address of connected devices in disconnected state return to DISCONNECTED 6 41 Set bonded MAC address Instruction Description BONDMACxxx Set MAC filtered address with 6 bytes assigned by...

Страница 22: ...eed return to OK NOTE 1 This instruction is only valid for master It is not available for slave and return to INVALID_ERR 2 If the master is connected return to CONNECTED which means scanning is stopp...

Страница 23: ...de x ranges from 10 to 10000 to set the scanning gap and the range is 10ms 10s If parameter is out of range return to RANGE_ERR When succeed return to OK 6 50 Inquiry scan gap Instruction Description...

Страница 24: ...n Description RSSI Read the RSSI value 1 byte hex in the connected state return Rx x represent the RSSI value Note 1 The RSSI is valid only when the connection is established and the connection is not...

Страница 25: ...or 16 bytes This command mainly configures the UUID of BLE DATA BUFF and is updated on the next connection After the data length is out of range return RANGE_ERR When succeed return to OK 6 60 Set TXU...

Страница 26: ...vice roles master return to CENTER slave return to SLAVER 6 64 Serial Wake up open Instruction Description COMWKPON Open the serial port software wake up switch When succeed return to OK 6 65 Serial W...

Страница 27: ...ISBEFSLPOFF Keep the Bluetooth connection after the device goes to sleep When succeed return to OK 6 70 Air configuration password authentication Instruction Description PWDxxx The parameter consists...

Страница 28: ...A BUFF 0xFFF2 default Read write This channel is for master to transmit data The biggest data length for a single packet is 20 bytes and data more than 20 bytes are to be sent separately The transmitt...

Страница 29: ...transmission from module to master Enter this channel and click Start notification 5 Use COM debugging assistant and transmit character string 1234567890 via module E104 BT02 operating in wake up tra...

Страница 30: ...y Co Ltd 26 7 Fill in and send the data 12345678901234567890 the module E104 BT02 will transmit the received data through the serial port Wireless configuration operation Android operating system host...

Страница 31: ...gdu Ebyte Electronic Technology Co Ltd 27 2 Click W to pop up the identification interface After entering the correct ID it will enter the wireless configuration interface 3 The ID password can be con...

Страница 32: ...e from the power supply transformers high frequency wiring and other parts with large electromagnetic interference Bottom Layer High frequency digital routing high frequency analog routing and power r...

Страница 33: ...nd co channel interference The ground will absorb and reflect wireless radio wave so the performance will be poor when testing near ground Sea water has great ability in absorbing wireless radio wave...

Страница 34: ...Paste Sn63 Pb37 Sn96 5 Ag3 Cu0 5 Preheat Temperature min Tsmin Min preheating temp 100 150 Preheat temperature max Tsmax Max preheating temp 150 200 Preheat Time Tsmin to Tsmax ts Preheating time 60 1...

Страница 35: ...ation Interface Bluetooth Version Size mm Antenna Feature E72 2G4M05S1B CC2640 2 4G 5 I O 4 2 17 5 28 7 PCB IPX Hardware resource Secondary development E73 2G4M04S1A nRF52810 2 4G 4 I O 4 2 5 0 17 5 2...

Страница 36: ...CB IPX Hardware resource Secondary development E104 BT01 CC2541 2 4G 0 I O 4 0 14 22 PCB Hardware resource Secondary development E104 BT02 DA14580 2 4G 0 TTL 4 2 14 22 PCB Industry s lowest power cons...

Страница 37: ...ronic Technology Co Ltd 33 13 Package Revision history Version Date Description Issued by 1 0 2016 12 1 Initial version huaa 1 1 2017 6 12 Content update huaa 1 2 2018 8 4 Content update Huaa 1 3 2019...

Страница 38: ...t 2012 2019 Chengdu Ebyte Electronic Technology Co Ltd 34 About us Official hotline 4000 330 990 Tele 028 61399028 Support support cdebyte com Website https www cdebyte com Address Building B5 Mould I...

Отзывы: