* Hayes AT command interface. * For modems, GSM/LTE modules (SIM800, Quectel), ESP-AT, HC-05 Bluetooth.
(value)
| 3 | * For modems, GSM/LTE modules (SIM800, Quectel), ESP-AT, HC-05 Bluetooth. |
| 4 | */ |
| 5 | function transmit(value) { |
| 6 | if (typeof value === "string" && value.length > 0) |
| 7 | return "AT+" + value + "\r\n"; |
| 8 | |
| 9 | return "AT\r\n"; |
| 10 | } |