sudo ./main -d B4:99:4C:64:B2:2B -t public -s low -v btgatt-client: Opening L2CAP LE connection on ATT channel: src: 00:00:00:00:00:00 dest: B4:99:4C:64:B2:2B Connecting to device... Done started discovery request and returning out of gatt_client_init GATT Client created returning reference client->in_init: 1 client->ready: 0 when will client->ready be true in btgatt-client.c Thank you, Naga On Wed, Apr 27, 2016 at 3:08 PM, NagaChaitanya Vellanki <nagachaitanya.vellanki@xxxxxxxxx> wrote: > More context info here > > sudo ./main -d B0:34:95:58:E5:08 > Connecting to device... Done > [GATT client]# help > Commands: > help Display help message > services Show discovered services > read-value Read a characteristic or descriptor value > read-long-value Read a long characteristic or desctriptor value > read-multiple Read Multiple > write-value Write a characteristic or descriptor value > write-long-value Write long characteristic or descriptor value > write-prepare Write prepare characteristic or descriptor value > write-execute Execute already prepared write > register-notify Subscribe to not/ind from a characteristic > unregister-notify Unregister a not/ind session > set-security Set security level on le connection > get-security Get security level on le connection > set-sign-key Set signing key for signed write command > [GATT client]# services > GATT client not initialized > [GATT client]# > > Would like to understand what needs to be done to initialize the GATT Client. > > Thank you, > NagaChaitanya Vellanki > > On Wed, Apr 27, 2016 at 12:15 PM, NagaChaitanya Vellanki > <nagachaitanya.vellanki@xxxxxxxxx> wrote: >> Hi all, >> I am trying to run the btgatt-client.c example in the source >> code(http://git.kernel.org/cgit/bluetooth/bluez.git/tree/tools/btgatt-client.c) >> to connect to the TI sensor tag. But I am getting 'GATT Client not >> initialized'. Please let me know how can i initialize the GATT >> Client?. >> >> Thank you, >> NagaChaitanya Vellanki -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html