How to set up a serial port with a paired BT device and get the file descriptor of it
How to set up a serial port with a paired BT device and get the file descriptor of it
- Subject: How to set up a serial port with a paired BT device and get the file descriptor of it
- From: Anton Albajes-Eizagirre <email@hidden>
- Date: Wed, 01 Feb 2012 17:16:17 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I got a IOBluetoothDevice device paired, and i'd like to set up a serial port to the paired device, and get the file descriptor of it. This is intended to be a mac port of an existing software, and thus i need to use the file descriptor to write/read to/from the serial port rather than using the available rfcomm methods at the framework.
I've been trying to figure out how to do it by reading the IOBluetoothRFCOMMChannel class reference, but I'm rather lost. Anyone that can point me to where to begin?
Many thanks,
Anton
- --
Anton Albajes-Eizagirre
Researcher and Project Manager
Starlab Consulting Division
Starlab
C/Teodor Roviralta, 45
08022 – Barcelona - Spain
tel. +34 93 254 03 70, ext 42
mob. +34 670 02 14 19
fax. +34 93 212 64 45
skype. antonae
e-mail. email@hidden
PGP public key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x676FFE1C363C2AF0
___________________________________________________________
STARLAB, Living Science http://starlab.es
This e-mail and the attached files contain confidential information and
are of exclusive use for the addressee. The disclosure, copy and
distribution of the present message and its attachments are prohibited.
If you are not the intended recipient and you receive this
communication, we inform you that it is forbidden by law to read copy or
use it. Please notify us at email@hidden and proceed immediately to
delete it.
We inform you that your personal data are stored under the responsibility
of Starlab Barcelona, S.L. solely for the purposes of maintaining a business
relationship with you or your company.According to the provisions of the
LOPD15/1999, you may exercise your rights of access,opposition,modification
or cancellation at email@hidden or at Teodor Roviralta nº45, 08022 Barcelona.
Este correo electrónico y los archivos adjuntos al mismo [en su caso]
contienen información confidencial y de uso exclusivo para su
destinatario o destinatarios. Queda prohibida la divulgación, copia o
distribución de la información contenida en el mismo y, en su caso, de
la información contenida en los archivos que pueda llevar adjuntos. Si
usted recibe este correo por error, no siendo el destinatario del mismo,
le indicamos que por ley no le está permitido la lectura, copia y uso
del mismo. Se ruega lo notifique lo antes posible a la dirección
email@hidden y proceda a borrar el mensaje inmediatamente después.
Le informamos que sus datos forman parte de un fichero responsabilidad
de Starlab Barcelona, S.L., y serán tratados con la finalidad de mantener
la relación negocial con usted o su empresa. Conforme a lo establecido
en la L.O. 15/1999 podrá ejercer sus derechos de acceso, rectificación,
cancelación y oposición a email@hidden o a Teodor Roviralta nº 45, 08022
Barcelona.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
iEYEARECAAYFAk8pZVEACgkQZ2/+HDY8KvBfjQCeLd+l+Ss1tQ/6eD8Em4h0V2aQ
UdoAn1Xr3vf7jBIcm7R3q//8UWnmKbWl
=OJkt
-----END PGP SIGNATURE-----
_______________________________________________
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