이 문장이 어떤걸 의미하는지 모르겠습니다. (영어입니다)

rndud926의 이미지

If in the NoAddress state, the secondary station masks the min(PL,2) left-most octets of its own unique ID with the min(PL,2) left-most octets of the bit mask in the XID command and compares the result with the min(PL,2) left-most octets the unique ID supplied in the XID command.

If they match, the secondary device masks the max(0,PL-2) rightmost octets of its own unique ID with the max(0,PL-2) right-most octets of the bit mask in the XID command and compares the result with the max(0,PL-2) right-most octets of the unique ID supplied in the XID command.

If they also match, the secondary station transmits an XID response message with its own identification data in the fields PI=1 (complete unique ID), PI=4 (device type) and PI=6 (vendor code).

AISG2.0 통신 관련 프로토콜을 만들고 있는데

저 위 3문장만큼은 도저희 머리로 해석도 안되고 무슨말을 하는건지 모르겠습니다.

ㅠㅠ 혹시 영어 잘하시는분 직역이라도 부탁드립니다!

익명_사용자의 이미지

If in the NoAddress state, the secondary station masks
만약 (그것이) NoAddress 상태라면, the secondary station은 (다음의 octets을) 마스크합니다.
주: 여기서 octet은 8bit를 의미합니다.

the min(PL,2) left-most octets of its own unique ID with the min(PL,2) left-most octets of the bit mask in the XID command
(그 NoAddress state에 있는것)의 unique ID의 왼쪽부터 8 * min(PL, 2)만큼의 비트들을, 왼쪽부터 8 * min(PL, 2)만큼의 XID command로 비트 마스크를 합니다.

주: 예를들어, 주어진 데이터가 다음과 같을때,
uniqueID: 00001010 11110000 ....
XID command: 10101000 00000000 ....
PL: 1

min(PL, 2)는 1이 될것입니다.
따라서, uniqueID의 좌측에서부터 1개의 octet(8 bit)을 XID command의 좌측에서부터의 1개의 octet(8bit)으로 비트 마스킹을 하면 됩니다.
여기서, 어떤 bit mask operator를 사용하라고 나와있지 않기에, AND 연산으로 해봤습니다.

비트 마스크 결과는 다음과 같겠죠.
00001000 11110000 ....

> and compares the result with the min(PL,2) left-most octets the unique ID supplied in the XID command.
그리고, 그 결과를 XID command에 주어진 unique ID의 왼쪽에서부터 8 * min(PL, 2)만큼의 비트와 비교합니다.

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.