1064 views|0 replies

174

Posts

1

Resources
The OP
 

【Anxinke BW16-Kit】Bluetooth with AT commands [Copy link]

I plan to familiarize myself with the AT commands first, and then debug and use them together with the microcontroller.

①, AT+BLEMODE: query or set Bluetooth working mode

To enable Bluetooth in Realtek series (BW16/BW15), you need to set the Bluetooth parameters first and then enable Bluetooth.

To enable AP+STA+Bluetooth triple mode, or AP+STA mixed mode, you need to open AP first , and then connect STA or Bluetooth (there is no requirement for the order of Bluetooth and STA, but AP must be opened first)

AT+BLEMODE = 0 Bluetooth slave mode;

AT+BLEMODE = 1 Bluetooth host mode;

AT+BLEMODE = 9 Bluetooth off;

②、AT+BLESTATE? Check whether it is connected, 0: not connected, 1: connected

③、AT+BLEDISCON disconnects the Bluetooth connection, disconnect first to configure the parameters

④、AT+BLENAME = <ble name> query or set the Bluetooth device name

⑤、AT+BLEAUTH = <pind> Query or set Bluetooth pairing code: 6 digits

Send AT+BLEMODE = 0 to configure Bluetooth to slave mode

Here I use the WeChat applet BLE Bluetooth Assistant to test: Scan and click ai-thinker to connect, and then you can send and receive

Slave ADDRESS: 94:c9:60:3e:5d:34

AT commands are very convenient. I have to sort out PY stuff recently. BW16 is on hold for now. I will organize the data with the microcontroller and add it to the near-field wireless control.


This post is from RF/Wirelessly
 

Find a datasheet?

EEWorld Datasheet Technical Support

Featured Posts
STN-LCD color screen module

Abstract : This article introduces the internal structure, main components, and design selection requirements of the col ...

ADSL connection method in LAN

1. Add a 10M or 10/100M adaptive network card to the server   and connect the ADSL MODEM to the network card using the ...

Self-study experience of single chip microcomputer

Whether you are an amateur electronics enthusiast or a practitioner in the electronics industry, mastering microcontroll ...

C language uses binary tree to parse polynomials and evaluate

It mainly realizes the analysis of polynomial data calculation. If there is a need to make a simple calculator based on ...

【TI recommended course】#Lecture on Basic Knowledge of Electronic Circuits - Power MOSFET#

//training.eeworld.com.cn/TI/show/course/3693

915MHz Hardware Design Based on CC1310

1. Overview The CC1310 combines an ultra-low power RF transceiver with a powerful 48MHz Cortex-M33 microcontroller, and ...

We dismantled a domestic medical B-ultrasound machine and let's take a look

I passed by a scrap yard and saw a B-ultrasound machine with a broken screen. I estimated that the screen was damaged i ...

Did you see the blood moon last night? Share it with everyone. I heard it is a once-in-a-millennium event.

I saw it when I opened my circle of friends at night. When I wanted to look, the moon was no longer red. Did you see the ...

Noise Suppression and Attenuation Techniques in Electronic Systems (Second Edition)

This book covers all aspects of the practical application of noise suppression technology in circuits. It covers two bas ...

Knowledge points about spectrum analyzer measuring RF signals

There is relatively little knowledge on the Internet about spectrum analyzers measuring RF signals. Is there any expert ...

快速回复 返回顶部 Return list