~aleteoryx/muditaos

afa195764b289b3d5c0332cb3a08e313993a87f7 — Adam Dobrowolski 5 years ago 1d3fd18
[EGD-5451] Removed unused and potentially harmful cmux api

We do not and should not use api removed. We should use Chanel and
Response in cellular code.
1 files changed, 0 insertions(+), 27 deletions(-)

M module-cellular/Modem/TS0710/TS0710.h
M module-cellular/Modem/TS0710/TS0710.h => module-cellular/Modem/TS0710/TS0710.h +0 -27
@@ 391,33 391,6 @@ class TS0710
        }
    }

    /// @brief It is serching the resposne for "OK "string
    ///
    /// @note Invalid responses are logged by defult as LOG_ERRORs
    ///
    /// @param response - tokenized resposne
    /// @param numberOfExpectedTokens - number of expected tokens, 0 means do not validate number of tokens
    /// @param level - determine how the errors are logged
    /// @return true - str string is found, false - otherwise
    bool CheckATCommandResponse(const std::vector<std::string> &response,
                                size_t numberOfExpectedTokens,
                                logger_level level = LOGERROR)
    {
        return SearchATCommandResponse(response, "OK", numberOfExpectedTokens, level);
    }

    /// @brief It is serching the resposne for "OK "string
    ///
    /// @note Invalid responses are logged by defult as LOG_ERRORs
    ///
    /// @param response - tokenized resposne
    /// @param level - determine how the errors are logged
    /// @return true - str string is found, false - otherwise
    bool CheckATCommandResponse(const std::vector<std::string> &response, logger_level level = LOGERROR)
    {
        return SearchATCommandResponse(response, "OK", 0, level);
    }

    /// @brief It is serching the resposne for ">" string
    ///
    /// @note Invalid responses are logged by defult as LOG_ERRORs