'Blocks until the signal strength indicates that the
device is active on the GSM network. It\'s a good idea
to call this before trying to send or receive anything.'

def wait_for_network(self):

    while True:
        csq = self.signal_strength()
        if csq:
            return csq
        time.sleep(1)
