• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: HOWTO: Mac OS X Bluetooth Serial Ports on Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HOWTO: Mac OS X Bluetooth Serial Ports on Leopard


  • Subject: Re: HOWTO: Mac OS X Bluetooth Serial Ports on Leopard
  • From: Ralf Menssen <email@hidden>
  • Date: Mon, 31 Dec 2007 12:45:12 +0100
  • Thread-topic: HOWTO: Mac OS X Bluetooth Serial Ports on Leopard

When a device has a serial port and this port is announced in the Service
Directory Protocol, the pairing process  generates a serial port. These
ports look like (listed in "Terminal" by " ls /dev"):

cu.Bluetooth-Modem
cu.NM_NokiaN73_DIALUP-1
cu.Nokia3110c-COM1-1


You can check which ports are created for a device in "System Preferences >
Bluetooth" select the device, then "Advanced...".

For test purposes you can use "ZTerm" to communicate with a device using
these ports.

Now you can use standard IO functions to operate on the serial ports.

Alternatively you can use the Bluetooth Manager functions, there is a sample
app in the developer expamples:

/Developer/Examples/Bluetooth/RFCOMM_Open_SPP_Example

Regards,

Ralf


On 31.12.2007 7:09 Uhr, "Michael A. Crawford" <email@hidden>
wrote:

> I have an embedded device that communicates via BT SPP and I would
> like to talk to it using these ports.
>
> Anyone have a clue how to make these work? Instead of writing a custom
> Bluetooth application, I though it would be much easier and faster to
> take some test code I have from an embedded platform and make it talk
> to a standard TTY driver.  But I have not quite figured out how to get
> create, manage, and connect Bluetooth serial ports on Leopard.
>
> Anyone have any experience with this?
>
> -Michael
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Bluetooth-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

--
=======================================
Ralf Menssen

Hektorstr. 20
10711 Berlin
Germany
Tel.:  030-54710131
Mobil: 0163-6404842
Mail: email@hidden
=======================================



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >HOWTO: Mac OS X Bluetooth Serial Ports on Leopard (From: "Michael A. Crawford" <email@hidden>)

  • Prev by Date: Re: OBEXFileTransferServices delegate method trouble
  • Next by Date: Re: HOWTO: Mac OS X Bluetooth Serial Ports on Leopard
  • Previous by thread: HOWTO: Mac OS X Bluetooth Serial Ports on Leopard
  • Next by thread: Re: HOWTO: Mac OS X Bluetooth Serial Ports on Leopard
  • Index(es):
    • Date
    • Thread