Need help device is always offline

Please format your code: