[icq-devel] status messages



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


my response is too big, so i send it in 2 messages : 
 
The length shouldn't be the problem as i compute if from the data i
send.. so it must be good length ... 
 
Here are 2 scenarios so you can see what i send and compare with what i
should send may you'll see the differences... i don't ... 
67856519 is an ICQ2002a client
168987003 is my java client
messages id may not bs same where they should be as i made this in 2 or
3 times ... but messages ID are supposed to be the sames, and in fact
they are.
 
First scenario : my java client ask for icq2002a away message :
---here is what i (168987003) send when i want to read 67856519's away
auto message : 
 
2A 02 28 FD 00 83                                         flap channel
2, seq: 10493, len: 131
   00 04 00 06 00 00 00 01 00 06                          snac 04/06
flag:0, reference: 65542      
      0C 84 5B 08 74 45 00 00                             message ID (i
copied this one from a packet dump ...usually , i put only 00)
      00 02                                               type 2 message
      08 36 37 38 35 36 35 31 39                          BUIN (8 bytes
and "67856519")
      00 05 00 5E                                         TLV 5 (for
type 2 msgs) length : 94
      00 00                                               ACKTYPE :
0x0000 normal message
      0C 84 5B 08 74 45 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                                   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
         47 FF                                            SEQ1 
         0E 00                                            unknown
         47 FF                                            SEQ2 (copy of
SEQ1)
         00 00 00 00 00 00 00 00 00 00 00 00              unknown
(always 0)
         E8                                               message type :
0xE8 = Away
         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
 
(!!!!!!!!!!!!!! i am disconnected from server there!!!!!!!!!!!!!!!!!!!!
the response packet below will never be sent as the request will never
be recieved by ICQ2002a it's just dumped for comparison with what i send

in second scenario)
 
---icq2002a should sends me back : (i had this packed by sending a
message to icq2002a while he was in away mode ... so message id is
different ..
 
2A 02 6E 2B 00 67                                        flap channel 2
seq: 28203, length 103
   00 04 00 0B 00 00 00 00 00 0B                         snac 04/0B
flag:0, reference : 11
      00 00 00 00 00 00 00 00                            message ID 
      00 02                                              message type :
2
      09 31 36 38 39 38 37 30 30 33                      BUIN (9 bytes
and "168987003")
      00 03                                              unknown
      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
      47 FF                                              SEQ1
      0E 00                                              unknown
      47 FF                                              SEQ2 (copy of
seq1)
      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\n"
      00 00 00 00 FF FF FF 00                            colors ??
 
 
second  scenario will be in next mail ...

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://vic20.blipp.com/pipermail/icq-devel/attachments/20021111/f8ea286a/attachment.htm 


More information about the icq-devel mailing list