adding timestamp management

This commit is contained in:
laurent
2019-08-02 11:08:09 +02:00
parent 5a7cbde584
commit 02c8b38b18
4 changed files with 69 additions and 53 deletions
+5
View File
@@ -104,6 +104,11 @@ int sendSubFrame(UDPsock_t *sock, void *bufferZone, ssize_t secondHeaderSize) {
int nbBlocks=UDPheader->nbBlocks;
int blockId=0;
if (nbBlocks <= 0 ) {
LOG_E(PHY,"FS6: can't send blocks: %d\n", nbBlocks);
return 0;
}
do {
if (blockId > 0 ) {
commonUDP_t *currentHeader=(commonUDP_t *)bufferZone;