linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* how to test Bluez/profile?
@ 2020-01-02 13:06 jonghwan Choi
  0 siblings, 0 replies; only message in thread
From: jonghwan Choi @ 2020-01-02 13:06 UTC (permalink / raw)
  To: linux-bluetooth

Hi all

 I would like to implement something new in the profile (Bluez 5.52)
So I'm testing how it works first.

A. btgatt-server test

I ran btgatt-server on pc and ble scanner app on mobile.
I can see the heart rate service in the ble scanner and read / write.
it works well!!!

But...

B. bluez/profile test
The tests were performed in the following order.

1.sudo ./bluetoothd --plugin=deviceinfo -nEd

2. run the hciconfig command

$ sudo hciconfig hci0 up

$ sudo hciconfig hci0 noleadv

$ sudo hciconfig hci0 noscan

$ sudo hciconfig hci0 pscan

$ sudo hciconfig hci0 leadv

In the ble scanner of mobile, other services except 0x1800 and 0x1801
are not visible.
Even if I change --plugin = xx, the service does not appear in the ble scanner.
 Not even in btgatt-client.


gatt_db_service_get_claimed () has also been modified, but it does not work.



Please guide me how to test bluez / profile.

 thanks.

best regards.!

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-01-02 13:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-02 13:06 how to test Bluez/profile? jonghwan Choi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).