u-one / go-el-controller

Echonet Lite controller
3 stars 2 forks source link

排他問題? #7

Closed u-one closed 5 years ago

u-one commented 5 years ago

おかしなケースが存在

2019/09/23 11:25:22 <<<<<<<< received
2019/09/23 11:25:22 NewClassCode ClassGroup code: 1  Class code: 48
2019/09/23 11:25:22 frameReceived: {1 48}
2019/09/23 11:25:22 NewClassCode ClassGroup code: 1  Class code: 48
2019/09/23 11:25:22 NewClassCode ClassGroup code: 5  Class code: 255
2019/09/23 11:25:22 ============ Frame ============
2019/09/23 11:25:22   1081000001300105ff0172048101088311fe0000
2019/09/23 11:25:22   -----------------------------
2019/09/23 11:25:22   EHD: 1081
2019/09/23 11:25:22   TID: 0000
2019/09/23 11:25:22   SEOJ: 013001  (Source Echonet lite object) 
2019/09/23 11:25:22   DEOJ: 05ff01  (Dest. Echonet lite object) コントローラ
2019/09/23 11:25:22   ESV: Get_Res  (Echonet Lite Service)
2019/09/23 11:25:22   OPC: 04  (Num of properties)
2019/09/23 11:25:22   EPC0: 81 (Echonet lite property) 
2019/09/23 11:25:22   PDC0: 1 (Length (bytes) of EDT)
2019/09/23 11:25:22   EDT0: 08 (Property data)
2019/09/23 11:25:22   EPC1: 83 (Echonet lite property) 
2019/09/23 11:25:22   PDC1: 17 (Length (bytes) of EDT)
2019/09/23 11:25:22   EDT1: fe00000800aefac9243500000000000000 (Property data)
2019/09/23 11:25:22   EPC2: bb (Echonet lite property) 室内温度計測値
2019/09/23 11:25:22   PDC2: 1 (Length (bytes) of EDT)
2019/09/23 11:25:22   EDT2: 1a (Property data)
.
2019/09/23 11:25:22   EPC3: be (Echonet lite property) 外気温度計測値
2019/09/23 11:25:22   PDC3: 1 (Length (bytes) of EDT)
2019/09/23 11:25:22   EDT3: 1d (Property data)
2019/09/23 11:25:22 ===============================
2019/09/23 11:25:22 エアコン
2019/09/23 11:25:22 Property Code: 81, main.Data{0x41}
2019/09/23 11:25:22 01000001
.locationCode: 1000 locationNo: 1
2019/09/23 11:25:22 Property Code: 83, main.Data{0xfe, 0x0, 0x0, 0x8, 0x60, 0xf1, 0x89, 0x30, 0x6d, 0xf5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}
メーカコード: main.Data{0x0, 0x0, 0x8} メーカID: main.Data{0x60, 0xf1, 0x89, 0x30, 0x6d, 0xf5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}
2019/09/23 11:25:22 Property Code: bb, main.Data{0x1d}
2019/09/23 11:25:22 室温:29℃
2019/09/23 11:25:22 Property Code: be, main.Data{0x1d}
2019/09/23 11:25:22 外気温:29℃
2019/09/23 11:25:22 [192.168.1.111] 1081000001300105ff0172048101418311fe0000
2019/09/23 11:25:22 <<<<<<<< received

前後のログ全体

.............................2019/09/23 11:25:22 NewClassCode ClassGroup code: 5  Class code: 255
2019/09/23 11:25:22 frameReceived: {5 255}
2019/09/23 11:25:22 NewClassCode ClassGroup code: 5  Class code: 255
2019/09/23 11:25:22 NewClassCode ClassGroup code: 1  Class code: 48
2019/09/23 11:25:22 ============ Frame ============
2019/09/23 11:25:22   1081000005ff01013001620481008300bb00be00
2019/09/23 11:25:22   -----------------------------
2019/09/23 11:25:22   EHD: 1081
2019/09/23 11:25:22   TID: 0000
2019/09/23 11:25:22   SEOJ: 05ff01  (Source Echonet lite object) コントローラ
2019/09/23 11:25:22   DEOJ: 013001  (Dest. Echonet lite object) 
2019/09/23 11:25:22   ESV: Get  (Echonet Lite Service)
2019/09/23 11:25:22   OPC: 04  (Num of properties)
2019/09/23 11:25:22   EPC0: 81 (Echonet lite property) 
2019/09/23 11:25:22   PDC0: 0 (Length (bytes) of EDT)
2019/09/23 11:25:22   EDT0:  (Property data)
2019/09/23 11:25:22   EPC1: 83 (Echonet lite property) 
2019/09/23 11:25:22   PDC1: 0 (Length (bytes) of EDT)
2019/09/23 11:25:22   EDT1:  (Property data)
2019/09/23 11:25:22   EPC2: bb (Echonet lite property) 
2019/09/23 11:25:22   PDC2: 0 (Length (bytes) of EDT)
2019/09/23 11:25:22   EDT2:  (Property data)
2019/09/23 11:25:22   EPC3: be (Echonet lite property) 
2019/09/23 11:25:22   PDC3: 0 (Length (bytes) of EDT)
2019/09/23 11:25:22   EDT3:  (Property data)
2019/09/23 11:25:22 ===============================
2019/09/23 11:25:22 1081000005ff01013001620481008300bb00be00
2019/09/23 11:25:22 >>>>>>>> sendFrame
2019/09/23 11:25:22 NewClassCode ClassGroup code: 5  Class code: 255
2019/09/23 11:25:22 NewClassCode ClassGroup code: 1  Class code: 48
2019/09/23 11:25:22 ============ Frame ============
2019/09/23 11:25:22   1081000005ff01013001620481008300bb00be00
2019/09/23 11:25:22   -----------------------------
2019/09/23 11:25:22   EHD: 1081
2019/09/23 11:25:22   TID: 0000
2019/09/23 11:25:22   SEOJ: 05ff01  (Source Echonet lite object) コントローラ
2019/09/23 11:25:22   DEOJ: 013001  (Dest. Echonet lite object) 
2019/09/23 11:25:22   ESV: Get  (Echonet Lite Service)
2019/09/23 11:25:22   OPC: 04  (Num of properties)
2019/09/23 11:25:22   EPC0: 81 (Echonet lite property) 
2019/09/23 11:25:22   PDC0: 0 (Length (bytes) of EDT)
2019/09/23 11:25:22   EDT0:  (Property data)
2019/09/23 11:25:22   EPC1: 83 (Echonet lite property) 
2019/09/23 11:25:22   PDC1: 0 (Length (bytes) of EDT)
2019/09/23 11:25:22   EDT1:  (Property data)
2019/09/23 11:25:22   EPC2: bb (Echonet lite property) 
2019/09/23 11:25:22   PDC2: 0 (Length (bytes) of EDT)
2019/09/23 11:25:22   EDT2:  (Property data)
2019/09/23 11:25:22   EPC3: be (Echonet lite property) 
2019/09/23 11:25:22   PDC3: 0 (Length (bytes) of EDT)
2019/09/23 11:25:22   EDT3:  (Property data)
2019/09/23 11:25:22 ===============================

.
2019/09/23 11:25:22 <<<<<<<< received
2019/09/23 11:25:22 NewClassCode ClassGroup code: 1  Class code: 48
2019/09/23 11:25:22 frameReceived: {1 48}
2019/09/23 11:25:22 NewClassCode ClassGroup code: 1  Class code: 48
2019/09/23 11:25:22 NewClassCode ClassGroup code: 5  Class code: 255
2019/09/23 11:25:22 ============ Frame ============
2019/09/23 11:25:22   1081000001300105ff0172048101088311fe0000
2019/09/23 11:25:22   -----------------------------
2019/09/23 11:25:22   EHD: 1081
2019/09/23 11:25:22   TID: 0000
2019/09/23 11:25:22   SEOJ: 013001  (Source Echonet lite object) 
2019/09/23 11:25:22   DEOJ: 05ff01  (Dest. Echonet lite object) コントローラ
2019/09/23 11:25:22   ESV: Get_Res  (Echonet Lite Service)
2019/09/23 11:25:22   OPC: 04  (Num of properties)
2019/09/23 11:25:22   EPC0: 81 (Echonet lite property) 
2019/09/23 11:25:22   PDC0: 1 (Length (bytes) of EDT)
2019/09/23 11:25:22   EDT0: 08 (Property data)
2019/09/23 11:25:22   EPC1: 83 (Echonet lite property) 
2019/09/23 11:25:22   PDC1: 17 (Length (bytes) of EDT)
2019/09/23 11:25:22   EDT1: fe00000800aefac9243500000000000000 (Property data)
2019/09/23 11:25:22   EPC2: bb (Echonet lite property) 室内温度計測値
2019/09/23 11:25:22   PDC2: 1 (Length (bytes) of EDT)
2019/09/23 11:25:22   EDT2: 1a (Property data)
.
2019/09/23 11:25:22   EPC3: be (Echonet lite property) 外気温度計測値
2019/09/23 11:25:22   PDC3: 1 (Length (bytes) of EDT)
2019/09/23 11:25:22   EDT3: 1d (Property data)
2019/09/23 11:25:22 ===============================
2019/09/23 11:25:22 エアコン
2019/09/23 11:25:22 Property Code: 81, main.Data{0x41}
2019/09/23 11:25:22 01000001
.locationCode: 1000 locationNo: 1
2019/09/23 11:25:22 Property Code: 83, main.Data{0xfe, 0x0, 0x0, 0x8, 0x60, 0xf1, 0x89, 0x30, 0x6d, 0xf5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}
メーカコード: main.Data{0x0, 0x0, 0x8} メーカID: main.Data{0x60, 0xf1, 0x89, 0x30, 0x6d, 0xf5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}
2019/09/23 11:25:22 Property Code: bb, main.Data{0x1d}
2019/09/23 11:25:22 室温:29℃
2019/09/23 11:25:22 Property Code: be, main.Data{0x1d}
2019/09/23 11:25:22 外気温:29℃
2019/09/23 11:25:22 [192.168.1.111] 1081000001300105ff0172048101418311fe0000
2019/09/23 11:25:22 <<<<<<<< received
2019/09/23 11:25:22 NewClassCode ClassGroup code: 1  Class code: 48
2019/09/23 11:25:22 frameReceived: {1 48}
2019/09/23 11:25:22 written: 20
2019/09/23 11:25:22 NewClassCode ClassGroup code: 1  Class code: 48
2019/09/23 11:25:22 NewClassCode ClassGroup code: 5  Class code: 255
2019/09/23 11:25:22 ============ Frame ============
2019/09/23 11:25:22   1081000001300105ff0172048101418311fe00000860f189306df500000000000000bb011dbe011d
2019/09/23 11:25:22   -----------------------------
2019/09/23 11:25:22   EHD: 1081
2019/09/23 11:25:22   TID: 0000
2019/09/23 11:25:22   SEOJ: 013001  (Source Echonet lite object) 
2019/09/23 11:25:22   DEOJ: 05ff01  (Dest. Echonet lite object) コントローラ
2019/09/23 11:25:22   ESV: Get_Res  (Echonet Lite Service)
2019/09/23 11:25:22   OPC: 04  (Num of properties)
2019/09/23 11:25:22   EPC0: 81 (Echonet lite property) 
2019/09/23 11:25:22   PDC0: 1 (Length (bytes) of EDT)
2019/09/23 11:25:22   EDT0: 41 (Property data)
2019/09/23 11:25:22   EPC1: 83 (Echonet lite property) 
2019/09/23 11:25:22   PDC1: 17 (Length (bytes) of EDT)
2019/09/23 11:25:22   EDT1: fe00000860f189306df500000000000000 (Property data)
2019/09/23 11:25:22   EPC2: bb (Echonet lite property) 室内温度計測値
2019/09/23 11:25:22   PDC2: 1 (Length (bytes) of EDT)
2019/09/23 11:25:22   EDT2: 1d (Property data)
2019/09/23 11:25:22   EPC3: be (Echonet lite property) 外気温度計測値
2019/09/23 11:25:22   PDC3: 1 (Length (bytes) of EDT)
2019/09/23 11:25:22   EDT3: 1d (Property data)
2019/09/23 11:25:22 ===============================
2019/09/23 11:25:22 エアコン
2019/09/23 11:25:22 Property Code: 81, main.Data{0x41}
2019/09/23 11:25:22 01000001
locationCode: 1000 locationNo: 1
2019/09/23 11:25:22 Property Code: 83, main.Data{0xfe, 0x0, 0x0, 0x8, 0x60, 0xf1, 0x89, 0x30, 0x6d, 0xf5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}
メーカコード: main.Data{0x0, 0x0, 0x8} メーカID: main.Data{0x60, 0xf1, 0x89, 0x30, 0x6d, 0xf5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}
2019/09/23 11:25:22 Property Code: bb, main.Data{0x1d}
2019/09/23 11:25:22 室温:29℃
2019/09/23 11:25:22 Property Code: be, main.Data{0x1d}
2019/09/23 11:25:22 外気温:29℃
2019/09/23 11:25:22 [192.168.1.10] 1081000001300105ff0172048101418311fe00000860f189306df500000000000000bb011dbe011d
2019/09/23 11:25:22 <<<<<<<< received
2019/09/23 11:25:22 NewClassCode ClassGroup code: 1  Class code: 48
2019/09/23 11:25:22 frameReceived: {1 48}
2019/09/23 11:25:22 NewClassCode ClassGroup code: 1  Class code: 48
2019/09/23 11:25:22 NewClassCode ClassGroup code: 5  Class code: 255
2019/09/23 11:25:22 ============ Frame ============
2019/09/23 11:25:22   1081000001300105ff0172048101418311fe00000860f189306df500000000000000bb011dbe011d
2019/09/23 11:25:22   -----------------------------
2019/09/23 11:25:22   EHD: 1081
2019/09/23 11:25:22   TID: 0000
2019/09/23 11:25:22   SEOJ: 013001  (Source Echonet lite object) 
2019/09/23 11:25:22   DEOJ: 05ff01  (Dest. Echonet lite object) コントローラ
2019/09/23 11:25:22   ESV: Get_Res  (Echonet Lite Service)
2019/09/23 11:25:22   OPC: 04  (Num of properties)
2019/09/23 11:25:22   EPC0: 81 (Echonet lite property) 
2019/09/23 11:25:22   PDC0: 1 (Length (bytes) of EDT)
2019/09/23 11:25:22   EDT0: 41 (Property data)
2019/09/23 11:25:22   EPC1: 83 (Echonet lite property) 
2019/09/23 11:25:22   PDC1: 17 (Length (bytes) of EDT)
2019/09/23 11:25:22   EDT1: fe00000860f189306df500000000000000 (Property data)
2019/09/23 11:25:22   EPC2: bb (Echonet lite property) 室内温度計測値
2019/09/23 11:25:22   PDC2: 1 (Length (bytes) of EDT)
2019/09/23 11:25:22   EDT2: 1d (Property data)
2019/09/23 11:25:22   EPC3: be (Echonet lite property) 外気温度計測値
2019/09/23 11:25:22   PDC3: 1 (Length (bytes) of EDT)
2019/09/23 11:25:22   EDT3: 1d (Property data)
2019/09/23 11:25:22 ===============================
2019/09/23 11:25:22 エアコン
2019/09/23 11:25:22 Property Code: 81, main.Data{0x41}
2019/09/23 11:25:22 01000001
locationCode: 1000 locationNo: 1
2019/09/23 11:25:22 Property Code: 83, main.Data{0xfe, 0x0, 0x0, 0x8, 0x60, 0xf1, 0x89, 0x30, 0x6d, 0xf5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}
メーカコード: main.Data{0x0, 0x0, 0x8} メーカID: main.Data{0x60, 0xf1, 0x89, 0x30, 0x6d, 0xf5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}
2019/09/23 11:25:22 Property Code: bb, main.Data{0x1d}
2019/09/23 11:25:22 室温:29℃
2019/09/23 11:25:22 Property Code: be, main.Data{0x1d}
2019/09/23 11:25:22 外気温:29℃
2019/09/23 11:25:22 [192.168.1.15] 1081000001300105ff0172048101418311fe00000860f189306df500000000000000bb011dbe011d
.............................2019/09/23 11:25:52 NewClassCode ClassGroup code: 5  Class code: 255
2019/09/23 11:25:52 frameReceived: {5 255}
2019/09/23 11:25:52 NewClassCode ClassGroup code: 5  Class code: 255
2019/09/23 11:25:52 NewClassCode ClassGroup code: 1  Class code: 48
2019/09/23 11:25:52 ============ Frame ============
2019/09/23 11:25:52   1081000005ff01013001620481008300bb00be00
2019/09/23 11:25:52   -----------------------------
2019/09/23 11:25:52   EHD: 1081
2019/09/23 11:25:52   TID: 0000
2019/09/23 11:25:52   SEOJ: 05ff01  (Source Echonet lite object) コントローラ
2019/09/23 11:25:52   DEOJ: 013001  (Dest. Echonet lite object) 
2019/09/23 11:25:52   ESV: Get  (Echonet Lite Service)
2019/09/23 11:25:52   OPC: 04  (Num of properties)
2019/09/23 11:25:52   EPC0: 81 (Echonet lite property) 
2019/09/23 11:25:52   PDC0: 0 (Length (bytes) of EDT)
2019/09/23 11:25:52   EDT0:  (Property data)
2019/09/23 11:25:52   EPC1: 83 (Echonet lite property) 
2019/09/23 11:25:52   PDC1: 0 (Length (bytes) of EDT)
2019/09/23 11:25:52   EDT1:  (Property data)
2019/09/23 11:25:52   EPC2: bb (Echonet lite property) 
2019/09/23 11:25:52   PDC2: 0 (Length (bytes) of EDT)
2019/09/23 11:25:52   EDT2:  (Property data)
2019/09/23 11:25:52   EPC3: be (Echonet lite property) 
2019/09/23 11:25:52   PDC3: 0 (Length (bytes) of EDT)
2019/09/23 11:25:52   EDT3:  (Property data)
2019/09/23 11:25:52 ===============================
2019/09/23 11:25:52 1081000005ff01013001620481008300bb00be00
2019/09/23 11:25:52 >>>>>>>> sendFrame
2019/09/23 11:25:52 NewClassCode ClassGroup code: 5  Class code: 255
2019/09/23 11:25:52 NewClassCode ClassGroup code: 1  Class code: 48
2019/09/23 11:25:52 ============ Frame ============
2019/09/23 11:25:52   1081000005ff01013001620481008300bb00be00
2019/09/23 11:25:52   -----------------------------
2019/09/23 11:25:52   EHD: 1081
2019/09/23 11:25:52   TID: 0000
2019/09/23 11:25:52   SEOJ: 05ff01  (Source Echonet lite object) コントローラ
2019/09/23 11:25:52   DEOJ: 013001  (Dest. Echonet lite object) 
2019/09/23 11:25:52   ESV: Get  (Echonet Lite Service)
2019/09/23 11:25:52   OPC: 04  (Num of properties)
2019/09/23 11:25:52   EPC0: 81 (Echonet lite property) 
2019/09/23 11:25:52   PDC0: 0 (Length (bytes) of EDT)
2019/09/23 11:25:52   EDT0:  (Property data)
2019/09/23 11:25:52   EPC1: 83 (Echonet lite property) 
2019/09/23 11:25:52   PDC1: 0 (Length (bytes) of EDT)
2019/09/23 11:25:52   EDT1:  (Property data)
2019/09/23 11:25:52   EPC2: bb (Echonet lite property) 
2019/09/23 11:25:52   PDC2: 0 (Length (bytes) of EDT)
2019/09/23 11:25:52   EDT2:  (Property data)
2019/09/23 11:25:52   EPC3: be (Echonet lite property) 
2019/09/23 11:25:52   PDC3: 0 (Length (bytes) of EDT)
2019/09/23 11:25:52   EDT3:  (Property data)
2019/09/23 11:25:52 ===============================
2019/09/23 11:25:52 written: 20

.2019/09/23 11:25:52 <<<<<<<< received
2019/09/23 11:25:52 NewClassCode ClassGroup code: 5  Class code: 255
2019/09/23 11:25:52 frameReceived: {5 255}
2019/09/23 11:25:52 NewClassCode ClassGroup code: 5  Class code: 255
2019/09/23 11:25:52 NewClassCode ClassGroup code: 1  Class code: 48
2019/09/23 11:25:52 ============ Frame ============
2019/09/23 11:25:52   1081000005ff01013001620481008300bb00be00
2019/09/23 11:25:52   -----------------------------
2019/09/23 11:25:52   EHD: 1081
2019/09/23 11:25:52   TID: 0000
2019/09/23 11:25:52   SEOJ: 05ff01  (Source Echonet lite object) コントローラ
2019/09/23 11:25:52   DEOJ: 013001  (Dest. Echonet lite object) 
2019/09/23 11:25:52   ESV: Get  (Echonet Lite Service)
2019/09/23 11:25:52   OPC: 04  (Num of properties)
2019/09/23 11:25:52   EPC0: 81 (Echonet lite property) 
2019/09/23 11:25:52   PDC0: 0 (Length (bytes) of EDT)
2019/09/23 11:25:52   EDT0:  (Property data)
2019/09/23 11:25:52   EPC1: 83 (Echonet lite property) 
2019/09/23 11:25:52   PDC1: 0 (Length (bytes) of EDT)
2019/09/23 11:25:52   EDT1:  (Property data)
2019/09/23 11:25:52   EPC2: bb (Echonet lite property) 
2019/09/23 11:25:52   PDC2: 0 (Length (bytes) of EDT)
2019/09/23 11:25:52   EDT2:  (Property data)
2019/09/23 11:25:52   EPC3: be (Echonet lite property) 
2019/09/23 11:25:52   PDC3: 0 (Length (bytes) of EDT)
2019/09/23 11:25:52   EDT3:  (Property data)
2019/09/23 11:25:52 ===============================
2019/09/23 11:25:52 [192.168.1.111] 1081000005ff01013001620481008300bb00be00

.
.2019/09/23 11:25:52 <<<<<<<< received
2019/09/23 11:25:52 NewClassCode ClassGroup code: 1  Class code: 48
2019/09/23 11:25:52 frameReceived: {1 48}
2019/09/23 11:25:52 NewClassCode ClassGroup code: 1  Class code: 48
2019/09/23 11:25:52 NewClassCode ClassGroup code: 5  Class code: 255
2019/09/23 11:25:52 ============ Frame ============
2019/09/23 11:25:52   1081000001300105ff0172048101418311fe00000860f189306df500000000000000bb011dbe011d
2019/09/23 11:25:52   -----------------------------
2019/09/23 11:25:52   EHD: 1081
2019/09/23 11:25:52   TID: 0000
2019/09/23 11:25:52   SEOJ: 013001  (Source Echonet lite object) 
2019/09/23 11:25:52   DEOJ: 05ff01  (Dest. Echonet lite object) コントローラ
2019/09/23 11:25:52   ESV: Get_Res  (Echonet Lite Service)
2019/09/23 11:25:52   OPC: 04  (Num of properties)
2019/09/23 11:25:52   EPC0: 81 (Echonet lite property) 
2019/09/23 11:25:52   PDC0: 1 (Length (bytes) of EDT)
2019/09/23 11:25:52   EDT0: 41 (Property data)
2019/09/23 11:25:52   EPC1: 83 (Echonet lite property) 
2019/09/23 11:25:52   PDC1: 17 (Length (bytes) of EDT)
2019/09/23 11:25:52   EDT1: fe00000860f189306df500000000000000 (Property data)
2019/09/23 11:25:52   EPC2: bb (Echonet lite property) 室内温度計測値
2019/09/23 11:25:52   PDC2: 1 (Length (bytes) of EDT)
2019/09/23 11:25:52   EDT2: 1d (Property data)
2019/09/23 11:25:52   EPC3: be (Echonet lite property) 外気温度計測値
2019/09/23 11:25:52   PDC3: 1 (Length (bytes) of EDT)
2019/09/23 11:25:52   EDT3: 1d (Property data)
2019/09/23 11:25:52 ===============================
2019/09/23 11:25:52 エアコン
2019/09/23 11:25:52 Property Code: 81, main.Data{0x41}
2019/09/23 11:25:52 01000001
locationCode: 1000 locationNo: 1
2019/09/23 11:25:52 Property Code: 83, main.Data{0xfe, 0x0, 0x0, 0x8, 0x60, 0xf1, 0x89, 0x30, 0x6d, 0xf5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}
メーカコード: main.Data{0x0, 0x0, 0x8} メーカID: main.Data{0x60, 0xf1, 0x89, 0x30, 0x6d, 0xf5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}
2019/09/23 11:25:52 Property Code: bb, main.Data{0x1d}
2019/09/23 11:25:52 室温:29℃
2019/09/23 11:25:52 Property Code: be, main.Data{0x1d}
2019/09/23 11:25:52 外気温:29℃
2019/09/23 11:25:52 [192.168.1.10] 1081000001300105ff0172048101418311fe00000860f189306df500000000000000bb011dbe011d
2019/09/23 11:25:52 <<<<<<<< received
2019/09/23 11:25:52 NewClassCode ClassGroup code: 1  Class code: 48
2019/09/23 11:25:52 frameReceived: {1 48}
2019/09/23 11:25:52 NewClassCode ClassGroup code: 1  Class code: 48
2019/09/23 11:25:52 NewClassCode ClassGroup code: 5  Class code: 255
2019/09/23 11:25:52 ============ Frame ============
2019/09/23 11:25:52   1081000001300105ff0172048101418311fe00000860f189306df500000000000000bb011dbe011d
2019/09/23 11:25:52   -----------------------------
2019/09/23 11:25:52   EHD: 1081
2019/09/23 11:25:52   TID: 0000
2019/09/23 11:25:52   SEOJ: 013001  (Source Echonet lite object) 
2019/09/23 11:25:52   DEOJ: 05ff01  (Dest. Echonet lite object) コントローラ
2019/09/23 11:25:52   ESV: Get_Res  (Echonet Lite Service)
2019/09/23 11:25:52   OPC: 04  (Num of properties)
2019/09/23 11:25:52   EPC0: 81 (Echonet lite property) 
2019/09/23 11:25:52   PDC0: 1 (Length (bytes) of EDT)
2019/09/23 11:25:52   EDT0: 41 (Property data)
2019/09/23 11:25:52   EPC1: 83 (Echonet lite property) 
2019/09/23 11:25:52   PDC1: 17 (Length (bytes) of EDT)
2019/09/23 11:25:52   EDT1: fe00000860f189306df500000000000000 (Property data)
2019/09/23 11:25:52   EPC2: bb (Echonet lite property) 室内温度計測値
2019/09/23 11:25:52   PDC2: 1 (Length (bytes) of EDT)
2019/09/23 11:25:52   EDT2: 1d (Property data)
2019/09/23 11:25:52   EPC3: be (Echonet lite property) 外気温度計測値
2019/09/23 11:25:52   PDC3: 1 (Length (bytes) of EDT)
2019/09/23 11:25:52   EDT3: 1d (Property data)
2019/09/23 11:25:52 ===============================
2019/09/23 11:25:52 エアコン
2019/09/23 11:25:52 Property Code: 81, main.Data{0x41}
2019/09/23 11:25:52 01000001
locationCode: 1000 locationNo: 1
2019/09/23 11:25:52 Property Code: 83, main.Data{0xfe, 0x0, 0x0, 0x8, 0x60, 0xf1, 0x89, 0x30, 0x6d, 0xf5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}
メーカコード: main.Data{0x0, 0x0, 0x8} メーカID: main.Data{0x60, 0xf1, 0x89, 0x30, 0x6d, 0xf5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}
2019/09/23 11:25:52 Property Code: bb, main.Data{0x1d}
2019/09/23 11:25:52 室温:29℃
2019/09/23 11:25:52 Property Code: be, main.Data{0x1d}
2019/09/23 11:25:52 外気温:29℃
2019/09/23 11:25:52 [192.168.1.15] 1081000001300105ff0172048101418311fe00000860f189306df500000000000000bb011dbe011d
u-one commented 5 years ago

bufferをコピーせず参照を渡して使っていたことが原因。