mesh_device_get_mac_list alway fail

jamesbong
Posts: 8
Joined: Sat May 16, 2015 11:17 pm

mesh_device_get_mac_list alway fail

Postby jamesbong » Tue Jun 28, 2016 11:47 am

I am testing with mesh_json_p2p_test by call mesh_json_p2p_test_init in esp_server_con_cb and replace esp_recv_entrance with mesh_packet_parser.
But mesh_device_get_mac_list alway fail. How can I verify the mesh_device_get_mac_list function?
I have use 3 modules in my test

ESP_Alen

Re: mesh_device_get_mac_list alway fail

Postby ESP_Alen » Wed Jun 29, 2016 6:19 pm

jamesbong wrote:I am testing with mesh_json_p2p_test by call mesh_json_p2p_test_init in esp_server_con_cb and replace esp_recv_entrance with mesh_packet_parser.
But mesh_device_get_mac_list alway fail. How can I verify the mesh_device_get_mac_list function?
I have use 3 modules in my test


Please use clean version to do test.
If it works well, please check your code.

jamesbong
Posts: 8
Joined: Sat May 16, 2015 11:17 pm

Re: mesh_device_get_mac_list alway fail

Postby jamesbong » Wed Jun 29, 2016 8:03 pm

Clean version does not run mesh_json_p2p_test by default and I have to modify it by call mesh_json_p2p_test_init in esp_server_con_cb and replace esp_recv_entrance with mesh_packet_parser.
Other changes is add more debug printing, change MESH_ROUTER_SSID, MESH_ROUTER_PASSWD, MESH_SSID_PREFIX, server_ip
But mesh_device_get_mac_list alway fail if I do like that.
Would you give me a mesh demo without ESPtouch that mesh_device_get_mac_list can work?

ESP_Alen

Re: mesh_device_get_mac_list alway fail

Postby ESP_Alen » Tue Jul 05, 2016 3:54 pm

jamesbong wrote:Clean version does not run mesh_json_p2p_test by default and I have to modify it by call mesh_json_p2p_test_init in esp_server_con_cb and replace esp_recv_entrance with mesh_packet_parser.
Other changes is add more debug printing, change MESH_ROUTER_SSID, MESH_ROUTER_PASSWD, MESH_SSID_PREFIX, server_ip
But mesh_device_get_mac_list alway fail if I do like that.
Would you give me a mesh demo without ESPtouch that mesh_device_get_mac_list can work?


mesh_json_p2p_test will run per 19s.

Who is online

Users browsing this forum: No registered users and 288 guests