Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the maximum number of characters in an USSD message?

Tags:

ucs2

gsm

ussd

I've understood that an USSD message consists of 160 bytes. For 7 bit data coding schemes, the maximum number of characters is 160*8/7 which gives 182 characters. It's unclear to me what is the maximum number of characters for UCS2 encoding. Normally, it would be something like 160/2, but I have some mixed information on this.

like image 783
Victor Ionescu Avatar asked Feb 02 '12 09:02

Victor Ionescu


People also ask

What is the character limit on USSD?

USSD messages are up to 182 alphanumeric characters long. Unlike short message service (SMS) messages, USSD messages create a real-time connection during a USSD session.

What is the difference between USSD and SMS?

Unlike an SMS message, during a USSD session, a USSD message creates a real-time connection. This means USSD enables two-way communication of information, as long as the communication line stays open. As such, queries and answers are nearly instantaneous.

What is USSD example?

Examples of USSD commands are *225# and #225# — the respective balance inquiries for AT&T and T-Mobile users. On mobile devices, the commands are typed and sent within the standard interface for calls.

How does a USSD gateway work?

A USSD gateway routes USSD messages from the signalling network to a service application and back. A 'USSD gateway' service is also called a 'USSD center'. USSD gateway is based upon the ability of the delivery agent or the source to send and receive USSD messages. A USSD is a session-based protocol.


1 Answers

The maximum size of a USSD message is 160 bytes. For GSM 7 Bit messages you are correct in saying the limit is 182 characters. UC2 encoding per definition is fixed 2 bytes per character so you will have a maximum of 80 characters.

like image 111
Matt Aldridge Avatar answered Sep 19 '22 22:09

Matt Aldridge