Ai-WB2 module's TCP-based MQTT connection server usage example
copyright © 2022 Shenzhen Ai-Thinker Technology Co., Ltd All Rights Reserved
1. Preparations
Software and hardware to be prepared: Ai-WB2 series module or development board, Type-C data
cable.
2. Connect the router
① Make sure that the module or development board is ready for printing, as shown below:
② Send AT+CWMODE=1;AT+CWJAP=“WIFI name”, “WIFI password”, for example, the
WIFI name I am testing is aithinker123, and the password is 123456789, as shown in the
following figure: