My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
Profile  
Updates the user profile
Command
Updated Nov 7, 2011

Client to Server - Update Profile

Command: 12

Updates the user profile on the server.

Format:

[pin, name, private-number, birthdate, gender, '']

A response code of 0 should be returned.
pin see Encryption
name alias
private-number 0 for no, 1 for yes
birthdate YYYY-MM-DD
gender 0 for female, 1 for male
'' unknown string

Client to Server - Request Profile

Command: 26

Requests the user profile from the server.

This command contains no ms section.

Example:

ln=20\0id=27123456789\0cm=26

Response from Server

Format:

[[name, private-number, birthdate, gender, '']]

Similar to the format of updating the profile, but without the pin.

Powered by Google Project Hosting