[lib-result] Update OWL_CSV_RESULT_STRLEN
Add OWL_CSV_RESULT_REQUEST_STRLEN & OWL_CSV_ALGORITHM_RESULT_STRLEN.
This commit is contained in:
parent
c7ba92cef9
commit
44055929b1
|
@ -15,13 +15,15 @@
|
|||
|
||||
/* Maximum size of a result CSV string sent by OwlPS Positioning.
|
||||
* Request's information:
|
||||
* = 18 (MAC) + 2 (type) + 22 (timestamp) = 42
|
||||
* = 18 (MAC) + 2 (type) + 22 (timestamp) = 42 + ';' = 43
|
||||
* Plus, for each algorithm, about 60 characters (say 100, as the length
|
||||
* of the algorithm and area names can vary).
|
||||
* of the algorithm and area names can vary, 101 with the ';').
|
||||
* Let's keep room for 10 algorithms :
|
||||
* 10×100 + 42 = 1042 characters + '\0' = 1043.
|
||||
* 10×101 + 43 = 1053 characters.
|
||||
*/
|
||||
#define OWL_CSV_RESULT_STRLEN 1043
|
||||
#define OWL_CSV_RESULT_REQUEST_STRLEN 43
|
||||
#define OWL_CSV_ALGORITHM_RESULT_STRLEN 101
|
||||
#define OWL_CSV_RESULT_STRLEN 1053
|
||||
|
||||
|
||||
/* Linked list of algorithms' results.
|
||||
|
|
Loading…
Reference in New Issue