This page is under development and subject to change!
To login to the MXit server you will need to connect to stream.mxit.co.za on port 9119.
You will then need to send the following:
ln=LEN\000id=NUMBER\000cm=1\000ms=PIN\001JAVAENV\0011\001FEATURES\001CLIENTID\001255\00127\000cr=REVISION
- LEN - Length of message
- NUMBER - The number you used to register. Should be in this format: 27831234567
- PIN - Pin code you registered with (sent in plaintext)
- JAVAENV - E-5.0.3-J-j2me, this depends on your phone's java engine/emulator - I think each .jar file has a unique code.
- FEATURES - can be blank - have also seen: dist=E;ver=5.0.3;cat=J;platform=j2me;width=180;height=196;cols=4096;maxmsg=150000;features=255;ctypes=3;dmem=215;fmem=986
- CLIENTID - This code is randomly generated by the MXit server when you download their client (it's in the jad file). Once a CLIENTID is associated with a phone number you can not use it for another one. Each user has to get their own CLIENTID from the MXit website before registering with the transport.
- REVISION - Currently 'wipe'. The client should store the last value seen from the splash message, and use it here.
You should then receive your contact list as well as your IP address and a timestamp of the login.
NOTE: I don't have an example. Please add one.
Unsuccessful logins are given an error code and a message:
- 40 => MXit servers are very busy
- ??? => Incorrect Pin number
- ??? => Wrong Version
- ??? => Could not be validated
- 99 => Not registered
ln=LEN\000id=NUMBER\000cm=2\000ms=0
- LEN - Length of message
- NUMBER - The number you used to register.
login_and_logout, Rev. 11, Last changed on 2007-06-17 13:37, 2757 page hits
