Well into WWI, it was the animal alternative to Marconi's system for sending wireless long-distance messages
... 
Marconi wireless system: 1) a simple oscillator- a spark producing radio ... 
Enigma was a electro-mechanical rotor cipher machine invented toward the end 
of WW1.