9
Below is the example show PAN07/PAN09 report to last command
COMMAND_CLASS_MULTI_CHANNEL
MULTI_CHANNEL_CMD_ENCAP
Source End Point = 0x03
(Bit Destination End Point = 0x01)
Command Class = 0x32
(Command_Class_Meter_V3 = 0x32)
Command =0x04
(Meter_Supported_Report = 0x04)
Parameter 1 = 0x81
(Meter Reset =1
,
Meter Type=0x01)
Parameter 2 = 0x75
(Scale Supported =
KWh+W+V+A+Power Factor = 0x75)
2-3-4 METER_RESET
This command is to reset the Accumulated Power Consumption (KWh) to 0
The example show how to reset the KWh
COMMAND_CLASS_MULTI_CHANNEL
MULTI_CHANNEL_CMD_ENCAP
Source End Point = 0x03
(this is the endpoint of command owner,
here we assume endpoint is 3
,
if the
owner doesn’t support multi Channel
this value will be 0)
(Bit Destination End Point = 0x01)
(Bit Address =0
;
Destination End Point
range1~3)
Command Class = 0x32
( Command_Class_Meter_V3 = 0x32)
Command =0x05
( Meter_Reset = 0x05)
2-3-5 METER_GET
:
:
:
:
Using meter get command to get the KWH,W,V,I,PF from endpoint of
PAN07/PAN09
2-3-5-1 Get KWH from endpoint
Meter_GET example:
COMMAND_CLASS_MULTI_CHANNEL
MULTI_CHANNEL_CMD_ENCAP
Source End Point = 0x05
(this is the endpoint of command owner,
here we assume endpoint is 5
,
if the
owner doesn’t support multi Channel
this value will be 0)
(Bit Destination End Point = 0x03)
(Bit Address =0
;
Destination End Point
range1~3)
Command Class = 0x32
( Command_Class_Meter_V3 = 0x32)
Command =0x01
(Meter_Get = 0x01)