More in general, how was communication work in that time period? Did the Germans receive their orders through a radio or something along those lines, and then fed it into the Enigma to decode it, or did the machine itself transmit the orders as well?
Numberphile has an excellent video explaining how the Enigma machine worked and a second video how they managed to break the code.