Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to determine Bluetooth end of transmission
Forum Updated to NodeBB v4.3 + New Features

How to determine Bluetooth end of transmission

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
bluetooth rfcomandroid
1 Posts 1 Posters 294 Views 1 Watching
  • 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.
  • O Offline
    O Offline
    ouscn
    wrote on 8 Jul 2020, 11:00 last edited by ouscn 7 Aug 2020, 11:03
    #1

    I am trying to make a host socket for Bluetooth/rfcomm that will receive serialized .json packets. Problem is I do not know the size of these packets. Documentation mentions read and read line functionality. Additionally we can determine how many bytes are waiting to be read. However I don't understand how to parse data that are unknown size and have no specific end character.

    Do I have to wait for some time that data is not received to read the complete .json packet? Does rfcomm or Bluetooth even provide any functionality to determine end of the transmission? What happens when these .json packets arrive back to back?

    1 Reply Last reply
    0

    1/1

    8 Jul 2020, 11:00

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved