Thanks to valuable comments from this forum, I'm on the final stage but still have some issues.
I'm using cc3235MODS module for L2 level N:N communications in transceiver mode.
I have three issues:
When I send a packet to NWP using sl_Send() function,
the packet doesn't go out immediately. It seems to wait for the next packets to start transmission.
Or, the receiver holds the received the packet and doesn't upload immediately.
My application is a factory automation, thus I need immediate transmission.
How can I fix this issue?
Second, when I receive, for example, 10 packets sent by some other device in transceiver mode,
the last packet doesn't come up to the application and seems to be kept by the NWP, and sl_Recv() returns the
last one when I send a long packet or when some garbage data is received by the NWP.
How can I get the packet received without delay? (This may be the same issue with the first one.)
Third issue, when I send, for example, a packet of 100 bytes, then at the peer side, when I check the
number of bytes returned by sl_Recv(), it seems to be 15xx bytes, a normal TCP socket size.
The NWP seems to pad dummy bytes to make a 15xx bytes before transmission or to wait for other packets
to make a 15xx byte TCP packet, which is unclear from the document.
Can the NWP send the data without padding as it receives from the application processor?
My application is to maximize communication success ratio in a very tight condition, Thus I want
the only meaningful data to be sent in the air to increase the performance.
Any comments will be highly appreciated.
J.Y. Kim