Looks like bug is here in mms_client_files.c mmsclient_createFileDirectoryRequest
uint32_t confirmedRequestPduSize = 1 + 2 + 2 + invokeIdSize + 0; /// This line assumes
/// a fixed length octet for the
/// File dir tagged data
uint32_t parameterSize = 0;
if (fileSpecification)
parameterSize += encodeFileSpecification(0xa0, fileSpecification, NULL, 0);
if (continueAfter)
parameterSize += encodeFileSpecification(0xa1, continueAfter, NULL, 0);
This seems to happen elsewhere in this file as well.