Hi,
Unfortunately I do not know your device's requirements so I can just guess that the device:
* requires pairing but nor paired;
* does not require pairing and uses connection without authentication but application uses authentication (BluetoothClientDemo uses authentication by default);
* wrong pin code provided during pairing.