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裡沒有。所以發送廣播時就醬紫。

發布
問題