Replies: 3 comments 1 reply
-
|
Are you using the NORM_OBJECT_DATA mode? There are a couple of sender events that can be leveraged, but are issued at object boundaries versus more granular, incremental updates on sender progress. Also the TX_QUEUE_VACANCY / EMPTY is another indication but for "objects" transfers is at the object boundary. For something more granular, an API could be added to poll some indices that NORM keeps under the hood for where it is at in the progression of sending an object. Basically for a given NormObjectHandle, a call could be added to fetch the "next pending block/segment" index information and that could be call periodically by the application to provide a progress indicator. Oh (thank you Google AI), it looks like the NormObjectGetBytesPending() call does this .... " It returns the number of bytes that remain to be sent for that object" ... so if you take objectSize minus that value it gives an idea where the sender is at on transmit progress for the given object. |
Beta Was this translation helpful? Give feedback.
-
|
Yes, i am using NORM_OBJECT_DATA mode. However it's not critical to my app, but it's good to know that it's possible. The data being sent is a couple of hundred bytes usually. |
Beta Was this translation helpful? Give feedback.
-
|
In-order delivery is not important. So thanks for the clarification. In my case latency is given not by code by the very low speed networks that we'll be using. Btw, i haven't checked yet with a tool like Wireshark but can you share some information regarding the bandwidth consumed on top of the package size? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi again!
Knowing that the sender is dividing the data to be sent in chunks of bufferSize kb, i would like to provide some progress to the sender by handling a sender event, in the same way the receiver is handling NORM_RX_OBJECT_UPDATED. Is there something that i can catch ?
Beta Was this translation helpful? Give feedback.
All reactions