Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. tnetwork
    T
    • Continue chat with tnetwork
    • Start new chat with tnetwork
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    tnetwork

    @tnetwork

    0
    Reputation
    2
    Posts
    630
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    tnetwork Follow

    Posts made by tnetwork

    • RE: LAN Module: Reading RAW-packets

      I got it!
      Code: https://github.com/njh/W5500MacRaw

      Some changes needed:

      replace "mr" with "mra"
      replace "MR" with "MRA". MR or mr is already in use from the esp-library

      CS-Pin:
      replace Wiznet5500 w5500; --> Wiznet5500 w5500(26);

      Thank you for reading!
      Torsten

      posted in Modules
      T
      tnetwork
    • LAN Module: Reading RAW-packets

      Hello everyone!

      I would like to use an M5Stack (ESP32) with LAN module (w5500)
      to read CDP (Cisco Discovery Protocol) packages.

      Working examples of M5Stack (ESP32) with LAN module (w5500) all using Layer3 and 4 (IP+TCP or IP+UDP).

      However, CDP works on Layer2 like pure ARP broadcasts.
      To do this, you probably have to open a socket in MAC RAW Mode.

      Examples that use the W5x00 in this mode can only be found on
      Atmega base. In addition, there is a huge mess of Ethernet libraries for
      Arduino. Incompatibilities with certain Arduino IDE versions.
      Libraries that don't know all the commands I use in the Atmega examples. Etc...

      The first goal for me now would be to receive all packets as raw data,
      or packets sent to the Ethernet multicast address (01-00-0C-CC-CC-CC).

      Can someone help me, with an excample Code that works on m5?
      Regards,
      Torsten

      posted in Modules
      T
      tnetwork