728x90

    Rectangle backup;

        private void checkBox_mouse_tracking_CheckedChanged(object sender, EventArgs e)

        {

            if (checkBox_mouse_tracking.Checked)

            {

                backup = Cursor.Clip;

                this.Cursor = new Cursor(Cursor.Current.Handle);

                Cursor.Position = new Point(this.Location.X+ label_mouse_tracking.Location.X , this.Location.Y + label_mouse_tracking.Location.Y);

                Point p = new Point(this.Location.X + label_mouse_tracking.Location.X+7, this.Location.Y + label_mouse_tracking.Location.Y+30);

                

                Cursor.Clip = new Rectangle(p, label_mouse_tracking.Size);

            }

            else

            {

                Cursor.Clip = backup;

            }

            

        }



    }

728x90
728x90

증상 : Vega series에서 HID를 연결하면 Phone state가 connecting에서 머물러 있음


원인 : device가 master role을 가져가려고 하면 host(phone)가 정상적으로 처리하지 못함


해결 : device를 slave role로 설정

728x90

'BlueTooth > 기본기' 카테고리의 다른 글

Paging and Inquiry  (0) 2015.11.26
AVDTP signaling/Media  (0) 2014.10.23
kitkat install 다시 시작  (9) 2014.07.19
BLE 4.1  (0) 2014.06.25
Security Mode  (1) 2014.06.24
Bluetooth Packet Type  (0) 2013.11.06
quoted-printable decoder  (0) 2013.06.03
synergy MessageSendLater  (0) 2011.04.19
bluelab stereo 2009.R2 Inquiry시 iPhone이 검색되면 panic  (0) 2011.03.30
Apple 개발문서  (4) 2010.03.15
728x90

tar 분할압축 :

tar cvfz - /PATH/* | split -b 1m - tets.tar.gz

1m 단위로 분할압축


tar 압축 풀기 : 

cat test.tar.gz* | tar xvfz -




gzip 분할압축

tar cvf - /PATH/* | gzip - | split -b 1m - test.tar.gz


gzip 압축 풀기

cat test.tar.gz* | gzip -d - | tar xvf -


여기서 - 는 stdio 를 의미한다.


728x90

+ Recent posts