Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Message format not received correctly #3

Open
mitchyg opened this issue Jun 12, 2010 · 2 comments
Open

Message format not received correctly #3

mitchyg opened this issue Jun 12, 2010 · 2 comments
Labels

Comments

@mitchyg
Copy link

mitchyg commented Jun 12, 2010

Hi,
I am using a Siemens MC35i GSM modem. Compatbility with pygsm seems quite good.

However we are using the MC35i to send messages to a remote telemetry unit. An example of a response from the remote unit is:
"INSYS GSM 4.X:
BLOCK:

100:
Ax=+01234

OK"
I believe the "OK" at the end of the query message would be confused as the end of the CMGL command response.

The actual response we get using the next_message() method is:

"Ax=+01234 4.x:BLOCK:"

Any suggestions for fixing this issue?

If you need anymore information let me know.

Thanks,
Mitch

@adammck
Copy link
Owner

adammck commented Sep 3, 2010

could you send a log file containing the exchange?

@mitchyg
Copy link
Author

mitchyg commented Aug 30, 2011

Sorry it took so long to get back here. Basically the problem is with text mode SMS and timing the serial port exchange. If a SMS message ends with the characters "OK" on a new line then pygsm may not handle that correctly.

I will try and get a bit of a test log exchange on here soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants