Hi All,

Does anybody knows how to develop a simple Bluetooth application to communicate
between 2 devices.
If anybody have already developed a sample code, please share it.
If could be either Tizen 2.4 or 3.0. Basically, I wanted to know the steps that
needs to be followed.
The main thing is, it should use the Tizen Bluetooth CAPI to communicate.

My requirement is as follows:
1) I have 2 Tizen devices available. One device is having Tizen 2.4 with UI
(Device1), and another device there is no UI and it's a console device with user
login and a shell (Device2).
2) Both the devices are successfully connected with Bluetooth and paired.
3) My console device (Device1) will act as a server, that can accept some
commands over Bluetooth.
4) My UI device (Device2) will act as a client that will send some commands to
Device1 over Bluetooth.
5) The commands are just simple alphabet characters, say: P,A,B,C,D,E,F,G,H,S
6) On the server side (Device2), it's my own custom Tizen device, so I have full
access permission.
7) On the server side, I am running a simple Linux based BT server daemon using
BT socket stream (AF_BLUETOOTH).
     [This is working fine, as verified on normal Linux PC]
8) On the client side (Device1), it's a Tizen 2.4 device with display. Here I
want to develop a SDK based Tizen Bluetooth application (using Tizen Bluetooth
API), so that I can send command from here to the server (Device2).

If anybody knows how to write Tizen BT client application which can send request
to any Linux BT socket (RFCOMM, SOCK_STREAM based) server application, please
help.

https://developer.tizen.org/development/tutorials/web-application/tizen-features
/network/bluetooth/task-bluetooth-chat 
https://review.tizen.org/gerrit/gitweb?p=framework/api/bluetooth.git;a=tree;f=te
st;h=34801c4957edef94212db22d006b84c589e69e22;hb=refs/heads/tizen_2.4 
I have already seen these existing bt-unit-test and Bluetooth chat application,
but those are not so much useful to me.
I need a simple API to connect and send message using the BT MAC address of
server device.
Note that the BT pairing will be already done manually, so I don't need to add
API for pairing.

If anybody can suggest me the steps to create the App, it will be helpful for me
to try.

Thank you!
Regards,
Pintu


_______________________________________________
Dev mailing list
Dev@lists.tizen.org
https://lists.tizen.org/listinfo/dev

Reply via email to