🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    SORACOM 3G Module support in UI Flow

    UIFlow
    uiflow
    4
    10
    18.7k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • cinimlC
      ciniml
      last edited by

      Hi.

      Is there any support for SORACOM 3G Module in UI Flow?

      I found the Cellular module is implemented in some recent version of UI Flow.
      But I cannot make it work with the SORACOM 3G Module, since the gprsConnect() always returns False.

      getSimState() returns True, so the SIM is inserted and recognized by the 3G module correctly.

      By the way, I've made the 3G module work with customized MicroPython whose PPP module is enabled.
      I think all you have to do is to just enable the PPP module of MicroPython in order to support the SORACOM 3G Module, and other GSM/3G/LTE modules may also be supported with a few python code to enter these modules to PPP mode.

      So there is another question.
      Do you have any plan to enable the PPP module of MicroPython in the UI flow firmware?
      It, I think, expands the UI flow communication capability greatly.

      Thanks in advance.

      ozbkO T 2 Replies Last reply Reply Quote 0
      • ajb2k3A
        ajb2k3
        last edited by

        Please post this on the UIFlow bug report page on github.

        https://github.com/m5stack/UiFlow-Bug-Report/issues

        UIFlow, so easy an adult can learn it!
        If I don't know it, be patient!
        I've ether not learned it or am too drunk to remember it!
        Author of the WIP UIFlow Handbook!
        M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

        1 Reply Last reply Reply Quote 0
        • cinimlC
          ciniml
          last edited by

          Do you mean that the Cellular module should be work with SORACOM 3G module but it's currently not working due to some bugs?
          Or should I request enabling PPP module as a feature request?

          ajb2k3A 1 Reply Last reply Reply Quote 0
          • ajb2k3A
            ajb2k3 @ciniml
            last edited by

            @ciniml just add a feature request, sorry just woke up.

            UIFlow, so easy an adult can learn it!
            If I don't know it, be patient!
            I've ether not learned it or am too drunk to remember it!
            Author of the WIP UIFlow Handbook!
            M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

            cinimlC 1 Reply Last reply Reply Quote 0
            • cinimlC
              ciniml @ajb2k3
              last edited by

              @ajb2k3 Thanks for your suggestion. I've posted a new feature request to request enabling PPP module.
              https://github.com/m5stack/UiFlow-Bug-Report/issues/29

              1 Reply Last reply Reply Quote 0
              • ozbkO
                ozbk @ciniml
                last edited by

                @ciniml You can try to run this example soracom_time.m5f

                cinimlC T 2 Replies Last reply Reply Quote 0
                • cinimlC
                  ciniml @ozbk
                  last edited by

                  @ozbk Thanks for sharing the example.
                  I've tried the example with my M5Stack BASIC + SORACOM 3G module, with SORACOM plan-d SIM.
                  But I found that it does not proceed to "connecting host" state, since the gprsConnect() always returns False.

                  Does this example work in Japan?

                  1 Reply Last reply Reply Quote 0
                  • T
                    teiafra @ozbk
                    last edited by

                    @ozbk Thanks a lot for sharing the example.
                    Could you please provide explanation or point me where each cellular block of UIFlow are described to understand their usage and succeed to manage the COM.LTE module since from its first installation onto M5S-Core?

                    In what order those blocks are supposed to be called in a more general flow? E.g do I have to start with cellular.init (you did not use it and instead call for restart after SIM is checked)

                    I complain that that entire palette of blocks is not documented at all :-(

                    T 1 Reply Last reply Reply Quote 0
                    • T
                      teiafra @teiafra
                      last edited by

                      @teiafra said in SORACOM 3G Module support in UI Flow:

                      @ozbk Thanks a lot for sharing the example.
                      Could you please provide explanation or point me where each cellular block of UIFlow are described to understand their usage and succeed to manage the COM.LTE module since from its first installation onto M5S-Core?

                      In what order those blocks are supposed to be called in a more general flow? E.g do I have to start with cellular.init (you did not use it and instead call for restart after SIM is checked)

                      I complain that that entire palette of blocks is not documented at all :-(

                      I continue to dig and compared your Soracom flow with the example on SI800 available here.
                      If I may guess many blocks of module.CELLULAR library, the biggest doubt is about modem initialization and communciation ports setting.

                      The SIM800 flow clearly set the UART rx/tx channels in the init function while I do not understand in your Soracom example if the cellular.init or cellular.restart block of the library avoid to do this UART setting. Do the Core and the Module communicate each other automatically?

                      Similarly, Arduino code to drive COMx.LTE also sets up the tx/rx as reflected by the dip switches: does the Cellular UIflow blocks avoid the user to care of it, instead? That would be wonderful!

                      What difference is between "send" and "sendline" function block?

                      Any help is really appreciated!!

                      1 Reply Last reply Reply Quote 0
                      • T
                        teiafra @ciniml
                        last edited by

                        @ciniml could you please explain the new Cellular UIfow blocks and give an example on how to use them in sequential order?

                        I also saw the Soracom m5f example and I wonder if the flow can start as it did, checking the SIMstate without setting any UART communication in advance?

                        If I start running just the first two instructions, shall I expect returned True as you?

                        I'm chasing who can help me in using the COMx.LTE module with those UIflow methods

                        Thanks

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post