Other Parts Discussed in Thread: CC2530, Z-STACK
Hello All,
I want to upgrade my current application on the z-stack protocol,i am using Custom board with cc2530 on it.Whats the benefit of z-stack?
Thanks in Advance
Ravindra Kant
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello Yikai Sir,
Its regarding Zigbee sample Switch as coordinator.I am currently working on the Application Framework layer and got stuck at
runtimeChannel = (uint32) (1L << _NIB.nwkLogicalChannel); declared inside the ZDOInitDevice
I am unable to figure out its significance?
Can you help me out?
Thanks in Advance!
Hello,Sir
Hope you are doing well,
In the z-stack home automation profile I am referring "SampleSwitch" program,In the Zigbee cluster library Initialization ,found in the OSAL_Init_Tasks--->Zcl_init(TaskID),when we exchange data in the application layer,we define a frame control field.From the Documents i have found that frame type field inside the FCF might be 0 or 1 ,
where
0: Command acts across the entire profile. Command ID field has the value
compliant to ZCL standard.
1: Command is specific to a cluster. Command ID field has the value
defined in defined cluster.
but in the program it states
typedef struct
{
unsigned int type:2; // I got stuck here it should be either 0 or 1 ,why 2???
unsigned int manuSpecific:1;
unsigned int direction:1;
unsigned int disableDefaultRsp:1;
unsigned int reserved:3;
} zclFrameControl_t;
ZStatus_t zclGeneral_HdlIncoming( zclIncoming_t *pInMsg );
I might lag somewhere with the flow,help me correct my understanding.
Thanks!
Hello Sir,
There is no documentation regarding mac layer api.
for e.g MACInit(),MACInitDevice().
In the program of zigbee sample switch i could find mac_api.h,but not mac_api.c.
Thanks..
Hello Sir,
I have made some changes in the file hal_board_cfg.h,but when I compile the code I got the error.
Error[e46]: Undefined external "dmaCh1234" referred in hal_aes ( C:\Texas Instruments\Z-Stack Home 1.2.2.42930\Projects\zstack\Libraries\TI2530DB\bin\Security.lib).
I am unable to figure out the solution of this problem.
Thanks !
Hello sir,
I am compiling the project SampleSwitch from the Home Automation profile,Since I am using the Custom Board with CC2530 on it,after making changes in the hardware abstraction layer(HAL) accordingly i build and compiled the program accordingly,but during linking ,compiler throws this error.
Error[e46]: Undefined external "SSP_CCM_Auth_Encrypt::?relay" referred in APS ( C:\Texas Instruments\Z-Stack Home 1.2.2.42930\Projects\zstack\Libraries\TI2530DB\bin\Router-Pro.lib )
Error[e46]: Undefined external "SSP_CCM_InvAuth_Decrypt::?relay" referred in APS ( C:\Texas Instruments\Z-Stack Home 1.2.2.42930\Projects\zstack\Libraries\
TI2530DB\bin\Router-Pro.lib )
since both of these files are declared inside the hal_ccm.h and this file is already included,still after compiling i am getting the same issue.
Thanks!
Warning[w7]: Module hal_aes declared twice, once as program and once as library. Redeclared in file C:\Texas Instruments\Z-Stack Home 1.2.2.42930\Projects\..
Does this warning causing any problem.?
Thanks
Hello Yikai sir,
I got a problem while compiling my code ,I have made changes in the HAL layer since custom SoC is been used in my project based on cc2530.
Error[e46]: Undefined external "dmaCh1234" referred in hal_aes ( C:\Texas Instruments\Z-Stack Home 1.2.2.42930\Projects\zstack\Libraries\TI2530DB\bin\Security.lib.
But when I changed the SECURE= 1 to SECURE =0 in the preprocessor tab ,define symbol in the project options,program compiled successfully,
I think my understanding on this project is little misguided here ,can you please correct?
Thanks!!!