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

    Receiving response from BLE server

    Scheduled Pinned Locked Moved UiFlow 2.0
    3 Posts 1 Posters 2.2k Views 1 Watching
    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.
    • C Offline
      Calvorotas
      last edited by

      I am trying to receive a bytearray via BLE from a server, but I can't get a response.

      By sending a certain bytearray via BLE to the Sbrick device, it returns a response indicating the temperature value. And through another bytearray, the voltage value is returned.

      In App Inventor I get it with these blocks: Image 1.png Image 2.png

      But in UiFlow 2.0 I can't get it using these blocks:
      Image 3.png Image 4.png

      What am I doing wrong?

      Thank you very much for the help.

      1 Reply Last reply Reply Quote 0
      • C Offline
        Calvorotas
        last edited by

        Is it possible that this block will not trigger the server response?
        8a545f1f-2324-45eb-8fbf-10182d66003e-imagen.png

        Perhaps, the mode argument is mode=0 (write-without-response). Or am I mixing up different things?

        134d60dd-78ab-4663-9e6a-6ee8690ff78a-imagen.png

        Please, someone who controls all this and can help me a little.
        Thank you very much.

        1 Reply Last reply Reply Quote 0
        • C Offline
          Calvorotas
          last edited by

          Hi,

          I can't get a response from the server with the "When BLE client on notify" block or with the "When BLE client on read complete" block

          I need help, or a lot of help. :)

          uiflow2_block_1725040150735.png

          Thanks.

          1 Reply Last reply Reply Quote 0
          • C Calvorotas referenced this topic on

          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