The first sentence is incorrect. The second sentence corrects the first sentence by creating a relative clause ("which...devices"). The sentence is complete without the clause.