Re: [TIVI-3.0] Bluetooth SPP Connection Test

2013-07-23 Thread Rees, Kevron
please be a little more specific.  Is this a native application?  Web
application?

For native, the pattern is to use DBus proxy calls.  This is what we do in
the Automotive Message Broker:

https://github.com/otcshare/automotive-message-broker/blob/master/plugins/obd2plugin/bluetooth.hpp

For web apps, the tizen web API is documented here:
https://developer.tizen.org/documentation/dev-guide?redirect=https%3A//developer.tizen.org/help/topic/org.tizen.web.appprogramming/html/api_reference/api_reference.htm

Search for "Bluetooth API" and look for BluetoothSocket.  You'll find a
definition of the API and how to create the socket connection.

regards,
Kevron



On Tue, Jul 23, 2013 at 12:46 AM, Joshua Kim  wrote:

> How to make a connection with phone through bluetooth serial profile(spp).
> **
>
> I already installed 'bluez-test' by zypper.
>
> Please let me know to make the spp connection step by step.
>
>
> **
>
> [My environment]
>
> TIVI-3.0 - 20130702.11
>
> NDIS-166
>
> --
> 
>
> KyungTaek Kim
> Email:joshua79@gmail.com
>
> ___
> IVI mailing list
> IVI@lists.tizen.org
> https://lists.tizen.org/listinfo/ivi
>
>
___
IVI mailing list
IVI@lists.tizen.org
https://lists.tizen.org/listinfo/ivi


RE: [TIVI-3.0] Bluetooth SPP Connection Test (Joshua Kim)

2013-07-23 Thread prasanna
1. Query the phone's service to which you want to connect to using 
"sdptool browse "

 and finds its channel number

2. Create a RFCOMM session from commandline using rfcomm utility,
rfcomm connect hci0  
channel no should be the one you found from step 1.
Refer rfcomm man page for usage.

The steps involve creating rfcomm socket, connect over btproto, send 
data from client side.

___
IVI mailing list
IVI@lists.tizen.org
https://lists.tizen.org/listinfo/ivi


[TIVI-3.0] Bluetooth SPP Connection Test

2013-07-23 Thread Joshua Kim
How to make a connection with phone through bluetooth serial profile(spp).**

I already installed 'bluez-test' by zypper.

Please let me know to make the spp connection step by step.


**

[My environment]

TIVI-3.0 - 20130702.11

NDIS-166

-- 


KyungTaek Kim
Email:joshua79@gmail.com
___
IVI mailing list
IVI@lists.tizen.org
https://lists.tizen.org/listinfo/ivi