Difference between revisions of "Async kb"

From Felixl.com
Jump to navigationJump to search
(Request Session)
Line 1: Line 1:
 +
 +
Terms:
 +
 +
''connection'': data transfer session, highest in hierarchy
 +
 +
''block'': data transfer unit, consists of several frames
 +
 +
''frame'': lowest data transfer unit. basically -- one network message
 +
 +
 +
 
Message type ==  
 
Message type ==  
 
* 0x80 = data
 
* 0x80 = data
Line 17: Line 28:
  
 
.data[4] == 0x01 (revision)
 
.data[4] == 0x01 (revision)
 +
 +
== Session Granted ==
 +
 +
.data[0] = 0xf2 -- session granted
 +
 +
parameters:
 +
 +
.data

Revision as of 10:27, 6 March 2007

Terms:

connection: data transfer session, highest in hierarchy

block: data transfer unit, consists of several frames

frame: lowest data transfer unit. basically -- one network message


Message type ==

  • 0x80 = data
  • 0x90 = command

commands:

Request Session

.data[0] = 0xca -- request session

parameters:

.data[1] = priority (always 1)

.data[2] , .data[3] -- message packet max size (16 bit, big endian)

.data[4] == 0x01 (revision)

Session Granted

.data[0] = 0xf2 -- session granted

parameters:

.data