I want to make a hub that will flash multiple completely identical devices.
Imho, how it works:
-hub connected trough type-c to pc accept data and powered trough it,
-hub checking how many devices connect to it
-hub checking main port for some CLI command
-the hub start forming a reference data array when we start flashing process on some port on it
-then we generate several arrays from it simultaneously (maybe we need multithreading but thats not important can be one each time)
-checking that they match the reference data that was sent out
-if not, changing those arrays with wronged data to be fully similar to reference array
-send the data to the com ports simulteneously (or one by one but automaticly)
-the LED on the ports that accepted full data turned on we accept some info about succes on serial monitor
-if not LED stay off and we accept failure message trough serial monitor
this logic needs to be created on hub side and i dont know how to make that hub because lack of knowledge maybe i can find that type of hub or so? if anyone know how to do that easily i be glad to hear your ideas hints etc.
That idea was born when i start selling drones for sale... and start to optimize working process