I´m developing an BLE app, based on the Gatt sample project provided by google: https://developer.android.com/samples/BluetoothLeGatt/index.html. So, I can send data writing in
In addition to the accepted answer, I had to set the Characteristic to WRITE_TYPE_DEFAULT when subscribing to peripheral running on OS X.
characteristic.setWriteType(BluetoothGattCharacteristic.WRITE_TYPE_DEFAULT);