Hi,
I am using the WLAN component (ESP8266). There are some AT commands that I need to send that are not accommodated for with this component. I guess one can use the "Sendstring" macro to send the required AT commands? How could I receive the reply from the ESP8266 once a command has been send out as there doesn't seem to be a "Readstring" macro like there is in the GSM component. Any ideas?
ESP8266 AT Commands
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: ESP8266 AT Commands
Hello,
The SendString macro can be used to send a command to the module. The GetByteWithTimeout can be used to collect the reply a byte at a time. We could add another function to return a string if that would be useful.
The SendString macro can be used to send a command to the module. The GetByteWithTimeout can be used to collect the reply a byte at a time. We could add another function to return a string if that would be useful.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Flowcode v5 User
- Posts: 115
- Joined: Tue Jul 23, 2013 10:02 am
- Been thanked: 15 times
- Contact:
Re: ESP8266 AT Commands
Hi Benj,
Thanks for the reply. Adding that as a function would be very useful yes. I'm sending some AT instructions to the ESP module and would like to see it's response/reply in the form of a $tring.
Thanks Benj
Thanks for the reply. Adding that as a function would be very useful yes. I'm sending some AT instructions to the ESP module and would like to see it's response/reply in the form of a $tring.
Thanks Benj
-
- Flowcode v5 User
- Posts: 115
- Joined: Tue Jul 23, 2013 10:02 am
- Been thanked: 15 times
- Contact:
Re: ESP8266 AT Commands
Hi Benj,
Have you managed to make any progress on adding a function to the ESP8266 component w.r.t. to returning a string response from the ESP8266?
Have you managed to make any progress on adding a function to the ESP8266 component w.r.t. to returning a string response from the ESP8266?