Modified for W5500 Ethernet initialize Added the Ethernet interface re-initialize code Added the connection retry

Dependents:   ThingPlug_Ethernet_Example

Fork of GMMP_mbed by Eric Jung

Committer:
hkjung
Date:
Wed Aug 12 08:58:58 2015 +0000
Revision:
5:9bbb6933559b
Parent:
0:7e575e5f88ec
Ethernet interface reinitialize code added

Who changed what in which revision?

UserRevisionLine numberNew contents of line
lesmin 0:7e575e5f88ec 1 /** GMMP Operation 중 제어 명령 리스트 정의
lesmin 0:7e575e5f88ec 2 * @file Define_Control.h
lesmin 0:7e575e5f88ec 3 * @date 2013/11/21
lesmin 0:7e575e5f88ec 4 * @version 0.0.0.1
lesmin 0:7e575e5f88ec 5 * @ref GMMPHeader참조
lesmin 0:7e575e5f88ec 6 **/
lesmin 0:7e575e5f88ec 7
lesmin 0:7e575e5f88ec 8 #ifndef DEFINE_CONTROL_H_
lesmin 0:7e575e5f88ec 9 #define DEFINE_CONTROL_H_
lesmin 0:7e575e5f88ec 10
lesmin 0:7e575e5f88ec 11 //Control Command define using ControlReqHdr
lesmin 0:7e575e5f88ec 12 #define CONTROL_Reset 0x01 ///<단말 리셋
lesmin 0:7e575e5f88ec 13 #define CONTROL_Turn_Off 0x02 ///<단말 Turn off
lesmin 0:7e575e5f88ec 14 #define CONTROL_Report_On 0x03 ///<단말 보고 데이터 전송 On
lesmin 0:7e575e5f88ec 15 #define CONTROL_Report_Off 0x04 ///<단말 보고 데이터 전송 Off
lesmin 0:7e575e5f88ec 16 #define CONTROL_Time_Sync 0x05 ///<단말 시각 동기화 설정
lesmin 0:7e575e5f88ec 17 #define CONTROL_Pause 0x06 ///<단말 동작 일시중지
lesmin 0:7e575e5f88ec 18 #define CONTROL_Restart 0x07 ///<단말 동작 재시작
lesmin 0:7e575e5f88ec 19 #define CONTROL_Signal_Power_Check 0x08 ///<단말 전파 강도 조회
lesmin 0:7e575e5f88ec 20 #define CONTROL_Diagnostic 0x09 ///<단말 상태 진단
lesmin 0:7e575e5f88ec 21 #define CONTROL_Reserved 0x0a ///<Reserved
lesmin 0:7e575e5f88ec 22 #define CONTROL_Profile_Reset 0x0b ///<단말 Profile 정보 재설정
lesmin 0:7e575e5f88ec 23 #define CONTROL_Status_Check 0x0c ///<단말 동작 상태 조회
lesmin 0:7e575e5f88ec 24 #define CONTROL_FW_Download 0x0d ///<단말 펌웨어 다운로드
lesmin 0:7e575e5f88ec 25 #define CONTROL_FW_Update 0x0e ///<단말 펌웨어 업그레이드
lesmin 0:7e575e5f88ec 26 #define CONTROL_App_Download 0x0f ///<단말 App 다운로드
lesmin 0:7e575e5f88ec 27 #define CONTROL_App_Update 0x10 ///<단말 App 업그레이드
lesmin 0:7e575e5f88ec 28 #define CONTROL_Remote_Access 0x11 ///<단말 원격 터미널 접속
lesmin 0:7e575e5f88ec 29 #define CONTROL_Multimedia_Control_Start 0x12 ///<멀티미디어 통신 제어 시작
lesmin 0:7e575e5f88ec 30 #define CONTROL_Multimedia_Control_Pause 0x13 ///<멀티미디어 통신 제어 멈춤
lesmin 0:7e575e5f88ec 31 #define CONTROL_Multimedia_Control_Stop 0x14 ///<멀티미디어 통신 제어 종료
lesmin 0:7e575e5f88ec 32 #define CONTROL_Multimedia_Control_Restart 0x15 ///<멀티미디어 통신 제어 재시작
lesmin 0:7e575e5f88ec 33 #define Industrial_Reserved_Min 0x20 ///<산업별 Reserved
lesmin 0:7e575e5f88ec 34 #define Industrial_Reserved_Max 0x7f ///<산업별 Reserved
lesmin 0:7e575e5f88ec 35 #define User_defined_Control_Min 0x80 ///<사용자 정의 제어 타입
lesmin 0:7e575e5f88ec 36 #define User_defined_Control_Max 0x9f ///<사용자 정의 제어 타입
lesmin 0:7e575e5f88ec 37 #define Reserved_Min 0xa0 ///<Reserved
lesmin 0:7e575e5f88ec 38 #define Reserved_Max 0xff ///<Reserved
lesmin 0:7e575e5f88ec 39
lesmin 0:7e575e5f88ec 40 #endif /* DEFINE_CONTROL_H_ */