Search found 11 matches
- Sat May 07, 2022 9:54 am
- Forum: Hardware
- Topic: mac in efuse is unique?
- Replies: 1
- Views: 1395
mac in efuse is unique?
efuse -> identity -> mac is unique for each chip, or same?
hash_map
Hi.
How can i use this lib from my project? =)
https://github.com/espressif/esp-idf/bl ... hash_map.c
#include "hash_map.h" in different ways with no effect =)
How can i use this lib from my project? =)
https://github.com/espressif/esp-idf/bl ... hash_map.c
#include "hash_map.h" in different ways with no effect =)
- Fri Apr 29, 2022 7:58 pm
- Forum: ESP-IDF
- Topic: w5500 and be sure module works in any time.
- Replies: 14
- Views: 8924
Re: w5500 and be sure module works in any time.
Here you go... #include "../src/w5500.h" ... esp_eth_mediator_t *eth = eth_handle_spi[0]; uint8_t val = 0; eth->phy_reg_read(eth, 0, W5500_REG_PHYCFGR, (uint32_t *) (&val)); ESP_LOGI(TAG, "W5500_REG_PHYCFGR val = 0x%x", val); Output: I (3467) eth_example: W5500_REG_PHYCFGR val = 0xfa The only disad...
- Thu Apr 28, 2022 8:05 am
- Forum: ESP-IDF
- Topic: Async TCP/IP server
- Replies: 0
- Views: 2041
Async TCP/IP server
Me again, UPD I think this is a Putty's fault. When i put line with "\r\n" inside of it at the end, this scenario will be repeated. When i send line by "ENTER" button, it's seems to be ok. i use async tcp/ip server and sometimes i get this scenario: Recive buffer is 1024 lenght. I send this msg to s...
- Thu Apr 28, 2022 7:02 am
- Forum: ESP-IDF
- Topic: w5500 and be sure module works in any time.
- Replies: 14
- Views: 8924
Re: w5500 and be sure module works in any time.
Thank you! I will try it soon =)ESP_ondrej wrote: ↑Thu Apr 28, 2022 6:23 amJust note that the above code sniped was instrumented in `examples/ethernet/basic` project at master branch.
- Wed Apr 27, 2022 3:28 pm
- Forum: ESP-IDF
- Topic: w5500 and be sure module works in any time.
- Replies: 14
- Views: 8924
Re: w5500 and be sure module works in any time.
Yes, that's right. You would have to use the same W5500 Eth driver instance. You could probably take advantage of `phy_reg_read` and `phy_reg_write` functions in Ethernet driver mediator, see `esp_eth_mediator_s`. Litle example for LUA users? :D driver ESP_ERROR_CHECK(esp_eth_driver_install(ð_co...
- Wed Apr 27, 2022 12:26 pm
- Forum: ESP-IDF
- Topic: Ping from ESP32
- Replies: 17
- Views: 40888
Re: Ping from ESP32
#include "lwip/err.h" #include "lwip/sockets.h" #include "lwip/sys.h" #include <lwip/netdb.h> #include "lwip/api.h" #include "ping/ping_sock.h" static void test_on_ping_success(esp_ping_handle_t hdl, void *args){ // optionally, get callback arguments // const char* str = (const char*) args; // prin...
- Wed Apr 27, 2022 12:02 pm
- Forum: ESP-IDF
- Topic: w5500 and be sure module works in any time.
- Replies: 14
- Views: 8924
Re: w5500 and be sure module works in any time.
btw, i tryed something like this
but it's seems to nothing changes after i powering 5500 off.
Code: Select all
ESP_LOGE(TAG,"%d",phy_spi->get_link(phy_spi));
- Wed Apr 27, 2022 11:56 am
- Forum: ESP-IDF
- Topic: w5500 and be sure module works in any time.
- Replies: 14
- Views: 8924
Re: w5500 and be sure module works in any time.
Hi! Thx for the Reply Could you please elaborate more the real world scenario which causes your concern? Do you have some "stability" issues with the W5500? I just want to prevent any obvious attempts by the 5500 to hang at the wrong moment. I think the first thing I need to do is ping the module it...
- Sun Apr 24, 2022 8:33 am
- Forum: ESP-IDF
- Topic: w5500 and be sure module works in any time.
- Replies: 14
- Views: 8924
w5500 and be sure module works in any time.
How to be sure that the network is available and the network module is functioning properly? I've tried disconnecting ground or power while the module is running, and in some cases it will just stop working. Events (link up and link down) are not always displayed. Is there any reliable and always wo...