The equivalence is between accelerating reference frames, and reference frames in a gravitational field.
Work Step by Step
It is impossible to tell them apart from internal measurements. Einstein's principle of equivalence says that all observations, both mechanical and electromagnetic, made inside a accelerating box are exactly the same as those made inside a classical gravitational field. This is discussed on pages 687-689.