-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
I have installed your module correctly. My sim card is in HAT and it works (LED is on every 3 seconds).I turned on ttyS0 and I know it works.
when i execute your sample script:
from gsmHat import *
gsm = GSMHat('/dev/ttyS0', 115200)
Number = '+some_number'
gsm.Call(Number)
but nothing happens after that.
i did some testing. and I can see that while executing this script AT+CMGF=1 is written to /dev/ttyS0 and then get the answer OK
but nothing else. each time it executes the script (SMS or call) there is only
AT+CMGF=1
OK
so i installed minicom and when it executes the call command directly call/ Hang up works :
minicom -D /dev/ttyS0
ATD+some_number;
OK
ATH
OK
log:
2021-05-17 22:29:43,581 - gsmHat.gsmHat - INFO - Serial connection to /dev/ttyS0 established
2021-05-17 22:29:43,582 - gsmHat.gsmHat - INFO - Worker started
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels