[Aggregator] Swap timestamp and mobile MAC
To be consistent with what is read by owlps-positioning, the mobile MAC address is now the first field of each line of the CSV file.
This commit is contained in:
parent
c4f413b862
commit
5d8e907335
|
@ -470,12 +470,6 @@ void* monitor_couples()
|
|||
putchar('\n') ;
|
||||
#endif // DEBUG
|
||||
|
||||
#ifdef USE_TIMESTAMP
|
||||
// Print request mobile timestamp to the output file
|
||||
fprintf(fd, "%"PRIu64";",
|
||||
owl_timestamp_to_ms(couple_ptr->request_time)) ;
|
||||
#endif // USE_TIMESTAMP
|
||||
|
||||
// Print mobile MAC address to the output file
|
||||
mac_string =
|
||||
owl_mac_bytes_to_string(couple_ptr
|
||||
|
@ -483,6 +477,12 @@ void* monitor_couples()
|
|||
fprintf(fd, "%s;", mac_string) ;
|
||||
free(mac_string) ;
|
||||
|
||||
#ifdef USE_TIMESTAMP
|
||||
// Print request mobile timestamp to the output file
|
||||
fprintf(fd, "%"PRIu64";",
|
||||
owl_timestamp_to_ms(couple_ptr->request_time)) ;
|
||||
#endif // USE_TIMESTAMP
|
||||
|
||||
// Print couple info to the output file
|
||||
fprintf(fd, "%0.2f;%0.2f;%0.2f;%hhd",
|
||||
couple_ptr->x_position, couple_ptr->y_position,
|
||||
|
|
Loading…
Reference in New Issue