esp-idf: BLE_MESH: No matching TX context for ack when debug relay node esp-ble-mesh (IDFGH-7814)
Hi,Im a new esp32, I’m testing esp-ble-mesh sensor server node with relay node enable, my config is:
static esp_ble_mesh_cfg_srv_t config_server = {
.relay = ESP_BLE_MESH_RELAY_ENABLED,
.beacon = ESP_BLE_MESH_BEACON_ENABLED,
#if defined(CONFIG_BLE_MESH_FRIEND)
.friend_state = ESP_BLE_MESH_FRIEND_ENABLED,
#else
.friend_state = ESP_BLE_MESH_FRIEND_NOT_SUPPORTED,
#endif
#if defined(CONFIG_BLE_MESH_GATT_PROXY_SERVER)
.gatt_proxy = ESP_BLE_MESH_GATT_PROXY_ENABLED,
#else
.gatt_proxy = ESP_BLE_MESH_GATT_PROXY_NOT_SUPPORTED,
#endif
.default_ttl = 7,
/* 3 transmissions with 20ms interval */
.net_transmit = ESP_BLE_MESH_TRANSMIT(2, 20),
.relay_retransmit = ESP_BLE_MESH_TRANSMIT(2, 20),
};
but i only get:
I (296465) BLE_MESH: Settings store, waiting 0 seconds
I (296473) BLE_MESH: send, app_idx 0xfffe src 0x0004 dst 0x0001
I (296477) BLE_MESH: send, len 9: 803e00040000000011
I (296484) BLE_MESH: Settings store, waiting 0 seconds
I (00:04:53.744) ble_mesh: ESP_BLE_MESH_MODEL_OP_MODEL_APP_BIND
I (00:04:53.745) ble_mesh: elem_addr 0x0004, app_idx 0x0000, cid 0xffff, mod_id 0x1100
I (306990) BLE_MESH: net_idx 0x000 iv_index 0x00000000 flags 0x00
W (307963) BLE_MESH: No matching TX context for ack
W (308256) BLE_MESH: No matching TX context for ack
W (313032) BLE_MESH: No matching TX context for ack
W (313130) BLE_MESH: No matching TX context for ack
W (314740) BLE_MESH: No matching TX context for ack
W (315714) BLE_MESH: No matching TX context for ack
W (315861) BLE_MESH: No matching TX context for ack
W (316153) BLE_MESH: No matching TX context for ack
please help me INSTRUCTIONS
Before submitting a new issue, please follow the checklist and try to find the answer.
- [ ]x I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
- [ x] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
- [x ] I have searched the issue tracker for a similar issue and not found a similar issue.
If the issue cannot be solved after the steps before, please follow these instructions so we can get the needed information to help you in a quick and effective fashion.
- Fill in all the fields under Environment marked with [ ] by picking the correct option for you in each case and deleting the others.
- Describe your problem.
- Include debug logs from the “monitor” tool, or coredumps.
- Providing as much information as possible under Other items if possible will help us locate and fix the problem.
- Use Markdown (see formatting buttons above) and the Preview tab to check what the issue will look like.
- Delete these instructions from the above to the below marker lines before submitting this issue.
IMPORTANT: If you do not follow these instructions and provide the necessary details, your issue may not be resolved.
----------------------------- Delete above -----------------------------
Environment
- Development Kit: [ESP32-Wrover-Kit|ESP32-DevKitC|ESP32-PICO-Kit|ESP32-LyraT|ESP32-LyraTD-MSC|none]
- Kit version (for WroverKit/PicoKit/DevKitC): [v1|v2|v3|v4]
- Module or chip used: [ESP32-WROOM-32|ESP32-WROOM-32D|ESP32-WROOM-32U|ESP32-WROVER|ESP32-WROVER-I|ESP32-WROVER-B|ESP32-WROVER-IB|ESP32-SOLO-1|ESP32-PICO-D4|ESP32]
- IDF version (run
git describe --tagsto find it): // v4.4 - Build System: [Make|CMake|idf.py]
- Compiler version (run
xtensa-esp32-elf-gcc --versionto find it): // 8.4 - Operating System: [macOS]
- Using an IDE?: [No]
- Power Supply: [USB|external 5V]
About this issue
- Original URL
- State: open
- Created 2 years ago
- Comments: 42
you need three nodes, two of them have client/server vender program, the other have client on/off program (it has relay node enable so you don’t need to edit the code)(need provisioner in a network) First you need to let two nodes vender models transmit data in close distance, then move them away from each other until the data can no longer be transmitted. After you can put the other node in between them and turn it on, you will see 2 vender model nodes continue to transmit data