Hi Yang, > +char *ussd_decode(int dcs, int len, const unsigned char *data); > Please put this function in smsutil.c/h, no need to start a brand new file for this. It is highly related to sms / cbs anyway. Regards, -Denis