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

SIM800C not supported calls #112

Open
ramballan opened this issue Mar 29, 2023 · 0 comments
Open

SIM800C not supported calls #112

ramballan opened this issue Mar 29, 2023 · 0 comments

Comments

@ramballan
Copy link

ramballan commented Mar 29, 2023

Hi
When I'm try to dial any number call is happened but callback is not working.
On command 'AT+CLCC' SIM800C returns next
+CLCC: 1,0,2,0,0,"phone_number",129,""
and your regex
^\+CLCC:\s+(\d+),(\d),(\d),(\d),([^,]),"([^,]*)",(\d+)$
doesn't match it, cause response has some information in the end of the string/ According to docs it's alphaId.

Can you change your regex to avoid this case and support SIM800C

^\+CLCC:\s+(\d+),(\d),(\d),(\d),([^,]),"([^,]*)",(\d+)
I think this will be enough

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

No branches or pull requests

1 participant