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

    Bluetooth Serial for Tab5

    Scheduled Pinned Locked Moved PRODUCTS
    3 Posts 3 Posters 1.4k Views
    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.
    • M Offline
      MortenComadan
      last edited by

      Dear Forum,

      I have a project that relies on Bluetooth serial for communicating with a OBD2 Car Scanner.
      And I would like to use the Tab5. I have one, so even if it might be overkill that's what I'm trying.

      However I cannot find an example on how to use Bluetooth with the Tab5.
      Most of the examples wont work because the Tab5 have a wireless coprocessor instead of the main processor being the wireless module.
      I have searched high and low, and tried ChatGPT and the chatbot here.

      The best I can find is to rewrite the ESP32-C6 firmware or make a wrapper class for the ESP32-C6.

      Morten, Denmark.

      B 1 Reply Last reply Reply Quote 0
      • B Offline
        BR123456 @MortenComadan
        last edited by

        @MortenComadan Hi,
        If your OBD2 scanner can work with BLE protocols, you can take a look at the following look for some guidance:
        https://uiflow-micropython.readthedocs.io/en/latest/system/m5ble.html

        There are examples there and some basic info on the higher level functions to handle BLE.

        1 Reply Last reply Reply Quote 0
        • easytargetE Offline
          easytarget
          last edited by

          Hi @MortenComadan ; you don't mention what your project is based on for code; Arduino/ESP-IDF/MicroPython/UFlow2 etc..

          For the tools where Expressif have got involved the support should be there already. The C6 co-processor gets a standard firmware (that talks via QSPI to the P4) and the P4 IDF libraries know how to use this.

          • What I'm unsure about is exactly which features are actually implemented in the ESP IDF; I want to use bluetooth audio sink features.. eventually.

          If (like me) you are into MicroPython then good news. V1.27.0 was released a couple of days ago and has official P4 support: https://github.com/micropython/micropython/releases/tag/v1.27.0

          UFlow2 is based on an older micropython version; I'm not sure how much of the P4 stuff they may have backported.

          I only got my Tab5 today, I'm going to be installing micropython 1.27 asap.

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post