IOS code for gsm