-
Notifications
You must be signed in to change notification settings - Fork 76
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
CAT_RETURN_STATE_ERROR in cat_service loop #44
Comments
cAT cannot be used to communicate with any external AT module. with cAT You can write firmware to make Your own AT-based module. Its dedicated for host devices, not for AT-devices clients. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I'm running cAT on a host nRF52811 MCU attempting to communicate with a Quectel BC660 AT module. I've established UART communication prior to this and now I want to add cAT to easily send and handle AT commands.
This is my code, part of a larger codebase:
cAT_handler.zip
I keep getting CAT_RETURN_STATE_ERROR (-1) in the main loop and as far as I can tell, none of my write, read or run functions are called. For now, I'm just trying to send and receive responses for a simple
AT+CPIN?
command to check for a SIM card. Can you tell me what I'm doing wrong here?The text was updated successfully, but these errors were encountered: