728x90
CL_INIT_CFM:

if(read_Authentication_mode() == 0)
    {
        ConnectionSmSetSecurityMode(getAppTask(), sec_mode0_off, hci_enc_mode_off);
    }
    else
    {
        ConnectionSmSetSecurityMode(getAppTask(), sec_mode2_service, hci_enc_mode_pt_to_pt);
    }

아래 소스도 참고할 것

ConnectionSmSetSecurityLevel(protocol_l2cap, 0x0001, ssp_secl4_l0, TRUE, TRUE, FALSE);
728x90

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

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
Peer-to-Peer Connectivity  (0) 2010.03.04
iphone간 bluetooth 연결 sample  (1) 2010.03.04
아이폰 블루투스 프로그래밍  (3) 2010.03.03
bluetooth keypad  (0) 2010.02.10
bluetooth hfp 정리  (0) 2009.07.24
BlueTooth 관련용어  (0) 2009.07.20

+ Recent posts