Hi,
I am queuing this string "22222222222" at TestApp__QueueWriteTagID(). After Processing the App Message at main Task, the "222222222222" gets erased or corrupted.
static void TestApp__QueueWriteTagID(BYTE* msg)
{
uint8_t *pData;
// Allocate space for the event data.
if ((pData = ICall_malloc(sizeof(uint8_t))))
{
pData = msg;
XXBLEPeripheral__EnqueueMsg(SBP_WRITE_TAG_EVT, NULL, pData);
}
return;
}
The message is queued at XBLEPeripheral__EnqueueMsg(). As you can see the "222222222222" is stored at pData.
At XBLEPeripheral__ProcessAppMsg() the "222222222222" gets erased or corrupted.
Why does "222222222222" gets erased?
- kel

