ble_at demo maser 扫描从机连接从机



  • 1、主机扫描到想要连接的从机设备后,
    2、发起连接
    3、连接成功后,服务发现,未报任何服务
    日志如下:
    gap_evt_func evt=GAP_EVT_ADV_REPORT
    addr_type:0,adv_rpt,rssi:-38,evt_type:0
    0x0F,0x09,0x07,0x09,0x17,0x20,
    start_con act[0]
    gap_evt_func evt=GAP_EVT_ADV_REPORT
    addr_type:0,adv_rpt,rssi:-38,evt_type:4
    0x0F,0x09,0x07,0x09,0x17,0x20,
    gap_evt_func evt=GAP_EVT_SCAN_END
    scan_end,status:0x00
    spss_svc,op:7,att_idx:0
    gap_evt_func evt=GAP_EVT_MASTER_RAW_CONNECT
    addr_type:0
    bond_check_find_devs_idx:20
    gap_evt_func evt=GAP_EVT_MASTER_CONNECT
    at_master_connected
    master connected conidx = 0
    spsc_client_id = 73
    gap_evt_func evt=GAP_EVT_PEER_FEATURE
    conn_end,reason:0x00
    gap_evt_func evt=GAP_EVT_LINK_RSSI
    mtu update,conidx=0,mtu=247

    4、报了一个conn_end,reason:0x00 查事件是 连接停止导致的,

    需要怎么配置才能正常的连接上从机?