Skip to contentSkip to conversation

Unable to setup GATT

DISCUSSION Bharat Bhusan Panda 1 participant 1 message Feb 3, 2015 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hi,

We are trying to setup two machines, with btgatt-server and btgatt-client running on either side.

On btgatt-server: (--index hci0 -r)
1. hciconfig hci0 up
2. hciconfig hci0 leadv
3. bluetoothd is running with -ndE option.

"Started listening on ATT channel, waiting for connections"

On btgatt-client: (--index hci0 -d <server addr>)
1. hciconfig hci0 up
2. bluetoothd -ndE

After running btgatt-client with above options, it gets connected to btgatt-server and returns below error message,
"GATT Discovery procedure failed - error code 0x0a"
Which means "ATTR_NOT_FOUND", and ATT is not ready.

Could anyone please help us, if we missed any steps to make the gatt server/client up and running?

Thanks,
Best Regards,
Bharat