SlideShare a Scribd company logo
1 of 16
Download to read offline


Version 1.0
Copyright © 2017
ESP32 Bluetooth
Networking User Guide
About This Guide
This document provides a guide to using ESP32 in Bluetooth networking for IoT devices
with examples.
This user guide is structured as follows:
Release Note
Chapter Title Content
Chapter 1 Introduction
A brief introduction to Bluetooth networking for IoT devices and
Espressif’s app – EspBlufi app.
Chapter 2
APIs for Networking
Development
Introduction to APIs related to Bluetooth networking on ESP32 end
and the EspBlufi APK end.
Chapter 3
Examples of Bluetooth
Networking with ESP32
Examples of Bluetooth networking for IoT devices via EspBlufi.
Date Version Release notes
2017.03 V1.0 First release.
Content
1. Introduction	 1
.............................................................................................................................
1.1. Overview	 1
....................................................................................................................................
1.2. EspBlufi	 1
......................................................................................................................................
2. APIs for Networking Development	 3
.........................................................................................
2.1. APIs on ESP32 End	 3
....................................................................................................................
2.2. APIs on the EspBlufi APK End	 4
...................................................................................................
3. ESP32 Bluetooth Networking Examples	 5
................................................................................
3.1. Hardware and Software Preparation	 5
..........................................................................................
3.2. Setting ESP32 to Station Mode	 5
.................................................................................................
3.3. Setting ESP32 as a SoftAP	 9........................................................................................................
!
1. Introduction
1. Introduction
1.1. Overview
The ESP32, as a single 2.4 GHz Wi-Fi and Bluetooth combo chip, supports Wi-Fi setups
via both SmartConfig and Bluetooth. Users can use ESP32 for secure configuration of Wi-
Fi networking for IoT devices.
Using Bluetooth for configuring Wi-Fi network presents the following advantages:
• The Bluetooth protocol is open and scalable.
• By using Bluetooth protocol, users can easily discover nearby devices via Bluetooth
beacons.
• The Bluetooth protocol is secure, because the authentication of the device is done
over a secure Bluetooth connection before the password is sent to the device.
• Users can also transmit data over Bluetooth to a smartphone, even when the router
is not working. The phone can then uploads the data to the Internet.
• The phone can now also connect to the Bluetooth device and send commands
directly to control the device if the Wi-Fi network is down.
1.2. EspBlufi
ESP32 is compliant with Bluetooth v4.2 BR/EDR and BLE specifications. Espressif has
developed the app EspBlufi specifically for Bluetooth networking of IoT devices. The app is
supported on Android 4.3 and above. For smartphones of Android 6.0 or above, because
of Google’s modification to the Android API, users must give their permission for access to
their current location and enable the location information module to start the Bluetooth
scanning. EspBlufi is not supported on iOS for the time being.
• EspBlufi can be downloaded via:

https://github.com/EspressifApp/EspBlufi/tree/master/releases
• Open EspBlufi after downloading it. In the user interface as shown in Figure 1-1, click on
the ! icon in the upper right corner.
Espressif ! /!1 13 2017.03
!
1. Introduction
!
Figure 1-1. EspBlufi User Interface
• The “About” button will be shown in the interface.
!
Figure 1-2. About Button
• Click on “About” to check the version of the app. The “Support protocol version” shown
in the interface indicates the BluFi protocol version supported by the app.
Figure 1-3. EspBlufi App Version Information

Espressif ! /!2 13 2017.03
!
2. APIs for Networking Development
2. APIs for Networking
Development
2.1. APIs on ESP32 End
In the program of ESP32, security-related processes such as key establishment are
determined and developed by the users. The app sends the “negotiate data” to ESP32 and
the data packets will be sent to the application layer. If the data is not handled by the
application layer, DH algorithm provided by BluFi can be used to exchange the key. The
application layer needs to register relevant callback functions to BluFi. Table 2-1 provides
description of those functions.
Table 2-1. Security-Related Functions
Function Description
typedef void
(*esp_blufi_negotiate_data_handler_t)
(uint8_t *data, int len, uint8_t
**output_data, int *output_len, bool
*need_free);
• This function is used to receive the “negotiate
data” during key exchange. The data to be sent
should be output by passing the parameters
output_data and output_len to BluFi.
• After BluFi calls negotiate_data_handler,
output_data output by
negotiate_data_handler is sent.
• Since the length of data to be sent is not definite,
**output_data has to malloc a part of
memory or use global variables to release memory
via need_free.
typedef int (*
esp_blufi_encrypt_func_t)(uint8_t iv8,
uint8_t *crypt_data, int cyprt_len);
The length of the encoded and decoded data must
be the same. iv8 in this function means the 8-bit
sequence of the packets. It can be used for eight bits
of the initialization vector.
typedef int (*
esp_blufi_decrypt_func_t)(uint8_t iv8,
uint8_t *crypt_data, int crypt_len);
The length of the encoded and decoded data must
be the same. iv8 in this function means the 8-bit
sequence of the packets. It can be used for eight bits
of the initialization vector.
typedef uint16_t
(*esp_blufi_checksum_func_t)(uint8_t
iv8, uint8_t *data, int len);
The function is used to calculate the checksum.
Calling this function returns the value of checksum.
The returned value will be compared with the
checksum at the end of the packet by BluFi.
Espressif ! /!3 13 2017.03
!
2. APIs for Networking Development
2.2. APIs on the EspBlufi APK End
For SDK classes and related APIs, please refer to Table 2-2.
Table 2-2. SDK Classes for Bluetooth Networking
SDK class Description API
BleScanner
Used for scanning BLE-enabled
devices.
startLeScan(final
BluetoothAdapter.LeScanCallba
ck callback)
• Start scanning for Bluetooth-enabled
devices. LeScanCallback is the
callback for having spotted devices.
stopLeScan(BluetoothAdapter.L
eScanCallback callback)
• Stops the scanning.
BleGattClientProxyImpl
Used for connecting BLE-
enabled devices, and acquiring
Service and Characteristics.
connect(@NonNull String
bleAddr, long timeout)
• Connects to the BLE devices.
discoverCharacteristic(@NonNu
ll BluetoothGattService
gattService, @NonNull UUID
uuid)
• Acquires the Bluetooth GATT
Characteristics.
requestMtu(int mtu, long
timeout)
• Sets the value of MTU (Maximum
Transmission Unit).
close()
• Closes the connection.
BlufiCommunicator
Used for communicating with
BLE-enabled devices.
getVersion()
• Identifies the device’s BluFi version.
negotiateSecurity()
• Negotiates the key with BLE devices.
getStatus()
• Gets the connection status of the
devices.
configure(final
BlufiConfigureParams params)
• Configures the networking mode for
devices.
Espressif ! /!4 13 2017.03
!
3. ESP32 Bluetooth Networking Examples
3. ESP32 Bluetooth Networking
Examples
3.1. Hardware and Software Preparation
• 1 × ESP32 module
• 1 × PC, connected to the module to supply power and print log for ESP32.
• 1 × smartphone (Android 4.3 or above)
• Download and install EspBlufi on the smartphone. Turn on the Wi-Fi and Bluetooth
capabilities on the phone. The link for downloading EspBlufi is

https://github.com/EspressifApp/EspBlufi/tree/master/releases
3.2. Setting ESP32 to Station Mode
1. Power on the module. The following log will be output to the serial port tool:
!
2. Open the EspBlufi app, and refresh the interface by swiping down from the top of the
screen. The nearby Bluetooth-enabled devices will be shown on the screen.
!
Figure 3-1. EspBlufi Interface
Espressif ! /!5 13 2017.03
!
3. ESP32 Bluetooth Networking Examples
3. Click on the ESP32 device in the interface as Figure 3-1 shows, and establish Bluetooth
connection to it. Successful connection will yield the interface shown in Figure 3-2. The
duration marked off with a red box in Figure 3-2 indicates the time needed for the
connection. The BluFi protocol version (which is “V1.0” in this example), and the Wi-Fi
mode (Station/SoftAP/Station+SoftAP) will be shown. So is the device’s connection
status in Station mode (which is “disconnect” in this example), as well as the number of
stations connected in SoftAP mode (which is “0” in the case shown in this example).
!
Figure 3-2. Interface Showing Successful Connection
Meanwhile, the following log will be output to the serial port tool:
!
4. Click on the “CONFIGURE” button to get the dropdown menu for network configuration,
as Figure 3-3 shows:
📖 Note:
If the “CONFIGURE” button is not shown or can not be clicked in the interface of Figure 3-2, it means that
Bluetooth connection has failed.
Espressif ! /!6 13 2017.03
!
3. ESP32 Bluetooth Networking Examples
!
Figure 3-3. Network Configuration Interface
5. Select the device mode from the dropdown menu, as Figure 3-4 shows. (BluFi
networking supports the following three modes: Station, SoftAP, and Station+SoftAP.)
!
Figure 3-4. Selecting Device Mode
6. In the interface shown in Figure 3-5, click on the refresh button ! , and choose the Wi-
FI SSID. Then, enter the password.
Espressif ! /!7 13 2017.03
!
3. ESP32 Bluetooth Networking Examples
!
Figure 3-5. Configuring the Station Mode
7. Click on the ! button to complete the configuration. Successful configuration will
lead to the interface as Figure 3-6 shows. The information marked off with the red box in
Figure 3-6 shows the duration of time needed for connection. The Wi-Fi mode (which is
Station mode in this example) and the connection information (such as the AP’s BSSID
and SSID, as well as the connection status) are also shown.
!
Figure 3-6. Station Connection Information
Meanwhile, the following log will be output to the serial port tool:
Espressif ! /!8 13 2017.03
!
3. ESP32 Bluetooth Networking Examples
!
3.3. Setting ESP32 as a SoftAP
1. Power up the module. Connect the EspBlufi app to ESP32 via Bluetooth. Set the device
mode as SoftAP in the network configuration interface, as Figure 3-7 shows. For details
of doing so, please refer to Steps 1 to 4 in Section 3.2.
!
Figure 3-7. Selecting SoftAP Mode
2. Configure the SoftAP mode, as Figure 3-8 shows. Select the security encryption mode,
channel, and maximum number of Stations to be connected. Enter the SoftAP’s SSID
and password. Click on the ! button to complete the configuration.
Espressif ! /!9 13 2017.03
!
3. ESP32 Bluetooth Networking Examples
!
Figure 3-8. Configuring the SoftAP Mode
3. Success of the SoftAP configuration will lead to the interface as Figure 3-9 shows. The
current Wi-Fi mode and the connection status are shown in the interface.
!
Figure 3-9. SoftAP Connection Information
Espressif ! /!10 13 2017.03
!
3. ESP32 Bluetooth Networking Examples
Meanwhile, the following log will be output to the serial port tool:
!
4. Turn on the smartphone’s Wi-Fi capability. The SoftAP connected can be found in the
WLAN interface, as Figure 3-10 shows.
!
Figure 3-10. The Configured ESP32 SoftAP
5. Connect the smartphone to the ESP32 SoftAP. As shown in Figure 3-11, the prompt
! will appear, indicating that the Wi-Fi is connected.
Espressif ! /!11 13 2017.03
!
3. ESP32 Bluetooth Networking Examples
!
Figure 3-11. Wi Fi Connection Prompt
Meanwhile, the following log will be output to the serial port tool:
!
The ESP32 device is successfully connected to Wi-Fi via Bluetooth networking.
📖 Note:
All values of connection time shown on the EspBlufi app screenshots in this document are provided only as
examples. Connection time is subject to the actual situations.
Espressif ! /!12 13 2017.03
Disclaimer and Copyright Notice
Information in this document, including URL references, is subject to change without
notice.
THIS DOCUMENT IS PROVIDED AS IS WITH NO WARRANTIES WHATSOEVER,
INCLUDING ANY WARRANTY OF MERCHANTABILITY, NON-INFRINGEMENT, FITNESS
FOR ANY PARTICULAR PURPOSE, OR ANY WARRANTY OTHERWISE ARISING OUT
OF ANY PROPOSAL, SPECIFICATION OR SAMPLE.
All liability, including liability for infringement of any proprietary rights, relating to the use of
information in this document, is disclaimed. No licenses express or implied, by estoppel or
otherwise, to any intellectual property rights are granted herein.
The Wi-Fi Alliance Member logo is a trademark of the Wi-Fi Alliance. The Bluetooth logo is
a registered trademark of Bluetooth SIG.
All trade names, trademarks and registered trademarks mentioned in this document are
property of their respective owners, and are hereby acknowledged.
Copyright © 2017 Espressif Inc. All rights reserved.
Espressif IOT Team

www.espressif.com

More Related Content

What's hot

Facebook Messenger начал тестировать end-to-end шифрование на протоколе Signal
Facebook Messenger начал тестировать end-to-end шифрование на протоколе SignalFacebook Messenger начал тестировать end-to-end шифрование на протоколе Signal
Facebook Messenger начал тестировать end-to-end шифрование на протоколе SignalAnatol Alizar
 
Ip protocol
Ip protocolIp protocol
Ip protocolH K
 
Assigning a static ip address
Assigning a static ip addressAssigning a static ip address
Assigning a static ip addressVimar Dohinog
 
Configuration of mesh topology in cisco packet tracer by Tanjilur RAhman
Configuration of mesh topology in cisco packet tracer by Tanjilur RAhmanConfiguration of mesh topology in cisco packet tracer by Tanjilur RAhman
Configuration of mesh topology in cisco packet tracer by Tanjilur RAhmanTanjilurRahman6
 
Ccna exam dumps
Ccna exam dumpsCcna exam dumps
Ccna exam dumpsccnaguide
 
Networking in college
Networking in collegeNetworking in college
Networking in collegeHarpreet Gaba
 
Ccna discovery
Ccna discoveryCcna discovery
Ccna discoveryccnaguide
 
Ibps specialist officer
Ibps specialist officerIbps specialist officer
Ibps specialist officerJohn Edward
 
programmer avec Arduino
programmer avec Arduinoprogrammer avec Arduino
programmer avec Arduinomohamednacim
 
Ccna final exam
Ccna final examCcna final exam
Ccna final examccnaguide
 
Computer Network - Telnet and Gopher
Computer Network -  Telnet and GopherComputer Network -  Telnet and Gopher
Computer Network - Telnet and GopherManoj Kumar
 
Ccna exam 640 802
Ccna exam 640 802Ccna exam 640 802
Ccna exam 640 802ccnaguide
 
FPGA Based IP Core Initialization for Ps2-Vga Peripherals Using Microblaze Pr...
FPGA Based IP Core Initialization for Ps2-Vga Peripherals Using Microblaze Pr...FPGA Based IP Core Initialization for Ps2-Vga Peripherals Using Microblaze Pr...
FPGA Based IP Core Initialization for Ps2-Vga Peripherals Using Microblaze Pr...IJERA Editor
 
Ccna1 v6.0 pretest exam answers 2018
Ccna1 v6.0 pretest exam answers 2018Ccna1 v6.0 pretest exam answers 2018
Ccna1 v6.0 pretest exam answers 2018Download Mipdfcom
 
CCNA 1 v6.0 Final Exam Answers Option B 2018
CCNA 1 v6.0 Final Exam Answers Option B  2018CCNA 1 v6.0 Final Exam Answers Option B  2018
CCNA 1 v6.0 Final Exam Answers Option B 2018Download Mipdfcom
 

What's hot (20)

Ccna dumps
Ccna dumpsCcna dumps
Ccna dumps
 
Facebook Messenger начал тестировать end-to-end шифрование на протоколе Signal
Facebook Messenger начал тестировать end-to-end шифрование на протоколе SignalFacebook Messenger начал тестировать end-to-end шифрование на протоколе Signal
Facebook Messenger начал тестировать end-to-end шифрование на протоколе Signal
 
Secret conversations whitepaper-1
Secret conversations whitepaper-1Secret conversations whitepaper-1
Secret conversations whitepaper-1
 
Ip protocol
Ip protocolIp protocol
Ip protocol
 
Assigning a static ip address
Assigning a static ip addressAssigning a static ip address
Assigning a static ip address
 
Configuration of mesh topology in cisco packet tracer by Tanjilur RAhman
Configuration of mesh topology in cisco packet tracer by Tanjilur RAhmanConfiguration of mesh topology in cisco packet tracer by Tanjilur RAhman
Configuration of mesh topology in cisco packet tracer by Tanjilur RAhman
 
Ccna study
Ccna studyCcna study
Ccna study
 
Ccna exam dumps
Ccna exam dumpsCcna exam dumps
Ccna exam dumps
 
Networking in college
Networking in collegeNetworking in college
Networking in college
 
Ccna discovery
Ccna discoveryCcna discovery
Ccna discovery
 
Ibps specialist officer
Ibps specialist officerIbps specialist officer
Ibps specialist officer
 
programmer avec Arduino
programmer avec Arduinoprogrammer avec Arduino
programmer avec Arduino
 
Ccna final exam
Ccna final examCcna final exam
Ccna final exam
 
Chapter 2 : Inet Address & Data Stream
Chapter 2 : Inet Address & Data StreamChapter 2 : Inet Address & Data Stream
Chapter 2 : Inet Address & Data Stream
 
Computer Network - Telnet and Gopher
Computer Network -  Telnet and GopherComputer Network -  Telnet and Gopher
Computer Network - Telnet and Gopher
 
Ccna exam 640 802
Ccna exam 640 802Ccna exam 640 802
Ccna exam 640 802
 
FPGA Based IP Core Initialization for Ps2-Vga Peripherals Using Microblaze Pr...
FPGA Based IP Core Initialization for Ps2-Vga Peripherals Using Microblaze Pr...FPGA Based IP Core Initialization for Ps2-Vga Peripherals Using Microblaze Pr...
FPGA Based IP Core Initialization for Ps2-Vga Peripherals Using Microblaze Pr...
 
Ccna1 v6.0 pretest exam answers 2018
Ccna1 v6.0 pretest exam answers 2018Ccna1 v6.0 pretest exam answers 2018
Ccna1 v6.0 pretest exam answers 2018
 
Ipaddressing spk1
Ipaddressing spk1Ipaddressing spk1
Ipaddressing spk1
 
CCNA 1 v6.0 Final Exam Answers Option B 2018
CCNA 1 v6.0 Final Exam Answers Option B  2018CCNA 1 v6.0 Final Exam Answers Option B  2018
CCNA 1 v6.0 Final Exam Answers Option B 2018
 

Similar to Esp32 bluetooth networking_user_guide_en

Controlpcviabluetoothenablemobile 091028150632-phpapp01
Controlpcviabluetoothenablemobile 091028150632-phpapp01Controlpcviabluetoothenablemobile 091028150632-phpapp01
Controlpcviabluetoothenablemobile 091028150632-phpapp01nagapriyanka
 
Control Pc Via Bluetooth Enable Mobile
Control Pc Via Bluetooth Enable MobileControl Pc Via Bluetooth Enable Mobile
Control Pc Via Bluetooth Enable MobileSamiul Hoque
 
Controlpcviabluetoothenablemobile 091028150632-phpapp01
Controlpcviabluetoothenablemobile 091028150632-phpapp01Controlpcviabluetoothenablemobile 091028150632-phpapp01
Controlpcviabluetoothenablemobile 091028150632-phpapp01ramaswamireddy challa
 
NetSim Technology Library- Manets
NetSim Technology Library- ManetsNetSim Technology Library- Manets
NetSim Technology Library- ManetsVishal Sharma
 
Ijret20120103031 head line mismatch
Ijret20120103031 head line mismatchIjret20120103031 head line mismatch
Ijret20120103031 head line mismatcheSAT Journals
 
Pattern of embedded bluetooth information broadcast system
Pattern of embedded bluetooth information broadcast systemPattern of embedded bluetooth information broadcast system
Pattern of embedded bluetooth information broadcast systemeSAT Journals
 
JSR 82 (bluetooth obex)
JSR 82 (bluetooth obex)JSR 82 (bluetooth obex)
JSR 82 (bluetooth obex)SMIJava
 
BluedIoT: When a mature and immature technology mixes, becomes an “idiot” sit...
BluedIoT: When a mature and immature technology mixes, becomes an “idiot” sit...BluedIoT: When a mature and immature technology mixes, becomes an “idiot” sit...
BluedIoT: When a mature and immature technology mixes, becomes an “idiot” sit...Gerard Fuguet
 
Implementation of embedded bluetooth data broadcast system
Implementation of embedded bluetooth data broadcast systemImplementation of embedded bluetooth data broadcast system
Implementation of embedded bluetooth data broadcast systemeSAT Publishing House
 
Bluetooth remote control... from your mobile phone
Bluetooth remote control... from your mobile phoneBluetooth remote control... from your mobile phone
Bluetooth remote control... from your mobile phoneBebe Bilguun
 
Android Operated Wireless Robot Using 8051 MCU
Android Operated Wireless Robot Using 8051 MCUAndroid Operated Wireless Robot Using 8051 MCU
Android Operated Wireless Robot Using 8051 MCUKamal Pradhan
 
Bluetooth Controlled Robot Project Report
Bluetooth Controlled Robot Project ReportBluetooth Controlled Robot Project Report
Bluetooth Controlled Robot Project ReportSimarjot Singh Kalsi
 
harry_mapengo_project.compressed
harry_mapengo_project.compressedharry_mapengo_project.compressed
harry_mapengo_project.compressedthembhani mapengo
 
Design and Implementation of Bluetooth MAC core with RFCOMM on FPGA
Design and Implementation of Bluetooth MAC core with RFCOMM on FPGADesign and Implementation of Bluetooth MAC core with RFCOMM on FPGA
Design and Implementation of Bluetooth MAC core with RFCOMM on FPGAAneesh Raveendran
 
Solution development in iot
Solution development in iotSolution development in iot
Solution development in iotSWAMY J S
 
IRJET- Voice-Activated Home Automation using NodeMCU
IRJET- Voice-Activated Home Automation using NodeMCUIRJET- Voice-Activated Home Automation using NodeMCU
IRJET- Voice-Activated Home Automation using NodeMCUIRJET Journal
 
Report 171115175724
Report 171115175724Report 171115175724
Report 171115175724PAVINRAJ5
 
Project report on home automation using Arduino
Project report on home automation using Arduino Project report on home automation using Arduino
Project report on home automation using Arduino AMIT SANPUI
 
Android based security and home
Android based security and homeAndroid based security and home
Android based security and homeijasa
 

Similar to Esp32 bluetooth networking_user_guide_en (20)

Controlpcviabluetoothenablemobile 091028150632-phpapp01
Controlpcviabluetoothenablemobile 091028150632-phpapp01Controlpcviabluetoothenablemobile 091028150632-phpapp01
Controlpcviabluetoothenablemobile 091028150632-phpapp01
 
Control Pc Via Bluetooth Enable Mobile
Control Pc Via Bluetooth Enable MobileControl Pc Via Bluetooth Enable Mobile
Control Pc Via Bluetooth Enable Mobile
 
Controlpcviabluetoothenablemobile 091028150632-phpapp01
Controlpcviabluetoothenablemobile 091028150632-phpapp01Controlpcviabluetoothenablemobile 091028150632-phpapp01
Controlpcviabluetoothenablemobile 091028150632-phpapp01
 
NetSim Technology Library- Manets
NetSim Technology Library- ManetsNetSim Technology Library- Manets
NetSim Technology Library- Manets
 
Ijret20120103031 head line mismatch
Ijret20120103031 head line mismatchIjret20120103031 head line mismatch
Ijret20120103031 head line mismatch
 
Pattern of embedded bluetooth information broadcast system
Pattern of embedded bluetooth information broadcast systemPattern of embedded bluetooth information broadcast system
Pattern of embedded bluetooth information broadcast system
 
JSR 82 (bluetooth obex)
JSR 82 (bluetooth obex)JSR 82 (bluetooth obex)
JSR 82 (bluetooth obex)
 
BluedIoT: When a mature and immature technology mixes, becomes an “idiot” sit...
BluedIoT: When a mature and immature technology mixes, becomes an “idiot” sit...BluedIoT: When a mature and immature technology mixes, becomes an “idiot” sit...
BluedIoT: When a mature and immature technology mixes, becomes an “idiot” sit...
 
Implementation of embedded bluetooth data broadcast system
Implementation of embedded bluetooth data broadcast systemImplementation of embedded bluetooth data broadcast system
Implementation of embedded bluetooth data broadcast system
 
Bluetooth remote control... from your mobile phone
Bluetooth remote control... from your mobile phoneBluetooth remote control... from your mobile phone
Bluetooth remote control... from your mobile phone
 
Android Operated Wireless Robot Using 8051 MCU
Android Operated Wireless Robot Using 8051 MCUAndroid Operated Wireless Robot Using 8051 MCU
Android Operated Wireless Robot Using 8051 MCU
 
Bluetooth Controlled Robot Project Report
Bluetooth Controlled Robot Project ReportBluetooth Controlled Robot Project Report
Bluetooth Controlled Robot Project Report
 
harry_mapengo_project.compressed
harry_mapengo_project.compressedharry_mapengo_project.compressed
harry_mapengo_project.compressed
 
Design and Implementation of Bluetooth MAC core with RFCOMM on FPGA
Design and Implementation of Bluetooth MAC core with RFCOMM on FPGADesign and Implementation of Bluetooth MAC core with RFCOMM on FPGA
Design and Implementation of Bluetooth MAC core with RFCOMM on FPGA
 
N045057376
N045057376N045057376
N045057376
 
Solution development in iot
Solution development in iotSolution development in iot
Solution development in iot
 
IRJET- Voice-Activated Home Automation using NodeMCU
IRJET- Voice-Activated Home Automation using NodeMCUIRJET- Voice-Activated Home Automation using NodeMCU
IRJET- Voice-Activated Home Automation using NodeMCU
 
Report 171115175724
Report 171115175724Report 171115175724
Report 171115175724
 
Project report on home automation using Arduino
Project report on home automation using Arduino Project report on home automation using Arduino
Project report on home automation using Arduino
 
Android based security and home
Android based security and homeAndroid based security and home
Android based security and home
 

Recently uploaded

Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZTE
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 

Recently uploaded (20)

Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 

Esp32 bluetooth networking_user_guide_en

  • 1. 
 Version 1.0 Copyright © 2017 ESP32 Bluetooth Networking User Guide
  • 2. About This Guide This document provides a guide to using ESP32 in Bluetooth networking for IoT devices with examples. This user guide is structured as follows: Release Note Chapter Title Content Chapter 1 Introduction A brief introduction to Bluetooth networking for IoT devices and Espressif’s app – EspBlufi app. Chapter 2 APIs for Networking Development Introduction to APIs related to Bluetooth networking on ESP32 end and the EspBlufi APK end. Chapter 3 Examples of Bluetooth Networking with ESP32 Examples of Bluetooth networking for IoT devices via EspBlufi. Date Version Release notes 2017.03 V1.0 First release.
  • 3. Content 1. Introduction 1 ............................................................................................................................. 1.1. Overview 1 .................................................................................................................................... 1.2. EspBlufi 1 ...................................................................................................................................... 2. APIs for Networking Development 3 ......................................................................................... 2.1. APIs on ESP32 End 3 .................................................................................................................... 2.2. APIs on the EspBlufi APK End 4 ................................................................................................... 3. ESP32 Bluetooth Networking Examples 5 ................................................................................ 3.1. Hardware and Software Preparation 5 .......................................................................................... 3.2. Setting ESP32 to Station Mode 5 ................................................................................................. 3.3. Setting ESP32 as a SoftAP 9........................................................................................................
  • 4. ! 1. Introduction 1. Introduction 1.1. Overview The ESP32, as a single 2.4 GHz Wi-Fi and Bluetooth combo chip, supports Wi-Fi setups via both SmartConfig and Bluetooth. Users can use ESP32 for secure configuration of Wi- Fi networking for IoT devices. Using Bluetooth for configuring Wi-Fi network presents the following advantages: • The Bluetooth protocol is open and scalable. • By using Bluetooth protocol, users can easily discover nearby devices via Bluetooth beacons. • The Bluetooth protocol is secure, because the authentication of the device is done over a secure Bluetooth connection before the password is sent to the device. • Users can also transmit data over Bluetooth to a smartphone, even when the router is not working. The phone can then uploads the data to the Internet. • The phone can now also connect to the Bluetooth device and send commands directly to control the device if the Wi-Fi network is down. 1.2. EspBlufi ESP32 is compliant with Bluetooth v4.2 BR/EDR and BLE specifications. Espressif has developed the app EspBlufi specifically for Bluetooth networking of IoT devices. The app is supported on Android 4.3 and above. For smartphones of Android 6.0 or above, because of Google’s modification to the Android API, users must give their permission for access to their current location and enable the location information module to start the Bluetooth scanning. EspBlufi is not supported on iOS for the time being. • EspBlufi can be downloaded via:
 https://github.com/EspressifApp/EspBlufi/tree/master/releases • Open EspBlufi after downloading it. In the user interface as shown in Figure 1-1, click on the ! icon in the upper right corner. Espressif ! /!1 13 2017.03
  • 5. ! 1. Introduction ! Figure 1-1. EspBlufi User Interface • The “About” button will be shown in the interface. ! Figure 1-2. About Button • Click on “About” to check the version of the app. The “Support protocol version” shown in the interface indicates the BluFi protocol version supported by the app. Figure 1-3. EspBlufi App Version Information
 Espressif ! /!2 13 2017.03
  • 6. ! 2. APIs for Networking Development 2. APIs for Networking Development 2.1. APIs on ESP32 End In the program of ESP32, security-related processes such as key establishment are determined and developed by the users. The app sends the “negotiate data” to ESP32 and the data packets will be sent to the application layer. If the data is not handled by the application layer, DH algorithm provided by BluFi can be used to exchange the key. The application layer needs to register relevant callback functions to BluFi. Table 2-1 provides description of those functions. Table 2-1. Security-Related Functions Function Description typedef void (*esp_blufi_negotiate_data_handler_t) (uint8_t *data, int len, uint8_t **output_data, int *output_len, bool *need_free); • This function is used to receive the “negotiate data” during key exchange. The data to be sent should be output by passing the parameters output_data and output_len to BluFi. • After BluFi calls negotiate_data_handler, output_data output by negotiate_data_handler is sent. • Since the length of data to be sent is not definite, **output_data has to malloc a part of memory or use global variables to release memory via need_free. typedef int (* esp_blufi_encrypt_func_t)(uint8_t iv8, uint8_t *crypt_data, int cyprt_len); The length of the encoded and decoded data must be the same. iv8 in this function means the 8-bit sequence of the packets. It can be used for eight bits of the initialization vector. typedef int (* esp_blufi_decrypt_func_t)(uint8_t iv8, uint8_t *crypt_data, int crypt_len); The length of the encoded and decoded data must be the same. iv8 in this function means the 8-bit sequence of the packets. It can be used for eight bits of the initialization vector. typedef uint16_t (*esp_blufi_checksum_func_t)(uint8_t iv8, uint8_t *data, int len); The function is used to calculate the checksum. Calling this function returns the value of checksum. The returned value will be compared with the checksum at the end of the packet by BluFi. Espressif ! /!3 13 2017.03
  • 7. ! 2. APIs for Networking Development 2.2. APIs on the EspBlufi APK End For SDK classes and related APIs, please refer to Table 2-2. Table 2-2. SDK Classes for Bluetooth Networking SDK class Description API BleScanner Used for scanning BLE-enabled devices. startLeScan(final BluetoothAdapter.LeScanCallba ck callback) • Start scanning for Bluetooth-enabled devices. LeScanCallback is the callback for having spotted devices. stopLeScan(BluetoothAdapter.L eScanCallback callback) • Stops the scanning. BleGattClientProxyImpl Used for connecting BLE- enabled devices, and acquiring Service and Characteristics. connect(@NonNull String bleAddr, long timeout) • Connects to the BLE devices. discoverCharacteristic(@NonNu ll BluetoothGattService gattService, @NonNull UUID uuid) • Acquires the Bluetooth GATT Characteristics. requestMtu(int mtu, long timeout) • Sets the value of MTU (Maximum Transmission Unit). close() • Closes the connection. BlufiCommunicator Used for communicating with BLE-enabled devices. getVersion() • Identifies the device’s BluFi version. negotiateSecurity() • Negotiates the key with BLE devices. getStatus() • Gets the connection status of the devices. configure(final BlufiConfigureParams params) • Configures the networking mode for devices. Espressif ! /!4 13 2017.03
  • 8. ! 3. ESP32 Bluetooth Networking Examples 3. ESP32 Bluetooth Networking Examples 3.1. Hardware and Software Preparation • 1 × ESP32 module • 1 × PC, connected to the module to supply power and print log for ESP32. • 1 × smartphone (Android 4.3 or above) • Download and install EspBlufi on the smartphone. Turn on the Wi-Fi and Bluetooth capabilities on the phone. The link for downloading EspBlufi is
 https://github.com/EspressifApp/EspBlufi/tree/master/releases 3.2. Setting ESP32 to Station Mode 1. Power on the module. The following log will be output to the serial port tool: ! 2. Open the EspBlufi app, and refresh the interface by swiping down from the top of the screen. The nearby Bluetooth-enabled devices will be shown on the screen. ! Figure 3-1. EspBlufi Interface Espressif ! /!5 13 2017.03
  • 9. ! 3. ESP32 Bluetooth Networking Examples 3. Click on the ESP32 device in the interface as Figure 3-1 shows, and establish Bluetooth connection to it. Successful connection will yield the interface shown in Figure 3-2. The duration marked off with a red box in Figure 3-2 indicates the time needed for the connection. The BluFi protocol version (which is “V1.0” in this example), and the Wi-Fi mode (Station/SoftAP/Station+SoftAP) will be shown. So is the device’s connection status in Station mode (which is “disconnect” in this example), as well as the number of stations connected in SoftAP mode (which is “0” in the case shown in this example). ! Figure 3-2. Interface Showing Successful Connection Meanwhile, the following log will be output to the serial port tool: ! 4. Click on the “CONFIGURE” button to get the dropdown menu for network configuration, as Figure 3-3 shows: 📖 Note: If the “CONFIGURE” button is not shown or can not be clicked in the interface of Figure 3-2, it means that Bluetooth connection has failed. Espressif ! /!6 13 2017.03
  • 10. ! 3. ESP32 Bluetooth Networking Examples ! Figure 3-3. Network Configuration Interface 5. Select the device mode from the dropdown menu, as Figure 3-4 shows. (BluFi networking supports the following three modes: Station, SoftAP, and Station+SoftAP.) ! Figure 3-4. Selecting Device Mode 6. In the interface shown in Figure 3-5, click on the refresh button ! , and choose the Wi- FI SSID. Then, enter the password. Espressif ! /!7 13 2017.03
  • 11. ! 3. ESP32 Bluetooth Networking Examples ! Figure 3-5. Configuring the Station Mode 7. Click on the ! button to complete the configuration. Successful configuration will lead to the interface as Figure 3-6 shows. The information marked off with the red box in Figure 3-6 shows the duration of time needed for connection. The Wi-Fi mode (which is Station mode in this example) and the connection information (such as the AP’s BSSID and SSID, as well as the connection status) are also shown. ! Figure 3-6. Station Connection Information Meanwhile, the following log will be output to the serial port tool: Espressif ! /!8 13 2017.03
  • 12. ! 3. ESP32 Bluetooth Networking Examples ! 3.3. Setting ESP32 as a SoftAP 1. Power up the module. Connect the EspBlufi app to ESP32 via Bluetooth. Set the device mode as SoftAP in the network configuration interface, as Figure 3-7 shows. For details of doing so, please refer to Steps 1 to 4 in Section 3.2. ! Figure 3-7. Selecting SoftAP Mode 2. Configure the SoftAP mode, as Figure 3-8 shows. Select the security encryption mode, channel, and maximum number of Stations to be connected. Enter the SoftAP’s SSID and password. Click on the ! button to complete the configuration. Espressif ! /!9 13 2017.03
  • 13. ! 3. ESP32 Bluetooth Networking Examples ! Figure 3-8. Configuring the SoftAP Mode 3. Success of the SoftAP configuration will lead to the interface as Figure 3-9 shows. The current Wi-Fi mode and the connection status are shown in the interface. ! Figure 3-9. SoftAP Connection Information Espressif ! /!10 13 2017.03
  • 14. ! 3. ESP32 Bluetooth Networking Examples Meanwhile, the following log will be output to the serial port tool: ! 4. Turn on the smartphone’s Wi-Fi capability. The SoftAP connected can be found in the WLAN interface, as Figure 3-10 shows. ! Figure 3-10. The Configured ESP32 SoftAP 5. Connect the smartphone to the ESP32 SoftAP. As shown in Figure 3-11, the prompt ! will appear, indicating that the Wi-Fi is connected. Espressif ! /!11 13 2017.03
  • 15. ! 3. ESP32 Bluetooth Networking Examples ! Figure 3-11. Wi Fi Connection Prompt Meanwhile, the following log will be output to the serial port tool: ! The ESP32 device is successfully connected to Wi-Fi via Bluetooth networking. 📖 Note: All values of connection time shown on the EspBlufi app screenshots in this document are provided only as examples. Connection time is subject to the actual situations. Espressif ! /!12 13 2017.03
  • 16. Disclaimer and Copyright Notice Information in this document, including URL references, is subject to change without notice. THIS DOCUMENT IS PROVIDED AS IS WITH NO WARRANTIES WHATSOEVER, INCLUDING ANY WARRANTY OF MERCHANTABILITY, NON-INFRINGEMENT, FITNESS FOR ANY PARTICULAR PURPOSE, OR ANY WARRANTY OTHERWISE ARISING OUT OF ANY PROPOSAL, SPECIFICATION OR SAMPLE. All liability, including liability for infringement of any proprietary rights, relating to the use of information in this document, is disclaimed. No licenses express or implied, by estoppel or otherwise, to any intellectual property rights are granted herein. The Wi-Fi Alliance Member logo is a trademark of the Wi-Fi Alliance. The Bluetooth logo is a registered trademark of Bluetooth SIG. All trade names, trademarks and registered trademarks mentioned in this document are property of their respective owners, and are hereby acknowledged. Copyright © 2017 Espressif Inc. All rights reserved. Espressif IOT Team www.espressif.com