afAddrType_t *dstAddr; endPointDesc_t *srcEP; uint8 *buf; uint8 *transID; dstAddr.addr.shortAddr = 0; dstAddr->addrMode=afAddr16Bit; srcEP.endPoint=SAMPLEDOORLOCK_ENDPOINT; buf[0]=0x08;//Frame control:command acts across entire profile,not manufacturer //specific,command sent from client to server. buf[1]=0x01;//transaction seq no buf[2]=0x01;//command identifier:Unlock door transID[0]=0x01; AF_DataRequest( dstAddr, srcEP, ZCL_CLUSTER_ID_CLOSURES_DOOR_LOCK, 3, buf, transID, AF_DEFAULT_RADIUS,0 );