~aleteoryx/muditaos

5564408a56280fa09eada40c038e1c7ee48b8287 — Kuba Kleczkowski 2 years ago 63c1a41
[MOS-944] Fixed handling USSD started by #

Now call request begins with # character is dicoverd
and handled as a USSD code.
1 files changed, 2 insertions(+), 2 deletions(-)

M module-services/service-cellular/service-cellular/requests/UssdRequest.hpp
M module-services/service-cellular/service-cellular/requests/UssdRequest.hpp => module-services/service-cellular/service-cellular/requests/UssdRequest.hpp +2 -2
@@ 1,4 1,4 @@
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
// Copyright (c) 2017-2023, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md

#pragma once


@@ 10,7 10,7 @@

namespace cellular
{
    constexpr inline auto UssdRegex = "^[\\*].*[\\#]$";
    constexpr inline auto UssdRegex = "^[\\*\\#].*[\\#]$";

    class UssdRequest : public Request
    {