[icq-devel] status messages



Christophe Minguet (freesurf) c.minguet at freesurf.fr
Mon Nov 11 23:23:57 CET 2002


 for first scenario, see previous mail ... 
------------------------------------------------------------------------
-------------------------------
 
Second scenario : icq2002a ask for my java client away message (problem
is same is icq2002a sends a message while java client is away and java
client sends back his away message in snac 4/B):
---icq2002a ask for 168987003 status message :
 
2A 02 58 43 00 84                                         flap channel 2
seq: 22595, length 132
   00 04 00 06 00 00 00 01 00 06                          snac 04/06
flag:0, reference 65542
      FA 23 5C 00 47 7E 00 00                             message ID
      00 02                                               type 2 message
      09 31 36 38 39 38 37 30 30 33                       BUIN (9 bytes
and "168987003")
      00 05 00 5E                                         TLV 5 length
94
      00 00                                               ACKTYPE :
0x0000 normal message
      FA 23 5C 00 47 7E 00 00                             message ID
again
      09 46 13 49 4C 7F  11 D1 82 22 44 45 53 54 00 00    a capability
      00 0A 00 02 00 01                                   TLV 10
ACKTYPE2  0x0001 : normal message
      00 0F 00 00                                         TLV 15 unknown
empty
      27 11 00 36                                         TLV 10001
length 54
         1B 00                                            The length
till the end of SEQ1 : 27 bytes
         08 00                                            protocol
version : 8
         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  capability
         00 00 03                                         unknown
         00 00 00 00                                      0 : normal
message
         FF FF                                            SEQ1
         0E 00                                            unknown
         FF FF                                            SEQ1 (copy of
seq1)
         00 00 00 00 00 00 00 00 00 00 00 00              unknown
(always 0)
         E8                                               messaye type :
away message
         03                                               MSGFLAGS : 03
- auto reply message request
         00 00                                            UNKNOWN
         01 00                                            Priority
         01 00 00                                         LNTS : the
message to be sent (i want send nothing)
         00 03 00 00                                      TLV3, length 0
 
--- so, server "forward" 168987003 (my java icq) this : (in fact, i
dumped this before .... so ref,seq,SEQ1 and message ID are different
...)
 
2A 02 97 96 00 A1                                         flap channel
2, seq: 38806, len: 161
   00 04 00 07 00 00 9D CB F9 50                          snac 04/07,
flag:0,  reference: 2647390544
   D5 79 02 01 78 69 00 00                                message ID
   00 02                                                  type 2 message
   08 36 37 38 35 36 35 31 39                             BUIN (8 bytes
and "67856519")
   00 00                                                  A warning
level. Usually 0
   00 04                                                  number of
following tlv : 4
   00 01 00 02 00 50                                      TLV 1 length 2
, value 80 : unknown
   00 06 00 04 20 02 00 20                                TLV 6 length 6
sender's online status 
   00 0F 00 04 00 00 41 CB                                TLV 15 a
timestamp
   00 03 00 04 3D CF 8E E1                                TLV 3 The
online since time
   00 05 00 5E                                            TLV 5 length :
94
      00 00                                               ACK type :
normal message
      D5 79 02 01 78 69 00 00                             the message ID
again
      09 46 13 49 4C 7F 11 D1 82 22 44 45 53 54 00 00     a capability
      00 0A 00 02 00 01                                   TLV10 acktype2
: normal message
      00 0F 00 00                                         TLV15 unknown
empty
      27 11 00 36                                         TLV 10001
length 54
         1B 00                                            The length
till the end of SEQ1 : 27 bytes
         08 00                                            protocol
version : 8
         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  capability
         00 00 03                                         unknown
         00 00 00 00                                      0 : normal
message
         F8 FF                                            SEQ1
         0E 00                                            unknown
         F8 FF                                            SEQ2 (copy of
seq1)
         00 00 00 00 00 00 00 00 00 00 00 00              unknown
         E8                                               message type :
away 
         03                                               MSGFLAGS : 03
- auto reply message request
         20 00                                            unknown
         01 00                                            priority
         01 00 00                                         LNTS : the
message
 
---and I'm replying : 
 
2A 02 F8 6E 00 66                                         flap channel 2
, seq 63598, len 102
   00 04 00 0B 00 00 00 00 F5 CD                          snac 04/0B
flag 0, reference 62925 (should i maybe use the previous reference +1 ?)
   D5 79 02 01 78 69 00 00                                message ID
   00 02                                                  type 2 message
   08 36 37 38 35 36 35 31 39                             BUIN (8 bytes
and "67856519")
   00 03                                                  unknwown
   1B 00                                                  The length
till the end of SEQ1 : 27 bytes  (from here, copied from sever's
previous tlv10001
   08 00                                                  protocol
version : 8 
   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00        capability
   00 00 03                                               unknown
   00 00 00 00                                            0 : normal
message
   F8 FF                                                  SEQ1
   0E 00                                                  unknown
   F8 FF                                                  SEQ2 (copy of
seq 1)
   00 00 00 00 00 00 00 00 00 00 00 00                    unknown
   01                                                     message type 
   00                                                     message flag
   04                                                     accept status
   00 00 00                                               unknown
   0A 00                                                  10 characters
for away message
   6E 6F 74 20 74 68 65 72 65 00                          "not there\0"
   00 00 00 00 FF FF FF 00                                colors ??!! 
 
(!!!!!!!!!!!!!! and i am disconnected from server there too
!!!!!!!!!!!!!!!!!!!!)

there must be something i haven't seen somewhere ... thanks fur your
help
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://vic20.blipp.com/pipermail/icq-devel/attachments/20021111/eaa13b01/attachment.htm 


More information about the icq-devel mailing list