Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. System Admin
  4. Bluetooth - serial or SPI?

Bluetooth - serial or SPI?

Scheduled Pinned Locked Moved System Admin
tutorialquestion
3 Posts 2 Posters 6 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.
  • V Offline
    V Offline
    Vaclav_
    wrote on last edited by
    #1

    I have been unable to find out if Bluetooth spec actually specifies how to connect to the device. Most application talk about two basic parts of the technology - the interface ( serial AKA modem, SPI, USB ) and the RF. And I though these devices could communicate among each other on their own ( as instructed) - for example passing the payload "down the pipe" sort off. Perhaps real pipe dream? And please - no Google it ! I did.

    L 1 Reply Last reply
    0
    • V Vaclav_

      I have been unable to find out if Bluetooth spec actually specifies how to connect to the device. Most application talk about two basic parts of the technology - the interface ( serial AKA modem, SPI, USB ) and the RF. And I though these devices could communicate among each other on their own ( as instructed) - for example passing the payload "down the pipe" sort off. Perhaps real pipe dream? And please - no Google it ! I did.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Bluetooth is just short range network communication, so it use sockets. And, yes, Google does find the samples: bluetooth socket c - Google Search[^].

      V 1 Reply Last reply
      0
      • L Lost User

        Bluetooth is just short range network communication, so it use sockets. And, yes, Google does find the samples: bluetooth socket c - Google Search[^].

        V Offline
        V Offline
        Vaclav_
        wrote on last edited by
        #3

        Actually I was looking for the interface to Bluetooth device at hardware level - Arduino to be precise. From few sources I gather that at that level and with serial ( TX /RX) I/O it is just a modem communication with the host processor using plain Hayes AT protocol. I suppose SPI interface would work similar - converting to AT commands if necessry. At this point I am not that concerned how the Bluetooth device communicates with another Bluetooth device or how it handles networking between multiple devices. That will come later.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups