2015-02-03 08:33:42

by Bharat Bhusan Panda

[permalink] [raw]
Subject: Unable to setup GATT


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