linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Device doesnt show up on Ble Scanner - gatt-service example in tools folder as per Documentation(doc)
@ 2021-08-29 18:12 Raul Piper
  2021-08-31  6:28 ` Raul Piper
  0 siblings, 1 reply; 5+ messages in thread
From: Raul Piper @ 2021-08-29 18:12 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: kernelnewbies

Hello,
I tried cross compiling the bluez and ported it to my linux platform.I
think i have done it correctly as I am able to launch the gatt-service
example successfully but i am not able to view it on the Smartphone
app - blescanner or light blue.

Below are the logs :
===============================================
./gatt-service
gatt-service unique name: :1.18
Registered service: /service1
Registered service: /service2
Registered service: /service3
Get Primary: True
Get UUID: 00001802-0000-1000-8000-00805f9b34fb
Exist Includes: 00001802-0000-1000-8000-00805f9b34fb
Get Includes: 00001802-0000-1000-8000-00805f9b34fb
Includes path: /service3
Get Includes: /service2
Characteristic(00002a06-0000-1000-8000-00805f9b34fb): Get("Value")
Descriptor(8260c653-1a54-426b-9e36-e84c238bc669): Get("Value")
Get Primary: True
Get UUID: A00C
Exist Includes: A00C
Characteristic(00002c07-0000-1000-8000-00805f9b34fb): Get("Value")
Descriptor(FFFF): Get("Value")
Get Primary: True
Get UUID: A00D
Exist Includes: A00D
Characteristic(00002b06-0000-1000-8000-00805f9b34fb): Get("Value")
Descriptor(0260c653-1a54-426b-9e36-e84c238bc669): Get("Value")



I also tried to run the python example inside test/example-gatt-server
but again I am not able to view the device name.

Below are the logs :
=======================================
python3 example-gatt-server
example-gatt-server:395: PyGIDeprecationWarning: GObject.timeout_add
is deprecated; use GLib.timeout_add instead
  GObject.timeout_add(5000, self.drain_battery)
example-gatt-server:652: PyGIDeprecationWarning: GObject.MainLoop is
deprecated; use GLib.MainLoop instead
  mainloop = GObject.MainLoop()
Registering GATT application...
GetManagedObjects
GATT application registered

I even opened the btmon on a different tab but still I am not able to
see anything on that.
Is there any other application we have to run?
Has any one ran  it successfully and able to view/connect and see all
the 3 services it is advertising.

Please advise / ask for any further information , I will provide.

Thanks in advance !

Regards,
R

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-09-25 21:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-29 18:12 Device doesnt show up on Ble Scanner - gatt-service example in tools folder as per Documentation(doc) Raul Piper
2021-08-31  6:28 ` Raul Piper
2021-08-31  6:38   ` Luiz Augusto von Dentz
2021-08-31  8:40     ` Raul Piper
2021-09-25 21:33       ` jim.cromie

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).