Communication devices

Thread Starter

Sarthak Kelapure

Joined Dec 23, 2017
2
Hello everyone,

I have a general query about any embedded system. Whenever we use any communication device,(maybe Bluetooth or WiFi or GSM), is it advised to use AT commands to control the device?

PS: I do not wish to use APIs

Thank you in advance.



Regards

Sarthak
 

spinnaker

Joined Oct 29, 2009
7,830
Hello everyone,

I have a general query about any embedded system. Whenever we use any communication device,(maybe Bluetooth or WiFi or GSM), is it advised to use AT commands to control the device?

PS: I do not wish to use APIs

Thank you in advance.



Regards

Sarthak

It depends on the device and it it supports AT commands.
 

Papabravo

Joined Feb 24, 2006
22,082
Yes of course nearly all of them do support, but as an embedded programmer, should it be done in good practice?
It is no better or worse than any other method. Do you have specific concerns about the implementation on either end of the link? The syntax of the commands is simple and straightforward both to generate and to decode. The meaning of particular strings and arguments can of course get incredibly complex. One handy feature is that is is easy to monitor the link for debugging purposes.
 

spinnaker

Joined Oct 29, 2009
7,830
Yes of course nearly all of them do support, but as an embedded programmer, should it be done in good practice?

That is a very broad statement. I would say that the majority of them do not, unless you are just interested with the modules designed for hobbyists (usually they are targeted for the Arduino). Even then you don't have to use the AT commands unless you have a specail need. I have used the HC05 a bunch of times and not once used AT commands.
 

shteii01

Joined Feb 19, 2010
4,644
Use whatever manufacturer tells you to use.
Or.
Invent your own.

Normal people have constraints, like cost and time, and can not be bothered with inventing their own. You seem to be free of most constraints that normal people have.
 
Top