• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
GUI-O Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login

Connects in Notify mode, but no data sent

Scheduled Pinned Locked Moved
Report Bugs
2
4
446
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
    Monolit
    last edited by 18 Aug 2021, 08:25

    Trying to use a device with BLE 5.0 operating in notification mode.
    GUI-O app reports proper connection but no response from the device.
    Debugging the device software shows that no data (@INIT) seem to come from GUI-O.
    I am really stuck here as I have no Idea of what GUI-O do to verify proper transmission?
    I suppose that "connected" mean that all BLE-negotiations were settled ok?
    I also suppose that "Connected device not responding" mean that GUI-O have sent @INIT
    without problem and now is expecting at least some setup data coming back. Right?

    Any hint how I can further characterize the problem?
    /Monolit

    1 Reply Last reply Reply Quote 0
    • K
      kl3m3n
      last edited by kl3m3n 19 Aug 2021, 19:42

      Hello!

      Yes, you are correct - if the underlying descriptor supports notifications, the connection should be successful (a notification "Notifications for characteristic enabled" should be displayed and GUI-O should show "Connected" status).

      Yes, "Connected device not responding" means that GUI-O application received no data (which was expected in a certain time interval after pressing the initialization button).

      Firstly, you can try enabling local logging under the Developer mode menu. Navigate to Info menu and press Application version 10 times. A new menu entry should appear at the bottom (Developer mode). Please enable log incoming and log outgoing messages.

      Retry your setup and exit the GUI-O app. Use a file manager to navigate to Android/data/com.guio.guioapp/files and check in_messages and out_messages logs. Is there any data there?
      Note that for Android 11 you will probably need a PC to access this directory (due to Android restrictions).

      Next, you could also try ignoring the initialize button and send the data from your device to the GUI-O application after successful connection (you don't need to trigger the @init command, GUI-O can still receive data).

      I will try to check with my Bluetooth LE module tomorrow and will report back.

      Best regards

      1 Reply Last reply Reply Quote 0
      • K
        kl3m3n
        last edited by 21 Aug 2021, 13:07

        Here is a working example of Bluetooth LE with GUI-O, but it uses ESP32 module...

        https://forum.gui-o.com/topic/19/basic-bluetooth-le

        The tutorial video is coming soon.

        Hope this helps.
        Regards.

        1 Reply Last reply Reply Quote 0
        • K
          kl3m3n
          last edited by kl3m3n 17 Jan 2022, 08:22

          NOTE: The application now supports NUS (Nordic UART Service) for BLE. As always, use the latest app version (Google Play or www.gui-o.com).

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