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

    I want M5StickC can use BLE via Uiflow/microPython

    Features Wish List
    4
    4
    7.0k
    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.
    • T
      takoshiut8
      last edited by

      I wish M5StickC can use BLE via Uiflow/microPython

      Here is my experience:
      I try to customize existing microPython code below for my use. I thought this program can execute Switchbot via BLE for a little custom.
      MicroPython project / Co2 HAT & M5StickC / Data storage uses Ambient

      I search around information, I finally understood latest ESP board and microPython handle Bluetooth api, but Uiflow/microPython of M5StickC cannnot support it.

      F 1 Reply Last reply Reply Quote 3
      • F
        flex @takoshiut8
        last edited by

        @takoshiut8
        Hi
        I also would like BLE to be implemented for M5StickC Plus
        Thanks

        1 Reply Last reply Reply Quote 1
        • M
          mrsteveman1
          last edited by

          Some of the boards do support BLE in UIflow, specifically Core2, Fire, and Tough show Blynk BLE and Nordic BLE UART services under the Advanced menu.

          There doesn't appear to be general support for custom BLE services and characteristics in UIflow itself at the moment, but the micropython modules may still be present in firmware, I haven't looked yet. If so, you could potentially run them from an Execute block, or someone could make a custom block for common BLE services.

          Whether it's intentional or a coincidence, the boards that show BLE support in UIflow all happen to have psram, so it's possible they did that to avoid crashes that would be hard for inexperienced users to diagnose.

          On the other hand, UIflow doesn't show any BLE services for Atom psram and M5Stack paper, even though they both have psram, but that could be an oversight.

          M 1 Reply Last reply Reply Quote 2
          • M
            M5Stack_AG @mrsteveman1
            last edited by

            @mrsteveman1 Hi there! I will forward your request to our technical support, thank you for letting us know!

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