haoronMango
haoronMango
这家伙很懒, 什么也没写!

注册于 1 年前

回答
6
文章
0
关注者
1

看了源码, 是 srcaddr=psram, destaddr=sdio- buf, 可以这样做, 谢谢, 明白了.

库文件丢失, lib 目录哪些 libxxx. a 文件还在不在, 去检查下.

WM-W800-SDK-202207-V1. 00. 08. rar

我用的是这个固件, 是从本网页, 单击资料下载按钮, 然后下载的. 你们也试试, 看看. 是我板子的问题. 还是我操作方法不对.

然后我把tls_dma_free (tx_channel) ; tls_dma_free (rx_channel) ; 注释了, 它就不卡死了.

真的, 骗你是小狗!

111. webp

wm_tool 是提供下载功能的. =. = 你不造吗

网站首页, 导航栏不是有个资料下载嘛. 找找就有了.

OK, 我们做个记录
https: //github. com/h2zero/NimBLE-Arduino/issues/116

case BLE_GAP_EVENT_REPEAT_PAIRING: 
    /* We already have a bond with the peer,  but it is attempting to
     * establish a new secure link.   This app sacrifices security for
     * convenience:  just throw away the old bond and accept the new link. 
     */
    /* Delete the old bond.  */
    rc = ble_gap_conn_find (event- repeat_pairing. conn_handle,  &desc) ; 
    assert (rc == 0) ; 
    ble_store_util_delete_peer (&desc. peer_id_addr) ; 
    
    TLS_BT_APPL_TRACE_DEBUG ("! ! ! BLE_GAP_EVENT_REPEAT_PAIRING\r\n") ; 
    return BLE_GAP_REPEAT_PAIRING_RETRY; 

搜索后发现, 原来是要删除原来的配对信息 (持久化存储) . 然后再 wm_ble_server_api_demo. c 里是有个 case 处理的. 但是 wm_ble_gap. c 里没有. 所以发送广播时就酱紫.

发布
问题