IEEE 11073-20601

From Doowon Kim

Jump to: navigation, search

Contents

용어정의

  • Association Request (aarq)
    • Agent initiates an association with the Manager
  • Association Response (aare)
    • Manager responds
  • Release Request (rlrq)
    • Agent or Manager drop the association (session)
  • Release Response (rlre)
    • Peer’s Response
  • Abort (abrt)
    • Agent or Manager abort the association (usually a fault condition)

ASN.1

Quick reference sheet for ASN.1

  • INTEGER = signed/unsigned integers
  • BIT STRING = bit mask
  • OCTET STRING = string or binary array of bytes
  • SEQUENCE = structure
  • SEQUENCE OF = list
  • CHOICE = union
  • ANY DEFINED BY = identifier followed by a data formatted according to identifier

구현

asn.1

per

per to mder

length 1 -> 2

  • octect string length 1 -> 2 : done
  • a sequence of 1 -> 2
  • choice
  • any defined by

asn1c

  • uper_encode_to_buffer()에 인자로 들어가는 사이즈는 얼마만큼 인코딩하겠다는 의미가 아니라, 공간이 얼마나 남았다를 알고 있기 위해서이다.
  • en.encoded 를 왜 << 3 하는가?
Personal tools