1. Overview
AirLive SA-102 User Manual
10
COMMAND_CLASS_MULTI_CHANNEL
MULTI_CHANNEL_CMD_ENCAP
Source End Point = 0x01
(this is the endpoint of command inquirer
here we assume endpoint is 1
,
if the
inquirer 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 = 0x25
(Command_Class_Switch_Binary = 0x25)
Command =0x01
(Switch_Binary_Set = 0x01)
Parameter 1 = 0x00
(ON=0xFF
,
OFF=0x00)
1.6.4.3. METER_SUPPORTED_GET
:
This command is to ask the endpoint of SA-102 what kind of meter data can be reported.
The example show how to get the meter report type
COMMAND_CLASS_MULTI_CHANNEL
MULTI_CHANNEL_CMD_ENCAP
Source End Point = 0x01
(this is the endpoint of command inquirer
here we assume endpoint is 1
,
if the
inquirer 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 =0x03
(Meter_Supported_Get = 0x03)
Below is the example show SA-102 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)