Jump to content
  • 0

[Pmod ESP32] How to extract this +IPD response and use this response data to control Zybo's GPIO


VerticalFarmingStudent

Question

Hi, 

I am using Zybo Z720 and Pmod ESP32 to explore on IoT control.

I used several AT commands like "AT+CWMODE", "AT+CWJAP", "AT+CIPSTART", "AT+CIPSEND" and "GET <links>" to receive the last entry data from the Thingspeak. Here is the response I received from the Vitis Serial Terminal: 

image.png.c535a7439c3b9252117e02fbe29f8e2d.png

Now, I want to make use of this data from +IPD response and control the GPIO and relay (relay connected to the GPIO pin). 

I know Arduino has sth like Serial.find() function and help me with extracting serial terminal's IPD response. I just wonder Xilinx Vitis has the same thing as Arduino. 

The Arduino used the code as following:

if(Serial.available()>1)

{ String response = Serial.read();
 Serial.println(response); }

The Vitis code is attached below

Thanks in advance

 

 

IoTControl_New.txt

Edited by VerticalFarmingStudent
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...