🤖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

    UiFlow 2.0
    1
    3
    638
    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
      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
        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
          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
          • First post
            Last post