Hi,
I use AssocMakeList to get a list of the short addresses of all associated devices.
In AssocList.h it clearly says:
/*
* AssocMakeList - Make a list of associate devices
* NOTE: this function returns a dynamically allocated buffer
* that MUST be deallocated (osal_mem_free).
*/
extern uint16 *AssocMakeList( byte *pCount );
When I try to free this pointer the osal_mem_free function always fails at:
HAL_ASSERT(hdr->hdr.inUse);
Is the information in AssocList.h still correct?
Thanks,
Felix
Edit: z-Stack 2.5.1 on cc2530