Did you connect all the grounds, and provide power?
if mySerial.available() hangs, the device is not sending characters.