We are writing an Android app for our own peripheral (nRF51-based). We know the handles for all the characteristics.
On Android gatt.discoverServices() needs to be called, and wait for onServicesDiscovered(), then getServices(), before the Characteristic object is available.
This is very time-consuming, and often onServicesDiscovered() does not get called (despite connection success).
Is there a way to directly to write to an attribute handle or a characteristic UUID, bypassing all the discovery steps?