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

Channel state not changing from Dialing to Active for Huawei E303C #181

Open
EngrKiBaat opened this issue Oct 10, 2024 · 0 comments
Open

Comments

@EngrKiBaat
Copy link

Faced issue with when dialing with Huawei E303C. After dialing state was changing from Free to Dialing but on call connection, state was not changing to Active. Turns out the issue is in at_read.c. The ^CONN: response was not being correctly parsed by the the function at_read_result_iov(). This may be issue with the device driver or how the response from device is handled in at_read.c

As a temporary solution I modified the code of at_read.c by inserting the following after line 181
else if(rb_memcmp (rb, "\r\n^CONN:1,0\r\n", 13) == 0)
{
rb_read_upd (rb, 2);
return at_read_result_iov (dev, read_result, rb, iov);
}
Further state is changing to Active on call connection.

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