For example,
HalUARTWrite (0, CGCLASS, strlen (CGCLASS));
Delay_s (1);
HalUARTWrite (0, CGDCONT, strlen (CGDCONT));
Delay_s (1);
HalUARTWrite (0, CGATT, strlen (CGATT));
Delay_s (1);
HalUARTWrite (0, CIPCSGP, strlen (CIPCSGP));
Delay_s (1);
Intermediate delay completely useless, the program will run all of the first delay, then all one-time output string,
Like this
Waiting for a few seconds later, a one-time output all content, was like the first time, for advice
CodePudding user response:
This is according to your program execution, but just write the data into the serial buffer, call HalUARTWrite return value, then the next stepCodePudding user response:
Who taught you to z - stack can be continuous use all sorts of sending function inside, and in the middle on the delay?CodePudding user response:
The building Lord finally solved? I also want to send data through ESP8266 networking