In his 1962 "Profiles of the Future" Arthur C. Clarke postulated that "Any Sufficienly advanced technology is indistinguishable from magic." The Star Trek episode "Catspaw" used this concept to good effect.
If we flip that around a bit as has been suggested elsewhere, we could consider the supposition, "Any sufficiently advanced magic is indistinguishable from technology". Such a "crossover" magic/SF example would be "The Toxic Spell Dump" by Harry Turtledove in which the world uses "magic" but in ways which closely resemble closely how we use technology today. "Magic Inc." by Heinlein would be another.
If we accept that premise (admittedly a bit of a stretch :-) ), I might suggest that we could look at some of the more advanced "magical" devices which have been used in history as candidates to answer this question. Specifically I am thinking of the "Crystal Ball" or its close analogue the "scrying mirror". As noted on the TVTropes site such devices could be used not only for clairvoyance and distance seeing, but for long distance communication with other crystal balls/mirrors.
As such, the ealiest reference I could find to a written work using such a device was Geoffrey Chaucer who wrote in the 13th century “The Canterbury Tales”. the "The Squire's Tale". In it he had a mirror in which characters to see what was happening in faraway places and communicate with another mirror in Rome. In fact, there is even speculation by one character that the mirror was not "magic" but "an arrangement of angles and cunningly carefully constructed reflections". More of a "technology" approach than magical.
And some of them marveled about the mirror, which
had been carried up into the main tower, how one
could see such things in it. One answered and said
that it might well work in a natural way, through
arrangements of angles and of cunning carefully
constructed reflections, and said there was such a one
The characters go on to relate the mirror to ancient philosopher/scientists. As such I would submit the characters are approaching this in a way that speaks more to advanced technology (a.k.a. science fiction) than magic.
They spoke of Alhazen and Vitello and
Aristotle, who wrote of curious mirrors and of
perspective glasses, as they know who have heard
Shakespeare’s “Macbeth” and “Measure for Measure" contains another such example.
A more recent story--though obviously pure fantasy--from the 1900s (thus after the Marconi wireless work) is J.R.R. Tolkien who included crystal balls called “palantíri” in “The Lord of the Rings.” These crystal balls allowed the characters to see and communicate with one another from long distances.