public virtual int SetDeviceName(byte[] value)
        {
            // TODO Auto-generated method stub
            if (BtDevice == null)
            {
                Debug.WriteLine(TAG, "setDeviceName() : HVC_ERROR_NODEVICES");
                return(HVC_ERROR_NODEVICES);
            }
            if (Service == null || Service.GetmConnectionState() != BleDeviceService.STATE_CONNECTED)
            {
                Debug.WriteLine(TAG, "setDeviceName() : HVC_ERROR_DISCONNECTED");
                return(HVC_ERROR_DISCONNECTED);
            }
            if (Status > STATE_CONNECTED)
            {
                Debug.WriteLine(TAG, "setDeviceName() : HVC_ERROR_BUSY");
                return(HVC_ERROR_BUSY);
            }

            Service.WriteNameCharacteristic(value);
            Debug.WriteLine(TAG, "getDeviceName() : HVC_NORMAL");
            return(HVC_NORMAL);
        }