macdylan / sm2uploader

A command-line tool for send the gcode file to Snapmaker Printers via WiFi connection.
MIT License
44 stars 4 forks source link

AutoDiscovery - Broadcast address wrong #20

Open bhuebschen opened 3 months ago

bhuebschen commented 3 months ago
2024/05/30 13:03:42 -- Debug mode: 61a77cf
2024/05/30 13:03:42 Discovering ...
2024/05/30 13:03:42 -- Discovering on 192.168.64.255:20054
2024/05/30 13:03:42 -- Discovering on 10.255.255.255:20054
2024/05/30 13:03:46 -- Discovered 0 printers
2024/05/30 13:03:46 No printers found

but broadcast for my network (10.10.0.0/22) is 10.10.3.255

adding my broadcast-address manually to the result array lets the snapmaker beein discovered