I'm using the bluez-4.101 stack with kernel 3.0.35 Now I'm able to connect to the peripheral through gatttool, though the connection is not always stable.
When I list the primary services, there is no uuid for the DIS in the output list. That lists the thermometer and battery state like services from the plugins. Why deviceinfo is not listed?
From the code I have seen that the deviceinfo plugin doesn't uses the DBUS connection while the other services does use.
In the bluetoothd logs I get 'Not enough free handles to register service', so the deviceinfo doesn't seem to be registered, while the other services get registered after it. What causes this error to come and why there is no gatt_service_add function for deviceinfo?
Edit: Why does the iOS app(LightBlue) doesn't recognises the advertisement and connect to the device while in android apps the advertisement is detected as iBeacon? In android apps also the connection is not always stable?