MXit Protocol
[[status_changing]]
Last edit on Nov 30, 2007 4:53 PM by rkistner

This page is under development and subject to change!

There are currently 3 status or presences on Mxit: online, away and busy. Two more are supported by the protocol, but not by the official client: available for chat (interpreted as online by the client) and extended away (interpreted as away).

Sending a status change

Send the following message to the server:

 ln=LEN\000id=NUMBER\000cm=32\000ms=STATUS\001

  • LEN - Length of message
  • NUMBER - The number you used to register. Should be in this format: 27831234567
  • STATUS - The numerical value of the status: 1 = online, 2 = away, 3 = available for chat, 4 = busy, 5 = extended away

Receiving a status change

Note: The delimeters below may be wrong. Please double check

A status change is the same as receiving contact information when you login, etc.
The following message would be sent from the server:

 ln=LEN\0003\0000\000\001SENDER\001SENDERNAME\0010\00STATUS\00TYPE

  • LEN - Length of message
  • SENDER - Sender of message. Should be in this format: 2783987654@mxit.co.za
  • SENDERNAME - Contact name of the sender.
  • STATUS - The numerical value of the status: 0 = offline, 1 = online, 2 = away, 3 = available for chat, 4 = busy, 5 = extended away
  • TYPE - Either 0 for Mxit or 1 for Jabber