如何让CC2538 3.0.2的历程HomeAutomation 里GenericApp 做协调器和CC2530 2.5.a 里的Samples 里SampleApp终端通讯?
已经测试让CC2538 建立了网络,密钥安全关闭,网络id ffff任意 并且描述也改成和cc2530一样
// This list should be filled with Application specific Cluster IDs.
const cId_t SampleApp_ClusterList[SAMPLEAPP_MAX_CLUSTERS] =
{
SAMPLEAPP_PERIODIC_CLUSTERID,
SAMPLEAPP_FLASH_CLUSTERID
};
const SimpleDescriptionFormat_t SampleApp_SimpleDesc =
{
SAMPLEAPP_ENDPOINT, // int Endpoint;
SAMPLEAPP_PROFID, // uint16 AppProfId[2];
SAMPLEAPP_DEVICEID, // uint16 AppDeviceId[2];
SAMPLEAPP_DEVICE_VERSION, // int AppDevVer:4;
SAMPLEAPP_FLAGS, // int AppFlags:4;
SAMPLEAPP_MAX_CLUSTERS, // uint8 AppNumInClusters;
(cId_t *)SampleApp_ClusterList, // uint8 *pAppInClusterList;
SAMPLEAPP_MAX_CLUSTERS, // uint8 AppNumInClusters;
(cId_t *)SampleApp_ClusterList // uint8 *pAppInClusterList;
};
// Fill out the endpoint description.
SampleApp_epDesc.endPoint = SAMPLEAPP_ENDPOINT;
SampleApp_epDesc.task_id = &SampleApp_TaskID;
SampleApp_epDesc.simpleDesc
= (SimpleDescriptionFormat_t *)&SampleApp_SimpleDesc;
SampleApp_epDesc.latencyReq = noLatencyReqs;
// Register the endpoint description with the AF
afRegister( &SampleApp_epDesc );
CC2530 SampleApp历程终端里的描述不变同上,密钥安全关闭,网络id ffff任意
CC2530表现一直在寻网加入
CC2538建立了网络 状态变化2-》8-》9 已经建立网络
麻烦看看哪里有问题?还是两个历程根本无法通讯?
Viki Shi:
zigbee2.5.1不行,HA1.2及以上的可以
ZigBee 3.0的初始版本包括ZigBee智能家居(ZHA),ZigBee连接照明(ZLL),ZigBee楼宇自动化(ZBA),ZigBee零售服务(ZigBee Retail),ZigBee医疗保健(ZHC)和ZigBee电信服务。已经通过ZHA 1.2和ZLL 1.0认证的终端设备将向前兼容ZigBee 3.0标准,如果您正在开发基于ZHA 1.2或ZLL 1.0的产品,那您的产品将向前兼容ZigBee 3.0。
gaoyang9992006:
建议版本一致