Hello,
i'm using TM4C129 with XDCtool xdctools_3_31_02_38_core and TI-RTOS tirtos_tivac_2_14_00_10.
and there is an attachment which is the modified sample "udpEchoIPv6_DK_TM4C129X_TI_TivaTM4C129XNCZAD" to work on polling stack instead of waiting forever but i faced the following two problems:
1- if it tried to send a UDP packet with no data (data size is zero), then i won't receive anymore even if i tried to send UDP packet with data, the only way to start receiving once again is to reset the code.
2- if i send a UDP packet length, and i called
s32NumberOfReadyBytes = recvfrom(s,\
pu8ReceivedData,\
MAX_RX_IP_PACKET_SIZE,\
0,\
(struct sockaddr *)&clientAddr,\
&s32FromAddressLength);
then it won't clear the received data from the NDK queue.
3301.udpEchoIPv6_DK_TM4C129X_TI_TivaTM4C129XNCZAD.rar
Thanks,
Mohammed Fawzy