ID
|
Origin
|
Name
|
Foodgroup
|
Service
|
Status
|
Version
|
0x0015, 0x0002
|
Client
|
ICQ__DB_QUERY
|
ICQ
|
BOS
|
Active
|
1.2
|
From Aleksandr Shutko: SNAC(15,02)/07D0/03F3 META_SET_WORK_USERINFO
Client use this to change work user information. Server should reply via
SNAC(15,03)/07DA/006E which contain
flag byte. If flag byte doesn't equal 0x0A - there was an error saving info.
00 15 |
|
word |
|
SNAC family |
00 03 |
|
word |
|
SNAC subtype |
00 01 |
|
word |
|
SNAC flags |
xx xx xx xx |
|
dword |
|
SNAC request-id |
|
|
|
00 01 |
|
word |
|
TLV.Type(1) - encapsulated META_DATA |
xx xx |
|
word |
|
TLV.Length |
|
|
|
xx xx |
|
word (LE) |
|
data chunk size (TLV.Length-2) |
xx xx xx xx |
|
dword (LE) |
|
request owner uin |
D0 07 |
|
word (LE) |
|
data type: META_DATA |
02 00 |
|
word (LE) |
|
request sequence number |
F3 03 |
|
word (LE) |
|
data subtype: META_SET_WORK_USERINFO |
|
xx xx |
|
word (LE) |
|
work city string length |
xx .. xx 00 |
|
asciiz str |
|
work city string |
xx xx |
|
word (LE) |
|
work state string length |
xx .. xx 00 |
|
asciiz str |
|
work state string |
xx xx |
|
word (LE) |
|
work phone string length |
xx .. xx 00 |
|
asciiz str |
|
work phone string |
xx xx |
|
word (LE) |
|
work fax string length |
xx .. xx 00 |
|
asciiz str |
|
work fax string |
xx xx |
|
word (LE) |
|
work address string length |
xx .. xx 00 |
|
asciiz str |
|
work address string |
xx xx |
|
word (LE) |
|
work zip code string length |
xx .. xx 00 |
|
asciiz str |
|
work zip code string |
xx xx |
|
word (LE) |
|
work country code |
xx xx |
|
word (LE) |
|
work company string length |
xx .. xx 00 |
|
asciiz str |
|
work company string |
xx xx |
|
word (LE) |
|
work department string length |
xx .. xx 00 |
|
asciiz str |
|
work department string |
xx xx |
|
word (LE) |
|
work position string length |
xx .. xx 00 |
|
asciiz str |
|
work position string |
xx xx |
|
word (LE) |
|
work ocupation code |
xx xx |
|
word (LE) |
|
work webpage string length |
xx .. xx 00 |
|
asciiz str |
|
work webpage string |
|
|
| |
|
|
|
| |
|
|
|
|
Example SNAC dump with flap header:
2A 02 05 68 00 A5 00 15 00 02 00 00 00 10 00 02 *..h............
00 01 00 97 95 00 31 DE 0B 00 D0 07 17 00 F3 03 ......1.........
06 00 57 43 69 74 79 00 04 00 53 74 61 00 11 00 ..WCity...Sta...
2B 37 20 28 34 32 31 32 29 20 57 50 48 4F 4E 45 +7 (4212) WPHONE
00 0F 00 2B 37 20 28 34 32 31 32 29 20 57 46 41 ...+7 (4212) WFA
58 00 0C 00 57 4F 52 4B 41 44 44 52 45 53 53 00 X...WORKADDRESS.
06 00 31 31 31 31 31 00 07 00 09 00 57 43 6F 6D ..11111.....WCom
70 61 6E 79 00 0C 00 57 44 65 70 61 72 74 6D 65 pany...WDepartme
6E 74 00 0A 00 57 50 6F 73 69 74 69 6F 6E 00 07 nt...WPosition..
00 18 00 68 74 74 70 3A 2F 2F 77 6F 72 6B 2E 77 ...http://work.w
65 62 73 69 74 65 2E 6F 72 67 00 ebsite.org.
|
|