Step 2a (2/2): LLDP transmit, switch shows name and IP

- aes67_net/lldp.c: IEEE 802.1AB LLDPDU sent as a raw frame with
  esp_eth_transmit every 30 s (TTL 120 s) and immediately on a new IP
  or hostname change. TLVs: chassis/port ID (MAC), port description,
  system name (net.hostname), system description (project + version),
  capabilities station-only, IPv4 management address.
- Docs: LLDP in the core Network section; step 2a ticked.
- Verified on an HP 2530-8G-PoE+ (show lldp info remote-device 2): all
  fields shown, management address 192.168.192.244.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-09-24 23:14:09 +10:00
parent 979420a6bb
commit 30c32e702b
6 changed files with 143 additions and 3 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
idf_component_register(SRCS "aes67_net.c"
idf_component_register(SRCS "aes67_net.c" "lldp.c"
INCLUDE_DIRS "include"
REQUIRES esp_eth esp_netif esp_event
PRIV_REQUIRES aes67_web lwip espressif__mdns)
PRIV_REQUIRES aes67_web lwip espressif__mdns esp_app_format esp_timer)