Hi
In the documentation of the function "int at_cmd_write_with_callback(const char *const cmd, at_cmd_handler_t handler)" it is written that "CMS and CME errors are returned as positive values, the state parameter will indicate if it’s a CME or CMS error". But the function at_cmd_write_with_callback, unlike the function at_cmd_write, has no state parameter.
How can I distinguish between CME and CMS errors when using the function at_cmd_write_with_callback?
Is it included in the string returned to the callback function?
Best regards,
Patrick