As far as I can tell, you are using the function correctly. Couple of questions:
- Does the handler cmd_RspHandler_CREG get called? Is the response ID equal to ADL_STR_OK?
- What happens when you manually type “AT+CREG=1”. Is the status of “AT+CREG?” the one you expect?
Regards