dbg("AT Request - Command: [%s] Pre-fix: [%s] Type: [%d])",
at->req->cmd, at->req->prefix, at->req->type);
}
+ else {
+ err("AT request is NULL");
+ return TEL_RETURN_INVALID_PARAMETER;
+ }
+
return TEL_RETURN_SUCCESS;
}
return TEL_RETURN_INVALID_PARAMETER;
}
+ if (req == NULL) {
+ err("AT request is NULL");
+ return TEL_RETURN_INVALID_PARAMETER;
+ }
+
if ((ret = tcore_at_set_request(at, req)) != TEL_RETURN_SUCCESS) {
err("Failed to set AT request");
return ret;
<arg direction="in" type="i" name="command_id"/>
<arg direction="in" type="i" name="command_type"/>
<arg direction="in" type="i" name="user_confirm_type"/>
- <arg direction="in" type="s" name="additional_data"/>
+ <arg direction="in" type="v" name="additional_data"/>
<arg direction="out" type="i" name="result"/>
</method>