Comments (8)
Hi!
There are two ports: for giving commands and for listening notifications
AT starts watching on the notification port, so it could react on various events about incoming SMS, etc
https://github.com/xlab/at/blob/master/at.go#L223
from at.
and if i m in windows
i put CommandPortPath COM1 and NotifyPortPath COM1 ?
from at.
@ssadok I'm not sure about that, sorry. I'll check when i get windows
from at.
https://github.com/xlab/at/blob/master/at.go#L374
i think that port if is the same it will be busy.
from at.
@ssadok it cannot be the same, there is no multiplexing. Usually Huawei modems create 3-5 serial devices in the system.
from at.
from at.
@ssadok looks cool, but it only provides one serial port?
Okay, I made changes in d1f8cd8 so it won't connect to notification port if it's not provided in the config. I guess it would work OK for you if you have only commands port at COM1.
By the way, AT command sequences can differ from vendor to vendor, the commands I implemented are for Huawei E173 only, but it's a good example how to implement yours. See the specs for the device.
Good luck.
from at.
thank you i will test it and get back to you shortly
from at.
Related Issues (15)
- Add references to 3GPP TS 24.011 in the code comments
- Incorrect calculation of timezone offset sign HOT 3
- Build fails due to ErrIncorrectDataLength not defined
- notifyPort not populated if CommandPort and NotifyPort are same HOT 4
- Support of TP-UDHI HOT 2
- I can not decode the smspdu message. HOT 1
- Concatenated message not parsing properly specially message with data header
- Broken tests: timestamp encoding depends on time zone of host system
- Issue Decoding message's OA in SMS-DELIVER PDU (Address not set) HOT 1
- Some PDU messages not being HOT 2
- sms.go error HOT 3
- pdu.Decode7Bit error HOT 1
- Incorrect Gsm7Bit content length in Deliver message type HOT 2
- Examples needed HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from at.