background image

Chengdu Ebyte Electronic Technology Co.,Ltd.

E104-BT02 User Manual

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

7

APP communication, meet more customization requirements, and is more practical.

5.10 Bluetooth sniffing

The module supports the Bluetooth sniffing function in the host state. In the host configuration mode, the command

<STARTSNIF> turns on the Bluetooth sniffing. The module automatically sniffs the surrounding Bluetooth broadcast data packet and
outputs the acquired Bluetooth information through the serial port. The output format is MAC (6 bytes) +RSSI (1 byte) a total of 7
bytes of hexadecimal data. (Special note: This function is valid in both master and slave modes, and it has nothing to do with whether
Bluetooth is connected or not. That is to say, the sniffing function is enabled in the Bluetooth connection state.)

Description:

1) The sniffing function is valid only in the Bluetooth host role and the configuration mode.
2) The broadcast packet sniffing speed can be configured by the command <SCANGAP>/<SCANWN>. The shorter the gap, the

larger the window and the faster the sniffing response.

5.11 Beacon data switchable

The slave module 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 interval and broadcasts
3 ordinary broadcast data packets each time, switch broadcast 3 Ibeacon broadcast packets, and loop. This function realizes
synchronous transmission of ordinary broadcast and Ibeacon broadcast, which can achieve seamless connection effect.

In addition, the command <ADVSUST> can be configured as a broadcast non-switching function, that is, the ibeacon and the

normal beacon switch broadcast mechanism are turned off, and the broadcast mode is set to a fixed broadcast mode.

The default factory configuration enables Beacon data switching mode.

Description

1

)、

Ibeacon data format is as follows

Ibeacon Data

0-8

9-24

25

26

27

28

29

Ibeacon Prefix

9bytes

UUID

16bytes

Major Number

2bytes

Minor Number

2bytes

Tx Power

1bytes

Ibeacon Prefix:Specific byte
UUID

Used to distinguish the ID numbers of the same Beacon device. The same group device uses the same ID number.

Major

Used to mark related Beacons as a group

Minor

ID number of each device

Tx Power

The measured signal strength value of 1 meter can be used for ranging.

2

)、

Normal broadcast packet format

0-3

4-N

03 03 FFF0

Manufacture DATA

3

)、

Fixed broadcast packet format

N

Manufacture DATA

Содержание 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...

Отзывы: