Open xuanchibkd14 opened 2 years ago
any can help me?
Hi @xuanchibkd14
Please refer to https://github.com/espressif/esp-idf/blob/master/docs/en/api-guides/esp-ble-mesh/ble-mesh-faq.rst#54-what-is-the-meaning-of-warning-no-matching-tx-context-for-ack
.
Hi @xuanchibkd14
Please refer to
https://github.com/espressif/esp-idf/blob/master/docs/en/api-guides/esp-ble-mesh/ble-mesh-faq.rst#54-what-is-the-meaning-of-warning-no-matching-tx-context-for-ack
.
Hi, tks for help, but i need the solution, please don't explain any information i can google
Hi @xuanchibkd14 Did u find the solution.
@JegadeeshXaglabs not yet, but if you turn on relay node by
.relay = ESP_BLE_MESH_RELAY_ENABLED
it will work fine without any log debug, i tested. Change BT_DBG-> BT_INFOR you will see this work
Hi @xuanchibkd14
Do you mean that the node receives the message and does not forward it?
@JegadeeshXaglabs not yet, but if you turn on relay node by
.relay = ESP_BLE_MESH_RELAY_ENABLED
it will work fine without any log debug, i tested. Change BT_DBG-> BT_INFOR you will see this work
Still it shows the same issue
Hi @xuanchibkd14
Do you mean that the node receives the message and does not forward it?
sorry, i want to know how to relay work, but this warning is stupid
@JegadeeshXaglabs not yet, but if you turn on relay node by
.relay = ESP_BLE_MESH_RELAY_ENABLED
it will work fine without any log debug, i tested. Change BT_DBG-> BT_INFOR you will see this work
Still it shows the same issue
can you show your models test
hi, I've tested this example, and the relay function is normal and doesn't have to do anything.
you can add a log in the file components/bt/esp_ble_mesh/mesh_core/net.c : bt_mesh_net_relay
。That function is used to relay the message.
It should also be noted that the log level in the menuconfig is greater than the log level you use, and the setting path of log level in the menuuconfig is: component config -> ESP BLE Mesh Support -> BLE Mesh STACK DEBUG LOG LEVEL, which is set to greater than your log level.
@JegadeeshXaglabs not yet, but if you turn on relay node by
.relay = ESP_BLE_MESH_RELAY_ENABLED
it will work fine without any log debug, i tested. Change BT_DBG-> BT_INFOR you will see this work
Still it shows the same issue
can you show your models test
Vendor module In ESP32 Ble mesh
It should also be noted that the log level in the menuconfig is greater than the log level you use, and the setting path of log level in the menuuconfig is: component config -> ESP BLE Mesh Support -> BLE Mesh STACK DEBUG LOG LEVEL, which is set to greater than your log level.
Do i have to edit the log level or ?
It should also be noted that the log level in the menuconfig is greater than the log level you use, and the setting path of log level in the menuuconfig is: component config -> ESP BLE Mesh Support -> BLE Mesh STACK DEBUG LOG LEVEL, which is set to greater than your log level.
Do i have to edit the log level or ?
I'm just saying this to make sure your prints are output properly. :)
It should also be noted that the log level in the menuconfig is greater than the log level you use, and the setting path of log level in the menuuconfig is: component config -> ESP BLE Mesh Support -> BLE Mesh STACK DEBUG LOG LEVEL, which is set to greater than your log level.
Do i have to edit the log level or ?
I'm just saying this to make sure your prints are output properly. :)
yes i am sure if i disconnect 2nd node i can see the msg in 1st node form a client.
It should also be noted that the log level in the menuconfig is greater than the log level you use, and the setting path of log level in the menuuconfig is: component config -> ESP BLE Mesh Support -> BLE Mesh STACK DEBUG LOG LEVEL, which is set to greater than your log level.
Do i have to edit the log level or ?
I'm just saying this to make sure your prints are output properly. :)
yes i am sure if i disconnect 2nd node i can see the msg in 1st node form a client.
So can you see that the relay function is working properly ?
How can i check the relay function is working properly
How can i check the relay function is working properly
Start by preparing three nodes. Then add a log to the bt_mesh_net_relay
function, such as BT_INFO ("Relay")
. Finally, download the program to the chip,and two of them are used as server nodes and one as the client node, and then after the mesh net is successfully established, you can try to restart a server (the purpose is to make this node send a message), so that the relay log can be seen in the other server, so that you can prove that the relay function is working properly.
How can i check the relay function is working properly
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
How can i check the relay function is working properly
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
I can t send any msg from on/off client to vendor server. But i tried on/off server and client program.it relays msg perfectly.
How can i check the relay function is working properly
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
I can t send any msg from on/off client to vendor server. But i tried on/off server and client program.it relays msg perfectly.
have you let them form a network in your on/off example?
have you let them form a network in your on/off example?
yes i form mesh network on/off example.
have you let them form a network in your on/off example?
yes i form mesh network on/off example.
Could you give me a detailed description of how you did the onoff experiment?
I created 5 nodes and 1 client with on/off example .And i used nrfMesh App for bind the key. It worked fine. If i use vendor module i cant bind the key with mobile app. i can bind the key automatically with vendor module client end. But i had an issue.
How can i check the relay function is working properly
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
I can t send any msg from on/off client to vendor server. But i tried on/off server and client program.it relays msg perfectly.
do you custom for vendor server with on/off client to a model like client/server, there default not same model so can't send is normal. but relay node is working so good
How can i check the relay function is working properly
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
I can t send any msg from on/off client to vendor server. But i tried on/off server and client program.it relays msg perfectly.
do you custom for vendor server with on/off client to a model like client/server, there default not same model so can't send is normal. but relay node is working so good
did you mean combination of client and server in one program?
How can i check the relay function is working properly
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
I can t send any msg from on/off client to vendor server. But i tried on/off server and client program.it relays msg perfectly.
do you custom for vendor server with on/off client to a model like client/server, there default not same model so can't send is normal. but relay node is working so good
did you mean combination of client and server in one program?
i mean on/off client with on/off server, sensor model client with sensor model server. they can talk to each other. and other model cant talk with them, except you custom in code
I am using vendor module client and vendor module server (2 nodes).With that i cant receive clients msg in both the server nodes.
@JegadeeshXaglabs can you show your log, im test it work on example
@JegadeeshXaglabs and your log client?
Right one is client
if i connect second node This is what i got from first node (left side) .while i receive client msg in my second node
your 2 server have address is 0x0005 and 0x0006, do you send to two of address, or only one?
Two of address. i tried with same address in 2 server. still i cant send a msg to both servers
Even i tried in sensor module. Faced same problem
you should try in vendor example, and do not enable ble mesh storage
you should try in vendor example, and do not enable ble mesh storage
Where can i disable ble mesh storage
disabled ble mesh storage faced same problem
Could you share your code with us?
your 2 server have address is 0x0005 and 0x0006, do you send to two of address, or only one?
Can you tell me how to send a msg to two server. Do i have to add these address in vendor client side ?
Hi,Im a new esp32, I'm testing esp-ble-mesh sensor server node with relay node enable, my config is:
but i only get:
please help me INSTRUCTIONS
Before submitting a new issue, please follow the checklist and try to find the answer.
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.
IMPORTANT: If you do not follow these instructions and provide the necessary details, your issue may not be resolved.
----------------------------- Delete above -----------------------------
Environment
git describe --tags
to find it): // v4.4xtensa-esp32-elf-gcc --version
to find it): // 8.4