1.check the number of groups,

    aps_CountAllGroups return 0 

2.to allocate new group table then aps_AddGroup

  apsGroupTable=(apsGroupItem_t*)osal_mem_alloc( sizeof( apsGroupItem_t ) * APS_MAX_GROUPS);  

   then call aps_AddGroup to be "FaultISR"
3.change the short address , group id or boradcast network address.
   but the group member no work also.
4.have anyone more suggest ?
code :Tx/Rx,

at 

void GenericApp_Init( uint8 task_id )

{

....

//faultisr 

//apsGroupTable=(apsGroupItem_t*)osal_mem_alloc( sizeof( apsGroupItem_t ) * APS_MAX_GROUPS);  

//define group item

SampleApp_Group.ID = 0x0003;
osal_memcpy( SampleApp_Group.name, "3", 1 );

//dest network address

GenericApp_DstAddr.addrMode = (afAddrMode_t)afAddrGroup;
GenericApp_DstAddr.endPoint = GENERICAPP_ENDPOINT;
GenericApp_DstAddr.addr.shortAddr = SampleApp_Group.ID;

//GenericApp_DstAddr.addr.shortAddr = 0xFFFF; //broadcast address 

//group add ,check the return 

groupStatus=aps_AddGroup( GENERICAPP_ENDPOINT, &SampleApp_Group );

//to check the number of group in table
count=aps_CountAllGroups(); //*always get "0"

}

f8wConfig.cfg:

/* The maximum number of groups in the groups table */
-DAPS_MAX_GROUPS=16

preprocessor:

FEATURE_RESET_MACRO
ewarm
NWK_AUTO_POLL
xPOWER_SAVING
xZTOOL_P1
MT_TASK
MT_SYS_FUNC
MT_ZDO_FUNC
xLCD_SUPPORTED=DEBUG
CC2538_USE_ALTERNATE_INTERRUPT_MAP=1
MYBOARD
OSC32K_CRYSTAL_INSTALLED=FALSE
LCD_SUPPORTED=FALSE
HAL_LCD=FALSE
HAL_PA_LNA_CC2592
HAL_PA_LNA
HAL_KEY=TRUE
HAL_LED=FALSE
NV_RESTORE
REFLECTOR

role:

EndDevice

platform :

SDK:

Z-Stack Mesh 1.0.0

IDE:

IAR 7.4.0

HW:

CC2538