Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

CC2531: ZNP IAS_ACE Support

$
0
0

Part Number:CC2531

Hi all!

========================

System:

Based on  TI_Z-stack_HA1.2.

Sniffer:

Ti CC-2531 (+TiWsPc) + WireShark

========================

During integration of the IAS_ACE KeyFob to our system, I have faced with an issue, that the gateway server doen't recieve any ARM or Emergency commands.

While the IAS_ZONE Devices are working perfectly.

Let's consider the Z-Stack Linux Gateway Application Programming Interface document (for ex, v.1.1., May 2014).

The gateway should process the 9.6.1 DEV_ACE_ARM_REQ_IND, as far as I understood.

Consider (gatewaysrvr.c)

static ZStatus_t gwHandleServerIndPbCb( zclIncoming_t *pInMsg ), 
where
case ZCL_CLUSTER_ID_SS_IAS_ACE:
status = processIasAceClusterCmdInd( &srcAddress, pInMsg );
break;

is processed.

It comes there from

static ZStatus_t zcl_HdlIncoming( zclIncoming_t *pInMsg )

I have added there logs:

uiPrintfEx(trUNMASKABLE, "zcl_HdlIncoming: ClusterID: %d\n", pInMsg->msg->clusterId);

If the device is IAS-Zone (for example, WaterLeackage sensor), I can see something like
"

[15:41:21.362,261] [GATEWAY/HNDL] UNMSKBL: zcl_HdlIncoming: ClusterID: 1280
[15:41:21.362,347] [GATEWAY/HNDL] UNMSKBL: zcl_HdlIncoming: Processing abstracted ZCL command

"

So everything is ok.

While if I am sending ACE commands (Arm: All Zones, Disarm, Arm Day / Home Zones Only) from my KeyFob, I can see them coming from sniffer,
while they are not processed by
static ZStatus_t zcl_HdlIncoming( zclIncoming_t *pInMsg ).


P.S.

If I am right, I should Consider our system (ZNP) the IAS_ACE server, while the KeyFob is IAS_ACE device.

KeyFob has been: Successfully connected (enrolled, clusters have nee read etc..)

In gateway-config.tlg:

// - supporting as server (accepting client to server commands):
clusterlist CombinedInterfaceInputClusters { basic, identify, IasAceClusterId }

string was unchanged.


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>