sixfab / atcom Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
Baudrate setting from the cli does not work.
root@9854bd3:/# atcom -v AT -p /dev/serial0 -b 230400
[INFO] Configs file not found, reading properties from args
[INFO] Port property specified as argument, overriding config file
[INFO] Timeout property not found, using default (10)
[INFO] Baudrate property not found, using default (115200)
< AT
> OK
>
I can set the value from the config though.
When I try to send text messages via "atcom AT+CMGS="my_phone_number", "CR", "Text message text", I always get a timeout error. I'm able to send other AT commands without issue. I think the problem has to do with how atcom terminates the message stream, but I'm not certain what I need to change to fix this. Any help would be greatly appreciated!
I installed atcom as described, however I cannot connect to the Telit modem. Any AT commands result in the same error.
pi@raspberrypilte:~ $ atcom --port /dev/ttyUSB2 -b 115200 AT
[ERR] Couldn't open serial communication
pi@raspberrypilte:~ $
If I run the connection via minicom minicom -D /dev/ttyUSB2 -b 115200
, everything works.
RasperryPI Bullseye, Python 3.9.2 installed.
EDIT:
It found a connection at /dev/ttyUSB3. I accidentially tried USB2 since this is the right port address when I use minicom.
However, the the automatic port scan seems not to work as I always need to add the -p option.
is success.
what am i wrong?
i guess i use same parameters..
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.