Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of GMMP_mbed by
SMSMessage Struct Reference
GMMP SMS Packet. More...
#include <Struct_Common.h>
Data Fields | |
| U8 | unTID [4] |
| T-ID는 M2M GW와 OMP 간의 트랜잭션을 구분하기 위한 값으로서 Request 요청하는 곳에서 할당하며 Response 받은 곳에서는 해당 T-ID 값을 그대로 반환한다. | |
| U8 | ucControlTypeCode |
| M2M 단말로의 제어 명령 전달 시 제어 명령에 대한 Code값이다. | |
| U8 | ucLongSentenceFlag |
| 0x00 : 제어 데이터의 크기가 38 bytes 이하여서 SMS Control Message Body 에 제어 데이터가 포함되어 있으며, Long Sentence Operation을 수행할 필요 없다. | |
| U8 | usDeviceID [LEN_DEVICE_ID] |
| M2M Device ID. | |
| U8 | usSMSMessageBody [38] |
| 단말에게 전달될 제어 명령에 대한 내용이 포함된다. | |
Detailed Description
GMMP SMS Packet.
SMS 메시지는 Header Message와 최대 38byte를 갖는 Body Message로 구성된다.
Header 메시지는 제어 명령을 구분할 수 있는 T-ID(Transaction ID)와 제어의 종류를 나타내는 Control Type Code값을 포함한다. Define_Operation.h 참조
Definition at line 100 of file Struct_Common.h.
Field Documentation
M2M 단말로의 제어 명령 전달 시 제어 명령에 대한 Code값이다.
Definition at line 123 of file Struct_Common.h.
0x00 : 제어 데이터의 크기가 38 bytes 이하여서 SMS Control Message Body 에 제어 데이터가 포함되어 있으며, Long Sentence Operation을 수행할 필요 없다.
0x01 : 제어 데이터의 크기가 38 bytes 이상이므로 SMS Control Message Body 에 제어 데이터가 포함되어 있지않고, M2M GW/Device Long Sentence(GMMP_LSentence_Operation 참조)을 수행하여 제어 데이터를 획득해야 한다.
Definition at line 124 of file Struct_Common.h.
T-ID는 M2M GW와 OMP 간의 트랜잭션을 구분하기 위한 값으로서 Request 요청하는 곳에서 할당하며 Response 받은 곳에서는 해당 T-ID 값을 그대로 반환한다.
M2M GW와 OMP에서 T-ID 사용 범위는 다음과 같다. (“6.4 T-ID 사용 범위”절 참조)
※ M2M GW T-ID : 0 ~ 99,999 (10만개)
※ OMP T-ID : M2M GW가 사용 이외의 값.
Definition at line 122 of file Struct_Common.h.
단말에게 전달될 제어 명령에 대한 내용이 포함된다.
Definition at line 126 of file Struct_Common.h.
Generated on Wed Jul 13 2022 05:33:30 by
1.7.2
