<p class="se_textarea" style="padding: 0px; width: 500px; height: 573px; outline: 0px; border: none; background: 0px 0px rgb(255, 255, 255); font-family: 나눔고딕, nanumgothic, se_NanumGothic, AppleSDGothicNeo, sans-serif, simhei; font-size: 16px; line-height: inherit; color: #333333; text-decoration-line: inherit; resize: none; overflow-wrap: break-word; word-break: break-all;"><span lang="EN-US" style="background-color: inherit; color: black;">LoRaWAN<sup>TM</sup>&nbsp;Specification R1.0</span><span style="background-color: inherit; color: black;">과</span><span lang="EN-US" style="background-color: inherit; color: black;">&nbsp;Semtech LoRaWAN Server Release 2.0.2&nbsp;</span><span style="background-color: inherit; color: black;">규격을</span><span style="background-color: inherit; color: black;">&nbsp;</span><span style="background-color: inherit; color: black;">기반<br /></span><span style="background-color: inherit; color: black;"><br /></span><span style="background-color: inherit; color: black;">ㅇ 기지국 연동<br /></span><span style="background-color: inherit; color: black;">-&nbsp;<span style="background-color: inherit;">기지국은</span><span lang="EN-US" style="background-color: inherit;">&nbsp;NW&nbsp;</span><span style="background-color: inherit;">서버와</span><span lang="EN-US" style="background-color: inherit;">&nbsp;UDP&nbsp;</span><span style="background-color: inherit;">기반의</span><span lang="EN-US" style="background-color: inherit;">&nbsp;GWMP&nbsp;</span><span style="background-color: inherit;">프로토콜 통신</span><br /></span><span style="background-color: inherit; color: black;"><span style="background-color: inherit;"></span><br /></span><span style="background-color: inherit; color: black;"><span style="background-color: inherit;">ㅇ 기지국 인증</span><br /></span><span style="background-color: inherit; color: black;"><span style="background-color: inherit;"><span style="background-color: inherit;">기지국으로부터</span><span style="background-color: inherit;">&nbsp;</span><span style="background-color: inherit;">수신된</span><span lang="EN-US" style="background-color: inherit;">&nbsp;PULL_DATA</span><span style="background-color: inherit;">를</span><span style="background-color: inherit;">&nbsp;</span><span style="background-color: inherit;">수신하게</span><span style="background-color: inherit;">&nbsp;</span><span style="background-color: inherit;">되면</span><span lang="EN-US" style="background-color: inherit;">&nbsp;NW&nbsp;</span><span style="background-color: inherit;">서버는</span><span style="background-color: inherit;">&nbsp;</span><span style="background-color: inherit;">해당</span><span style="background-color: inherit;">&nbsp;</span><span style="background-color: inherit;">메시지를</span><span style="background-color: inherit;">&nbsp;</span><span style="background-color: inherit;">전송한</span><span style="background-color: inherit;">&nbsp;</span><span style="background-color: inherit;">기지국을</span><span style="background-color: inherit;">&nbsp;</span><span style="background-color: inherit;">지칭하는</span><span lang="EN-US" style="background-color: inherit;">&nbsp;GwEUI</span><span style="background-color: inherit;">에</span><span style="background-color: inherit;">&nbsp;</span><span style="background-color: inherit;">대하여</span><span style="background-color: inherit;">&nbsp;</span><span style="background-color: inherit;">인증을</span><span style="background-color: inherit;">&nbsp;</span><span style="background-color: inherit;">기능을</span><span style="background-color: inherit;">&nbsp;</span><span style="background-color: inherit;">수행</span></span><br /></span><span style="background-color: inherit; color: black;"><span style="background-color: inherit;"></span><br /></span><span style="background-color: inherit; color: black;"><span style="background-color: inherit;">ㅇDevice Activation</span><br /></span><span style="background-color: inherit; color: black;"><span style="background-color: inherit;">-&nbsp;</span></span><span style="background-color: inherit; color: #00a350;"><span style="background-color: inherit; color: black;"><span style="background-color: inherit; color: #00a350;">디바이스는</span><span lang="EN-US" style="background-color: inherit; color: #00a350;">&nbsp;Join-Req&nbsp;</span><span style="background-color: inherit; color: #00a350;">메시지를</span><span style="background-color: inherit; color: #00a350;">&nbsp;</span><span style="background-color: inherit; color: #00a350;">통하여</span><span lang="EN-US" style="background-color: inherit; color: #00a350;">&nbsp;DevEUI, AppEUI, DevNonce</span><span style="background-color: inherit; color: #00a350;">를</span><span style="background-color: inherit; color: #00a350;">&nbsp;</span><span style="background-color: inherit; color: #00a350;">암호화하지</span><span style="background-color: inherit; color: #00a350;">&nbsp;</span><span style="background-color: inherit; color: #00a350;">않은</span><span style="background-color: inherit; color: #00a350;">&nbsp;</span><span style="background-color: inherit; color: #00a350;">상태로</span><span lang="EN-US" style="background-color: inherit; color: #00a350;">&nbsp;NW&nbsp;</span><span style="background-color: inherit; color: #00a350;">서버로</span><span style="background-color: inherit; color: #00a350;">&nbsp;</span><span style="background-color: inherit; color: #00a350;">전달</span></span></span><span style="background-color: inherit; color: black;"><span style="background-color: inherit;"><span style="background-color: inherit;">합니다</span><span lang="EN-US" style="background-color: inherit;">.<span style="background-color: inherit;">&nbsp;&nbsp;</span></span><span style="background-color: inherit;">이때</span><span lang="EN-US" style="background-color: inherit;">,&nbsp;</span><span style="background-color: inherit;">디바이스는</span><span lang="EN-US" style="background-color: inherit;">&nbsp;AppKey</span><span style="background-color: inherit;">라는</span><span lang="EN-US" style="background-color: inherit;">&nbsp;Cyper Key</span><span style="background-color: inherit;">를</span><span style="background-color: inherit;">&nbsp;</span><span style="background-color: inherit;">내부적으로</span><span style="background-color: inherit;">&nbsp;</span><span style="background-color: inherit;">가지고</span><span style="background-color: inherit;">&nbsp;</span><span style="background-color: inherit;">있는</span><span style="background-color: inherit;">&nbsp;</span><span style="background-color: inherit;">상태입니다</span><span lang="EN-US" style="background-color: inherit;">.</span><br /></span><span style="background-color: inherit;"><span lang="EN-US" style="background-color: inherit;">-&nbsp;<span lang="EN-US" style="background-color: inherit;">Join-Req&nbsp;</span><span style="background-color: inherit;">수신한</span><span lang="EN-US" style="background-color: inherit;">&nbsp;</span></span></span></span><span style="background-color: inherit; color: #00a350;"><span style="background-color: inherit; color: black;"><span lang="EN-US" style="background-color: inherit;"><span lang="EN-US" style="background-color: inherit; color: #00a350;"><span lang="EN-US" style="background-color: inherit;">NW&nbsp;</span><span style="background-color: inherit;">서버는</span><span lang="EN-US" style="background-color: inherit;">&nbsp;DevEUI&nbsp;</span><span style="background-color: inherit;">및</span><span lang="EN-US" style="background-color: inherit;">&nbsp;AppEUI로</span><span style="background-color: inherit;">&nbsp;</span><span style="background-color: inherit;">등록된</span><span style="background-color: inherit;">&nbsp;</span><span style="background-color: inherit;">가입자임을</span><span style="background-color: inherit;">&nbsp;</span><span style="background-color: inherit;">확인</span><br /></span></span></span></span><span style="background-color: inherit; color: black;"><span style="background-color: inherit;"><span lang="EN-US" style="background-color: inherit;"></span><span lang="EN-US" style="background-color: inherit;"><span style="background-color: inherit;">-&nbsp;<span style="background-color: inherit;">이후</span><span lang="EN-US" style="background-color: inherit;">, AppNonce, NetID, DevAddr, DLSetting, RxDelay, ChanFreqList (Optional)&nbsp;</span><span style="background-color: inherit;">를</span>&nbsp;<span lang="EN-US" style="background-color: inherit;">Join-Accept&nbsp;</span><span style="background-color: inherit;">메시지를</span>&nbsp;<span style="background-color: inherit;">이용하여전달합니다</span><span lang="EN-US" style="background-color: inherit;">.<span style="background-color: inherit;">&nbsp;&nbsp;</span>Join-Accept&nbsp;</span><span style="background-color: inherit;">메시지는</span><span lang="EN-US" style="background-color: inherit;">&nbsp;AppKey</span><span style="background-color: inherit;">로</span>&nbsp;<span style="background-color: inherit;">암호화되어</span>&nbsp;<span style="background-color: inherit;">디바이스로</span>&nbsp;<span style="background-color: inherit;">전달합니다</span><span lang="EN-US" style="background-color: inherit;">.</span><br /></span></span></span></span></p>
<p style="padding: 0px; color: #333333; font-family: 나눔고딕, nanumgothic, se_NanumGothic, AppleSDGothicNeo, sans-serif, simhei; font-size: 16px; background-color: #ffffff;">- 디바이스는&nbsp;<span lang="EN-US">Join-Accept&nbsp;</span>메시지를&nbsp;수신하여<span lang="EN-US">&nbsp;AppKey</span>로&nbsp;복호화한&nbsp;후<span lang="EN-US">AppNonce</span>와<span lang="EN-US">&nbsp;NetID, DevNonce&nbsp;</span>를&nbsp;이용하여<span lang="EN-US">&nbsp;</span><span lang="EN-US" style="color: #00a350;">NetSKey</span><span style="color: #00a350;">와</span><span lang="EN-US" style="color: #00a350;">&nbsp;AppSKey</span><span style="color: #00a350;">를</span><span style="color: #00a350;">&nbsp;</span><span style="color: #00a350;">생성</span>합니다<span lang="EN-US">.</span><br /></p>
<p><span lang="EN-US" style="font-family: 나눔고딕, nanumgothic, se_NanumGothic, AppleSDGothicNeo, sans-serif, simhei; font-size: 16px; background-color: #ffffff;">-&nbsp;</span><span style="font-family: 나눔고딕, nanumgothic, se_NanumGothic, AppleSDGothicNeo, sans-serif, simhei; font-size: 16px; background-color: #ffffff; color: #00a350;"><span style="color: black;"><span lang="EN-US"><span lang="EN-US"><span lang="EN-US" style="color: #00a350;">NetSKey</span><span style="color: #00a350;">와</span><span lang="EN-US" style="color: #00a350;">&nbsp;AppSKey</span><span style="color: #00a350;">는</span><span style="color: #00a350;">&nbsp;</span><span style="color: #00a350;">이후</span><span lang="EN-US" style="color: #00a350;">&nbsp;MAC Command</span><span style="color: #00a350;">와</span><span lang="EN-US" style="color: #00a350;">&nbsp;Application Data</span><span style="color: #00a350;">를</span><span style="color: #00a350;"></span><span style="color: #00a350;">암호화</span><span lang="EN-US" style="color: #00a350;">/</span><span style="color: #00a350;">복호화하는데</span><span style="color: #00a350;">&nbsp;</span><span style="color: #00a350;">사용</span></span></span></span></span><span style="font-family: 나눔고딕, nanumgothic, se_NanumGothic, AppleSDGothicNeo, sans-serif, simhei; font-size: 16px; background-color: #ffffff;"><span lang="EN-US"><br /><br />ㅇ&nbsp;<span lang="EN-US">Activation</span>에&nbsp;따른&nbsp;망<span lang="EN-US">&nbsp;Profile&nbsp;</span>전송</span></span></p>
<p style="padding: 0px;">디바이스&nbsp;제조사에서&nbsp;디바이스에&nbsp;설정한&nbsp;데이터는&nbsp;저전력<span lang="EN-US">&nbsp;IoT&nbsp;</span>네트워크에접속하기&nbsp;위한&nbsp;기본&nbsp;설정값임<br /></p>
<p style="padding: 0px;">이러한&nbsp;여러가지&nbsp;망을&nbsp;최적화하기&nbsp;위한<span lang="EN-US">&nbsp;Profile</span>은<span lang="EN-US">&nbsp;Join&nbsp;</span>절차에&nbsp;모두&nbsp;전달되어질&nbsp;수&nbsp;없음.&nbsp;따라서<span lang="EN-US">,&nbsp;</span><span lang="EN-US" style="color: #00a350;">Join&nbsp;</span><span style="color: #00a350;">이후</span><span style="color: #00a350;">&nbsp;</span><span style="color: #00a350;">최초</span><span lang="EN-US" style="color: #00a350;">&nbsp;UL&nbsp;</span><span style="color: #00a350;">데이터가</span><span style="color: #00a350;">&nbsp;</span><span style="color: #00a350;">올라왔을</span><span style="color: #00a350;">&nbsp;</span><span style="color: #00a350;">때</span><span style="color: #00a350;">&nbsp;</span><span style="color: #00a350;">전달</span></p>
<p><span style="font-family: 나눔고딕, nanumgothic, se_NanumGothic, AppleSDGothicNeo, sans-serif, simhei; font-size: 16px; background-color: #ffffff;"><span lang="EN-US"><br />ㅇ 디바이스&nbsp;상태&nbsp;조회<br /></span></span></p>
<p style="padding: 0px;">&nbsp;</p>
<p style="padding: 0px;"><span lang="EN-US">- DevStatusReq</span>는&nbsp;디바이스&nbsp;상태&nbsp;조회를&nbsp;수행하는<span lang="EN-US">&nbsp;MAC Command</span><br /></p>
<p style="padding: 0px;">- 이<span lang="EN-US">&nbsp;Command</span>를&nbsp;이용하여<span lang="EN-US">&nbsp;NW&nbsp;</span>서버는&nbsp;디바이스의&nbsp;배터리&nbsp;잔여량&nbsp;및<span lang="EN-US">DevStatusReq</span>를&nbsp;수신했을&nbsp;때의<span lang="EN-US">&nbsp;SNR</span>을&nbsp;조회<br /></p>
<p style="padding: 0px;"><span lang="EN-US">- DevStatusReq</span>는<span lang="EN-US">&nbsp;NW 서버</span>에서<span lang="EN-US">&nbsp;Trigger</span>하며<span lang="EN-US">,&nbsp;</span><span lang="EN-US" style="color: #00a350;">Trigger&nbsp;</span><span style="color: #00a350;">주기는</span><span lang="EN-US" style="color: #00a350;">&nbsp;AppEUI</span><span style="color: #00a350;">를</span><span style="color: #00a350;"></span><span style="color: #00a350;">등록할</span><span style="color: #00a350;">&nbsp;</span><span style="color: #00a350;">때</span><span style="color: #00a350;">&nbsp;</span><span style="color: #00a350;">주기를</span><span style="color: #00a350;">&nbsp;</span><span style="color: #00a350;">설정</span><br /></p>
<p><span style="font-family: 나눔고딕, nanumgothic, se_NanumGothic, AppleSDGothicNeo, sans-serif, simhei; font-size: 16px; background-color: #ffffff;"><span lang="EN-US">- 주기가&nbsp;설정되어&nbsp;있더라도&nbsp;항상&nbsp;해당&nbsp;주기마다&nbsp;상태를&nbsp;조회할&nbsp;수&nbsp;있는&nbsp;것은&nbsp;아니며<span lang="EN-US">, Class-A&nbsp;</span>디바이스인&nbsp;경우&nbsp;디바이스가<span lang="EN-US">&nbsp;UL&nbsp;</span>데이터를&nbsp;올리는&nbsp;주기가&nbsp;길&nbsp;경우&nbsp;해당&nbsp;주기마다&nbsp;전송<br /></span></span><span style="font-family: 나눔고딕, nanumgothic, se_NanumGothic, AppleSDGothicNeo, sans-serif, simhei; font-size: 16px; background-color: #ffffff;"><br /></span><span style="font-family: 나눔고딕, nanumgothic, se_NanumGothic, AppleSDGothicNeo, sans-serif, simhei; font-size: 16px; background-color: #ffffff;">ㅇ<span lang="EN-US">&nbsp;AppKey&nbsp;: Join-Ans&nbsp;</span>에&nbsp;대하여&nbsp;복호화&nbsp;시&nbsp;사용하는&nbsp;복호화<span lang="EN-US">&nbsp;Key<br /></span>ㅇ<span lang="EN-US">&nbsp;DevEUI&nbsp;: EUI64&nbsp;</span>포맷의<span lang="EN-US">&nbsp;Global Unique ID</span>이며<span lang="EN-US">&nbsp;MAC Address</span>에&nbsp;비유<span lang="EN-US"><br /></span>ㅇ<span lang="EN-US">&nbsp;AppEUI&nbsp;:&nbsp;</span>디바이스에&nbsp;설치된<span lang="EN-US">&nbsp;Application&nbsp;</span>식별자이며<span lang="EN-US">&nbsp;EUI64&nbsp;</span>포멧<span lang="EN-US"><br /></span>ㅇ<span lang="EN-US">&nbsp;Default Channel List&nbsp;: NW&nbsp;</span>서버에서<span lang="EN-US">&nbsp;Channel&nbsp;</span>변경&nbsp;요구&nbsp;전까지&nbsp;사용하게&nbsp;될<span lang="EN-US">&nbsp;Frequency<br /></span>ㅇ<span lang="EN-US">&nbsp;Rx Param&nbsp;: Rx1 DR, RX2 DR&amp;Freq, PingSlot DR&amp;Freq. ,Beacon DR.....</span></span><span style="font-family: 나눔고딕, nanumgothic, se_NanumGothic, AppleSDGothicNeo, sans-serif, simhei; font-size: 16px; background-color: #ffffff;"></span></p>
<p><span style="font-family: 나눔고딕, nanumgothic, se_NanumGothic, AppleSDGothicNeo, sans-serif, simhei; font-size: 16px; background-color: #ffffff;"><span lang="EN-US"><br /></span></span></p>
<div class="autosourcing-stub-extra" style="zoom: 1; opacity: 1;">
   <p style="margin: 11px 0px 7px; padding: 0px; font-size: 12px; font-family: Dotum; font-style: normal; font-weight: normal;"><strong style="font-weight: 600; padding: 0px 7px 0px 0px;">[출처]</strong><span>&nbsp;</span><a href="https://blog.naver.com/tnseo444/220963703933" target="_blank" style="color: #608cba !important; text-decoration: underline;">LoRa 기본 Call Flow</a><span style="padding: 0px 7px 0px 5px;">|</span><strong style="font-weight: 600; padding: 0px 7px 0px 0px;">작성자</strong><span>&nbsp;</span><a href="https://blog.naver.com/tnseo444" target="_blank" style="color: #608cba !important; text-decoration: underline;">순대</a></p>
   </div>