Comments (3)
Hi!
Thank you - it's so nice to hear that it's useful! :)
Poland has 9 digit numbers and the country code is 48 if I understand correctly. That means that for a national call/SMS you'd send it to AAA AAA AAA
, and from other countries you'd send it to +48 AAA AAA AAA
to reach a Polish number - correct?
Can you give me some examples of numbers that work and some that don't?
from atlib.
Hi. Indeed +48 AAA AAA AAA - that's correct.
I have a SIMCOM SIM7600G-H and it's compatible with SIM5320 so i've change
SmsTextFormat smsTextFormat = SmsTextFormat.Text;
atChannel.EnableDebug((string line) => Console.WriteLine(line));
using IModem modem = new SIM5320(atChannel);
I use TestConsole and enter the number +48 AAAAAAAAA to send sms.
With
Number = number.TrimStart('+');
in PhoneNumbers.cs
- `Out: AT+CMGS="48AAAAAAAAA"
- In:
- In: >
- Out: test
- In:
- In:
- In: +CMS ERROR: 500
- SMS Reference: Error:`
With
Number = number;
- `Sending SMS...
- Out: AT+CMGS="+48AAAAAAAAA"
- In:
- In: >
- Out: test
- In:
- In:
- In: +CMGS: 179
- In:
- In: OK
- SMS Reference: Message Reference: 179`
If I use putty and a COM connection only format +48AAAAAAAAA or AAAAAAAAA is valid. The format 48AAAAAAAAAA is invalid.
from atlib.
Version 6.0.1 is now out and contains the fix. Hope it fixes your issues. Thank you for reporting this and contributing to making this library better 👏🏼
from atlib.
Related Issues (17)
- Unhandled Exception HOT 4
- SIMCOM 7600 AT Commands HOT 1
- Stream WriteAsync Hang HOT 3
- How to make compatible with other brands HOT 2
- Record incomming call ???? HOT 2
- UCS2 encoding schema for arabic sms messages HOT 3
- Wrong way to use Task HOT 2
- Support for Multi-part PDU? HOT 2
- Telit soft reset and set to factory profile feature request HOT 3
- Cannot send SMS with Telit xe910 modem in PDU mode using v7.0.0 HOT 4
- How can I send SMS with delivery report? HOT 1
- Supports for 4G commands
- Multiline Responses HOT 1
- Gsm7 Default encoding not reflecting LF/CR properly
- Sms Receiving
- How to make a phone Call? HOT 11
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 atlib.