Title: Samsung Enterprise Portal mySingle

Hi,

Thank you very much for your reply.

I know about bt_unit_test and tried it, but I think it requires popup in UI for the pairing confirmation.

I don't have the UI up right now since Graphics is not up. I just booted the device till command prompt.

So, I wanted to use "bluetoothctrl" which is the standard Bluetooth setup command in Linux.

 

So, I wanted to know why rpm contains this bluetoothctrl command.

 

 

Thank You!
With Regards,
Pintu Kumar

 

------- Original Message -------

Sender : dohyun pyun<[email protected]> S5/Senior Engineer/Tizen Platform Lab./Samsung Electronics

Date : Mar 15, 2016 14:41 (GMT+05:30)

Title : Re: [Dev] Fwd: Tizen common 3.0 - Bluetooth setup and communication

 

Hi Pintu,

 

To use bluetooth functionality, we should launch bt-service daemon and set some flags.

So you need to use Tizen Native API instead of using console command.

 

Above link, you can download capi-network-bluetooth-test package. (Attachement)

https://download.tizen.org/snapshots/tizen/common/latest/repos/arm-wayland/packages/armv7l/

 

After installing the package, you can use 'bt_unit_test'.

 

bt_unit_test will call Tizen Native APIs and will launch bt-service.

 

I add Tizen platform's Bluetooth engineers, so you can ask us directly in later.

(HQ: Pyun / Woo / Lee, SRI-B: Sudha / Sandeep / Paras)

 

* Enable

17 -> 3 -> 2

 

* Scan

17 -> 3 -> 5

 

* Pair

17 -> 0 -> Input peer address -> 5 -> 11

 

bash-3.2# bt_unit_test

key_event_cb:6854()

tc_usage_print:655() Key 0 : usage SET ADDRESS
tc_usage_print:655() Key 1 : usage bt_initialize
tc_usage_print:655() Key 2 : usage bt_deinitialize
tc_usage_print:655() Key 3 : usage Adapter
tc_usage_print:655() Key 4 : usage Adapter LE
tc_usage_print:655() Key 5 : usage Device
tc_usage_print:655() Key 6 : usage Socket
tc_usage_print:655() Key 7 : usage Opp
tc_usage_print:655() Key 8 : usage Audio(ag, a2dp, call)
tc_usage_print:655() Key 9 : usage Pan(nap, panu)
tc_usage_print:655() Key 10 : usage Gatt
tc_usage_print:655() Key 11 : usage HPS
tc_usage_print:655() Key 12 : usage Avrcp
tc_usage_print:655() Key 13 : usage Hid
tc_usage_print:655() Key 14 : usage IPSP
tc_usage_print:655() Key 15 : usage HDP
tc_usage_print:655() Key 16 : usage Automated test
tc_usage_print:655() Key 17 : usage Initialize All
tc_usage_print:655() Key 255 : usage FINISH 

 

Thanks,

Pyun

 

------- Original Message -------

Sender : PINTU KUMAR<[email protected]> Senior Chief Engineer/SRI-Bangalore-Kernel & BSP/Samsung Electronics

Date : 2016-03-15 17:43 (GMT+09:00)

Title : [Dev] Fwd: Tizen common 3.0 - Bluetooth setup and communication

 

Hi,

I haven't received the reply yet.

If this is not the right forum, please point me to the correct mailing list related to bluez.

 

 

Thank You!
With Regards,
Pintu Kumar

 

------- Original Message -------

Sender : PINTU KUMAR<[email protected]> Senior Chief Engineer/SRI-Bangalore-Kernel & BSP/Samsung Electronics

Date : Mar 14, 2016 14:59 (GMT+05:30)

Title : Tizen common 3.0 - Bluetooth setup and communication

To : [email protected] Vishnu Pratap Singh<[email protected]> Rohit Kumar<[email protected]>

 

Dear Tizen Mailing list,

 

I need help to setup Bluetooth (power on, connect, pair, send/receive char) from command line.

I am using Tizen common 3.0 image from here:

https://download.tizen.org/snapshots/tizen/common/latest/images/arm-wayland/common-wayland-3parts-armv7l-odroidu3/

And, my hardware is: Raspberry Pi (BCM2836).

I am able to boot the Tizen platform successfully, and get the login prompt (For know command line login is fine, and I don't need the full UI).

Also, I am able to connect WIFI using the connmanctrl.

 

But, I am not able to configure Bluetooth from commands.

I am using the Bluetooth USB dongle, and all drivers/firmware are loaded successfully.

I am also able to scan the nearby Bluetooth devices using:

# hcitool scan

Scanning.....

AA:BB:CC:DD:EE:FF:GG    <Samsung Z1>

But, now what, I wanted to know how to connect & pair with these BT devices from commands.

I have only the following commands in my image:

hciconfig, hcitool, hciattach,

sdptool,

Bluetooth-fwk-test,

Bluetooth-share

 

Note, I don't have the "bluetoothctrl" command present on Tizen.

I tried this on Raspberry Pi Raspbian platform, it works perfectly fine using bluetoothctrl.

 

So, my question is:

How can I install bluetoothctrl command on Tizen common 3.0 image?

Please point me to the Tizen repo that contains this package.

I can use GBS build & RPM command to install this package and get bluetoothctrl command.

 

Once, this is solved, then I have few more questions to discuss.

Please help.....

 

 

Thank You!
With Regards,
Pintu Kumar

 

 

_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev

Reply via email to