[x ] Device used (e.g., Sonoff Basic): Mini D1_____
[x ] Tasmota binary firmware version number used: 13.0.0.1_____
[ ] Pre-compiled
[x ] Self-compiled
[x ] IDE / Compiler used: _VSC____
[ ] Flashing tools used: _____
[ ] Provide the output of command: Backlog Template; Module; GPIO 255:
Configuration output here:
- [ ] If using rules, provide the output of this command: `Backlog Rule1; Rule2; Rule3`:
Rules output here:
- [ ] Provide the output of this command: `Status 0`:
STATUS 0 output here:
- [ ] Provide the output of the Console log output when you experience your issue; if applicable:
_(Please use_ `weblog 4` _for more debug information)_
Console output here:
### TO REPRODUCE
_Steps to reproduce the behavior:_
### EXPECTED BEHAVIOUR
_A clear and concise description of what you expected to happen._
### SCREENSHOTS
_If applicable, add screenshots to help explain your problem._
### ADDITIONAL CONTEXT
Trying to get a response back from the SIM800L module. Module Rx is hooked to GPIO1 (Tx) and Tx to Rx. My script is as follows:
D 170
SB=4096
IP=192.168.4.1
command=""
res=0
rstr=""
substr=""
lat=0
lon=0
spd=0
B
res=so(1 3 9600 8N1 170)
T
lat=GPS#lat
lon=GPS#lon
F
res=sa()
if (res>100) {
rstr=sr()
}
S
print %substr% %rstr%
if (upsecs%10==0) {
print %5lat% %5lon% %res%
command=""
command="AT+CCID"
;=>serialsend2 %command%
sw(%command%)
}
Module is powered on and registered on cell network. What am I doing wrong with serial commands?
(Please, remember to close the issue when the problem has been addressed)
PROBLEM DESCRIPTION
Trying to use scripting to communicate with SIM800L module to send and receive serial data via simple AT commands.
REQUESTED INFORMATION
Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!
Backlog Template; Module; GPIO 255
:Rules output here:
STATUS 0 output here:
Console output here:
(Please, remember to close the issue when the problem has been addressed)