IEEE 11073-20601
From Doowon Kim
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
- What is the difference between PER.BASIC-ALIGNED and PER.BASIC-UNALIGNED encoding/decoding?
- PER : http://en.wikipedia.org/wiki/Packed_Encoding_Rules
per to mder
length 1 -> 2
- octect string length 1 -> 2 : done
- a sequence of 1 -> 2
- choice
- any defined by
asn1c
- asn_sequence_add
- http://www.google.co.kr/codesearch/p?hl=ko#-wKRNbYkeKI/pub/FreeBSD/distfiles/asn1c-0.9.21.tar.gz%7CEwGjFIy-2Yo/asn1c-0.9.21/asn1c/tests/check-32.c&q=asn_sequence_add
- http://lionet.info/asn1c/examples.html
- uper_encode_to_buffer()에 인자로 들어가는 사이즈는 얼마만큼 인코딩하겠다는 의미가 아니라, 공간이 얼마나 남았다를 알고 있기 위해서이다.
- en.encoded 를 왜 << 3 하는가?
