when i try to open a file in read mode, the operation gets failed. Also, when i try to read sms from ME that also results in failed operation! On debug interface i noticed this error: SFFS open error: -2
i guess i am getting this error due to misconfiguration related to file system. Can anybody help with this? SDK version i have mentioned in the Topic.
Could you share any error code returned by the file API? Thanks.
1.error codes in case of opening file in read mode:
60038026 937 get node count failed, or no file in list
SFFS open error: -2
60037E56 848 open err 83030195
60036A6C 190 file open err
- Error code of read sms fail:
600524DE 663 ERROR SEMA!
Release UTI 113
file opening code:
dest_fd = ql_fopen(HEALTH_SMS_FILE, “r”);
if(dest_fd < 0)
{
QL_AUTODIALER_LOG(“open dest file failed”);
err = dest_fd;
}
read sms code:
ql_sms_recv_s *sms_recv = (ql_sms_recv_s *)calloc(1,sizeof(ql_sms_recv_s));
if(QL_SMS_SUCCESS == ql_sms_read_msg_ex(SIM_USED, msg_index, TEXT, sms_recv))