i need to find one ore more smoothieboards (all set to DHCP) in a network. This is a Class B network, therefore an active TCP port scan is not a good idea.
For the Arduinos in the same network i implemented an UDP broadcast, the Arduinos simply answer with some ID string whenever they see a specific UDP packet on a specific UDP port. This was very easy to implement, around 8 lines of source code.
Now i want to implement the same feature in Smoothieware, but i have no idea where to start. I got the source code from github, it compiled OK and the Smoothieboard booted OK with my binary. So i'm all set for the source code changes, but where ?
Any suggestion to put me on the right track is welcome.
Thank You very much,