{\bfseries 1 marzo 2018}

\section*{Risultati del test {\itshape Collisioni} }

~\newline
 Questo file contiene i risultati di due ripetizioni del test {\itshape collisioni messaggi} eseguite il 1 marzo 2018.~\newline
 Il codice utilizzato si trova al commit {\ttfamily 1ac8af15762fcd8c6f80e95ff1be19ce5895cca} del repository git di questa libreria. ~\newline


~\newline
~\newline
 \subsection*{Impostazioni }

I test sono stati effettuati con le seguenti impostazioni\+:

File {\ttfamily \doxyref{R\+F\+M69\+\_\+impostazioni.\+h}{pag.}{_r_f_m69__impostazioni_8h}}\+:


\begin{DoxyCode}
#define BIT\_RATE                        19200
#define FREQ\_DEV                        38400
#define RADIO\_FREQ                      434000000
#define POTENZA\_TX                      15
#define RSSI\_TRESH                      -118
#define MODULATION                      MODULATION\_FSK
#define SHAPING                         SHAPING\_FSK\_GAUSS\_1\_0
#define ENCODING                        ENCODING\_WHITENING
#define CRC\_EN                          ON
#define PREAMBLE\_SIZE                   4
#define SYNC\_EN                         ON
#define SYNC\_TOL                        0
#define SYNC\_SIZE                       2
#define SYNC\_VAL                        0x6A,0xE5,0xA7,0x56,0x6A,0xE5,0xA7,0x56
#define SENSIVITY\_MODE                  SENSIVITY\_MODE\_NORMAL
#define AFC\_AUTOCLEAR                   OFF
#define AFC\_AUTO                        OFF
#define AFC\_LOW\_BETA\_EN                 OFF
#define LOW\_BETA\_AFC\_OFFSET             0
#define CONTINUOUS\_DAGC                 CONTINUOUS\_DAGC\_IMPROVED
#define LISTEN\_RESOL\_IDLE               LISTEN\_RESOL\_4\_1\_MS
#define LISTEN\_RESOL\_RX                 LISTEN\_RESOL\_64\_US
#define LISTEN\_CRIT                     LISTEN\_CRIT\_NO\_ADDR
#define LISTEN\_END                      LISTEN\_END\_GO\_TO\_MODE
#define LISTEN\_COEF\_IDLE                0xF5
#define LISTEN\_COEF\_RX                  0x20
#define PA\_RAMP                         PA\_RAMP\_40\_US
#define OCP\_EN                          ON
#define OCP\_TRIM                        95
#define LNA\_IMPEND                      LNA\_IMPEND\_50\_OHMS
#define LNA\_GAIN                        LNA\_GAIN\_AGC
#define RX\_BW                           BIT\_RATE * 2
#define DCC\_FREQ                        DCC\_FREQ\_0\_125
#define RX\_BW\_AFC                       BIT\_RATE * 2
#define DCC\_FREQ\_AFC                    DCC\_FREQ\_0\_125
#define OOK\_TRESH\_TYPE                  OOK\_TRESH\_TYPE\_PEAK
#define OOK\_PEAK\_TRESH\_STEP             OOK\_PEAK\_TRESH\_STEP\_0\_5
#define OOK\_PEAK\_TRESH\_DEC              OOK\_PEAK\_TRESH\_DEC\_1
#define OOK\_AVRG\_TRESH\_FILT             OOK\_AVRG\_TRESH\_FILT\_4\_PI
#define OOK\_FIXED\_TRESH                 0x6
#define PAYLOAD\_READY\_ON\_CRC\_FAIL       OFF
#define INTER\_PACKET\_RX\_DELAY           0
#define AES\_EN                          OFF
#define AES\_KEY  <KEY>
\end{DoxyCode}


Altre impostazioni della classe\+:


\begin{DoxyCode}
Lunghezza messaggi    4    ->   inizializza(4);
Timeout ACK           100  ->   impostaTimeoutACK(100);
\end{DoxyCode}


Impostazioni del test\+:


\begin{DoxyCode}
tolleranza              = 200
durataMinimaTest        = 30000
frequenzaTxIniziale     = 50
incrementoFrequenzaTx   = 25
nrTestMax               = 50
\end{DoxyCode}


~\newline
br$>$ \subsection*{Risultato primo test }


\begin{DoxyCode}
***********************************************************************
Test completato in 32 minuti e 54 secondi.
Questa radio ha inviato 14429 messaggi di 4 bytes a 41 frequenze di
trasmissione diverse comprese tra 25 e 1036 messaggi al minuto.

Attesa ACK: media = 14, massima = 104


   Risultati

   | #  | durata | mess inviati | mess/min | m/m esatti | successo |
   -----------------------------------------------------------------
   |  1 |   30 s |           17 |       25 |         33 |   100.00 |
   |  2 |  148 s |          114 |       50 |         45 |    92.98 |
   |  3 |   38 s |           49 |       75 |         75 |    95.91 |
   |  4 |  187 s |          317 |      100 |        101 |    89.58 |
   |  5 |   64 s |          132 |      125 |        123 |    77.27 |
   |  6 |  126 s |          361 |      150 |        171 |    90.30 |
   |  7 |   31 s |          100 |      175 |        189 |    79.00 |
   |  8 |   49 s |          171 |      200 |        208 |    88.88 |
   |  9 |   40 s |          164 |      225 |        241 |    81.09 |
   | 10 |   55 s |          238 |      250 |        255 |    78.15 |
   | 11 |   37 s |          171 |      275 |        270 |    76.60 |
   | 12 |   31 s |          184 |      300 |        350 |    73.36 |
   | 13 |   61 s |          320 |      325 |        314 |    72.18 |
   | 14 |   42 s |          234 |      350 |        331 |    73.50 |
   | 15 |   50 s |          350 |      375 |        414 |    53.42 |
   | 16 |   46 s |          297 |      400 |        381 |    68.35 |
   | 17 |   33 s |          231 |      425 |        415 |    67.53 |
   | 18 |   33 s |          224 |      450 |        405 |    73.21 |
   | 19 |   47 s |          402 |      475 |        511 |    63.18 |
   | 20 |   52 s |          438 |      500 |        502 |    57.99 |
   | 21 |   31 s |          250 |      525 |        470 |    69.20 |
   | 22 |   48 s |          446 |      550 |        555 |    59.64 |
   | 23 |   30 s |          285 |      575 |        554 |    54.73 |
   | 24 |   38 s |          407 |      600 |        635 |    48.64 |
   | 25 |   34 s |          373 |      625 |        644 |    53.61 |
   | 26 |   38 s |          390 |      650 |        613 |    46.92 |
   | 27 |   41 s |          423 |      675 |        605 |    44.44 |
   | 28 |   50 s |          574 |      700 |        687 |    38.32 |
   | 29 |   38 s |          481 |      725 |        749 |    46.98 |
   | 30 |   33 s |          446 |      750 |        787 |    41.03 |
   | 31 |   33 s |          394 |      775 |        701 |    44.92 |
   | 32 |   45 s |          613 |      800 |        812 |    38.98 |
   | 33 |   36 s |          507 |      825 |        824 |    36.48 |
   | 34 |   43 s |          676 |      850 |        934 |    39.34 |
   | 35 |   36 s |          533 |      875 |        879 |    32.64 |
   | 36 |   43 s |          607 |      900 |        835 |    28.83 |
   | 37 |   30 s |          487 |      925 |        961 |    30.18 |
   | 38 |   36 s |          584 |      950 |        972 |    32.53 |
   | 39 |   30 s |          523 |      975 |       1036 |    27.15 |
   | 40 |   31 s |          545 |     1000 |       1022 |    26.97 |
   | 41 |   30 s |          371 |     1025 |        741 |   100.00 |
   -----------------------------------------------------------------


   Percentuale di successo per frequenza di trasmissione

    %
100 |   *                                                            *                          
    |       *                                                                                   
    |    *          *                                                                           
    |         *        *                                                                        
    |                     *                                                                     
 75 |           *     *    * *                                                                  
    |                           * * *   *                                                       
    |                                 *  *    *                                                 
    |                                            *                                              
    |                                            *   *                                          
 50 |                                    *           *       *                                  
    |                                                     * *         *                         
    |                                                    *        *      *                      
    |                                                           *          **         *         
    |                                                                            *      **      
 25 |                                                                        *               **
    |                                                                                           
    |                                                                                           
    |                                                                                           
    |                                                                                           
  0 +------------------------------------------------------------------------------------------  mess/min
    0     100     200     300     400     500     600     700     800     900     1000     1100



Array dei dati raccolti da questo test, nell'ordine:
mpm previsti - mpm effettivi - messaggi tot - durata - successo

uint16\_t array[41][5] =
       \{\{25,33,17,30,10000\},\{50,45,114,148,9298\},\{75,75,49,38,9591\},\{100,101,317,187,8958\},
      \{125,123,132,64,7727\},\{150,171,361,126,9030\},\{175,189,100,31,7900\},\{200,208,171,49,8888\},\{225,241,164,40,810
      9\},\{250,255,238,55,7815\},\{275,270,171,37,7660\},\{300,350,184,31,7336\},\{325,314,320,61,7218\},\{350,331,234,42,7
      350\},\{375,414,350,50,5342\},\{400,381,297,46,6835\},\{425,415,231,33,6753\},\{450,405,224,33,7321\},\{475,511,402,47
      ,6318\},\{500,502,438,52,5799\},\{525,470,250,31,6920\},\{550,555,446,48,5964\},\{575,554,285,30,5473\},\{600,635,407,
      38,4864\},\{625,644,373,34,5361\},\{650,613,390,38,4692\},\{675,605,423,41,4444\},\{700,687,574,50,3832\},\{725,749,48
      1,38,4698\},\{750,787,446,33,4103\},\{775,701,394,33,4492\},\{800,812,613,45,3898\},\{825,824,507,36,3648\},\{850,934,
      676,43,3934\},\{875,879,533,36,3264\},\{900,835,607,43,2883\},\{925,961,487,30,3018\},\{950,972,584,36,3253\},\{975,1036,523,30,2715\},\{1000,1022,545,31,2697\},\{1025,741,371,30,10000\}\}
\end{DoxyCode}


~\newline
br$>$ \subsection*{Risultato secondo test }


\begin{DoxyCode}
***********************************************************************
Test completato in 32 minuti e 40 secondi.
Questa radio ha inviato 20505 messaggi di 4 bytes a 49 frequenze di
trasmissione diverse comprese tra 25 e 1203 messaggi al minuto.

Attesa ACK: media = 65535, massima = 0


   Risultati

   | #  | durata | mess inviati | mess/min | m/m esatti | successo |
   -----------------------------------------------------------------
   |  1 |   40 s |           13 |       25 |         19 |   100.00 |
   |  2 |   40 s |           32 |       50 |         47 |   100.00 |
   |  3 |   40 s |           39 |       75 |         57 |    87.09 |
   |  4 |   40 s |           73 |      100 |        107 |    84.21 |
   |  5 |   40 s |           95 |      125 |        142 |    85.71 |
   |  6 |   40 s |          119 |      150 |        176 |    88.04 |
   |  7 |   40 s |          102 |      175 |        152 |    83.78 |
   |  8 |   40 s |          119 |      200 |        177 |    80.00 |
   |  9 |   40 s |          132 |      225 |        197 |    76.69 |
   | 10 |   40 s |          176 |      250 |        263 |    77.50 |
   | 11 |   40 s |          175 |      275 |        261 |    81.08 |
   | 12 |   40 s |          180 |      300 |        267 |    70.68 |
   | 13 |   40 s |          231 |      325 |        343 |    83.14 |
   | 14 |   40 s |          234 |      350 |        350 |    67.69 |
   | 15 |   40 s |          218 |      375 |        326 |    73.56 |
   | 16 |   40 s |          283 |      400 |        418 |    76.19 |
   | 17 |   40 s |          308 |      425 |        460 |    72.51 |
   | 18 |   40 s |          314 |      450 |        470 |    62.23 |
   | 19 |   40 s |          306 |      475 |        458 |    51.04 |
   | 20 |   40 s |          346 |      500 |        517 |    63.44 |
   | 21 |   40 s |          359 |      525 |        538 |    55.37 |
   | 22 |   40 s |          360 |      550 |        539 |    46.37 |
   | 23 |   40 s |          395 |      575 |        586 |    61.55 |
   | 24 |   40 s |          423 |      600 |        631 |    55.47 |
   | 25 |   40 s |          401 |      625 |        600 |    55.85 |
   | 26 |   40 s |          473 |      650 |        709 |    51.55 |
   | 27 |   40 s |          428 |      675 |        641 |    38.98 |
   | 28 |   40 s |          463 |      700 |        694 |    60.68 |
   | 29 |   40 s |          487 |      725 |        729 |    53.15 |
   | 30 |   40 s |          518 |      750 |        776 |    50.11 |
   | 31 |   40 s |          555 |      775 |        830 |    42.94 |
   | 32 |   40 s |          534 |      800 |        800 |    32.87 |
   | 33 |   40 s |          553 |      825 |        827 |    42.26 |
   | 34 |   40 s |          562 |      850 |        842 |    44.28 |
   | 35 |   40 s |          586 |      875 |        877 |    38.47 |
   | 36 |   40 s |          600 |      900 |        897 |    32.41 |
   | 37 |   40 s |          637 |      925 |        952 |    33.92 |
   | 38 |   40 s |          658 |      950 |        983 |    39.93 |
   | 39 |   40 s |          672 |      975 |       1007 |    25.68 |
   | 40 |   40 s |          687 |     1000 |       1029 |    35.55 |
   | 41 |   40 s |          686 |     1025 |       1028 |    29.45 |
   | 42 |   40 s |          698 |     1050 |       1045 |   100.00 |
   | 43 |   40 s |          713 |     1075 |       1068 |   100.00 |
   | 44 |   40 s |          734 |     1100 |       1100 |   100.00 |
   | 45 |   40 s |          739 |     1125 |       1107 |   100.00 |
   | 46 |   40 s |          733 |     1150 |       1099 |    15.99 |
   | 47 |   40 s |          778 |     1175 |       1165 |    23.52 |
   | 48 |   40 s |          775 |     1200 |       1160 |    20.33 |
   | 49 |   40 s |          803 |     1225 |       1203 |    21.01 |
   -----------------------------------------------------------------



   Percentuale di successo per frequenza di trasmissione



   Percentuale di successo per frequenza di trasmissione

    %
100 |  * *                                                                       **  **          
    |                                                                                           
    |                                                                                           
    |     *     * *                                                                             
    |        *  * *     *     *                                                                 
 75 |               *   *           *                                                           
    |                    *   *         *                                                        
    |                          *                                                                
    |                                  *   *    *      *                                        
    |                                       *    * *                                            
 50 |                                 *                  **  *                                  
    |                                       *                                                   
    |                                                            ***                             
    |                                               *                *      *   *               
    |                                                          *      *   *                     
 25 |                                                                         * *               
    |                                                                                    **  *   
    |                                                                                *          
    |                                                                                           
    |                                                                                           
  0 +------------------------------------------------------------------------------------------  mess/min
    0    100    200    300    400    500    600    700    800    900    1000    1100    1200    1300



Array dei dati raccolti da questo test, nell'ordine:
mpm previsti - mpm effettivi - messaggi tot - durata - successo

uint16\_t array[49][5] =
       \{\{25,19,13,40,10000\},\{50,47,32,40,10000\},\{75,57,39,40,8709\},\{100,107,73,40,8421\},\{12
      5,142,95,40,8571\},\{150,176,119,40,8804\},\{175,152,102,40,8378\},\{200,177,119,40,8000\},\{225,197,132,40,7669\},\{2
      50,263,176,40,7750\},\{275,261,175,40,8108\},\{300,267,180,40,7068\},\{325,343,231,40,8314\},\{350,350,234,40,6769\},
      \{375,326,218,40,7356\},\{400,418,283,40,7619\},\{425,460,308,40,7251\},\{450,470,314,40,6223\},\{475,458,306,40,5104
      \},\{500,517,346,40,6344\},\{525,538,359,40,5537\},\{550,539,360,40,4637\},\{575,586,395,40,6155\},\{600,631,423,40,55
      47\},\{625,600,401,40,5585\},\{650,709,473,40,5155\},\{675,641,428,40,3898\},\{700,694,463,40,6068\},\{725,729,487,40,
      5315\},\{750,776,518,40,5011\},\{775,830,555,40,4294\},\{800,800,534,40,3287\},\{825,827,553,40,4226\},\{850,842,562,4
      0,4428\},\{875,877,586,40,3847\},\{900,897,600,40,3241\},\{925,952,637,40,3392\},\{950,983,658,40,3993\},\{975,1007,67
      2,40,2568\},\{1000,1029,687,40,3555\},\{1025,1028,686,40,2945\},\{1050,1045,698,40,10000\},\{1075,1068,713,40,10000\}
      ,\{1100,1100,734,40,10000\},\{1125,1107,739,40,10000\},\{1150,1099,733,40,1599\},\{1175,1165,778,40,2352\},\{1200,1160,775,40,2033\},\{1225,1203,803,40,2101\}\};
\end{DoxyCode}


~\newline
br$>$ \subsection*{Risultato terzo test }


\begin{DoxyCode}
***********************************************************************
Test completato in 35 minuti e 26 secondi.
Questa radio ha inviato 24032 messaggi di 4 bytes a 53 frequenze di
trasmissione diverse comprese tra 25 e 1255 messaggi al minuto.

Attesa ACK: media = 14, massima = 98


   Risultati

   | #  | durata | mess inviati | mess/min | m/m esatti | successo |
   -----------------------------------------------------------------
   |  1 |   42 s |           15 |       25 |         21 |   100.00 |
   |  2 |   42 s |           29 |       50 |         40 |    75.00 |
   |  3 |   40 s |           55 |       75 |         82 |    90.74 |
   |  4 |   40 s |           69 |      100 |        101 |    97.05 |
   |  5 |   42 s |           84 |      125 |        117 |    91.56 |
   |  6 |   40 s |          127 |      150 |        185 |    80.95 |
   |  7 |   40 s |           99 |      175 |        147 |    81.63 |
   |  8 |   40 s |          143 |      200 |        213 |    85.21 |
   |  9 |   40 s |          162 |      225 |        241 |    83.22 |
   | 10 |   40 s |          157 |      250 |        235 |    82.69 |
   | 11 |   40 s |          179 |      275 |        267 |    73.03 |
   | 12 |   40 s |          176 |      300 |        262 |    77.71 |
   | 13 |   40 s |          220 |      325 |        328 |    65.29 |
   | 14 |   40 s |          246 |      350 |        368 |    76.32 |
   | 15 |   40 s |          249 |      375 |        372 |    77.01 |
   | 16 |   40 s |          287 |      400 |        429 |    76.57 |
   | 17 |   40 s |          288 |      425 |        430 |    68.98 |
   | 18 |   40 s |          311 |      450 |        465 |    62.25 |
   | 19 |   40 s |          338 |      475 |        498 |    61.12 |
   | 20 |   40 s |          320 |      500 |        479 |    13.47 |
   | 21 |   40 s |          357 |      525 |        535 |    66.85 |
   | 22 |   40 s |          377 |      550 |        563 |    51.06 |
   | 23 |   40 s |          396 |      575 |        591 |    51.39 |
   | 24 |   40 s |          391 |      600 |        584 |    56.41 |
   | 25 |   40 s |          453 |      625 |        678 |    49.33 |
   | 26 |   40 s |          454 |      650 |        680 |    50.33 |
   | 27 |   40 s |          463 |      675 |        693 |    48.91 |
   | 28 |   40 s |          442 |      700 |        661 |    44.67 |
   | 29 |   40 s |          477 |      725 |        714 |    41.38 |
   | 30 |   40 s |          516 |      750 |        773 |    34.17 |
   | 31 |   40 s |          535 |      775 |        799 |    40.82 |
   | 32 |   40 s |          540 |      800 |        806 |    42.48 |
   | 33 |   40 s |          565 |      825 |        846 |    36.70 |
   | 34 |   40 s |          586 |      850 |        878 |    35.55 |
   | 35 |   40 s |          607 |      875 |        910 |    36.13 |
   | 36 |   40 s |          599 |      900 |        898 |    39.13 |
   | 37 |   40 s |          649 |      925 |        972 |    26.38 |
   | 38 |   40 s |          642 |      950 |        962 |    30.10 |
   | 39 |   40 s |          661 |      975 |        991 |     7.72 |
   | 40 |   40 s |          682 |     1000 |       1022 |    28.63 |
   | 41 |   40 s |          690 |     1025 |       1034 |    17.27 |
   | 42 |   40 s |          717 |     1050 |       1074 |    28.63 |
   | 43 |   40 s |          726 |     1075 |       1088 |    33.79 |
   | 44 |   40 s |          716 |     1100 |       1073 |    26.85 |
   | 45 |   40 s |          786 |     1125 |       1178 |    18.59 |
   | 46 |   40 s |          809 |     1150 |       1212 |    22.15 |
   | 47 |   40 s |          806 |     1175 |       1208 |    18.63 |
   | 48 |   40 s |          812 |     1200 |       1217 |    14.91 |
   | 49 |   40 s |          811 |     1225 |       1215 |    17.65 |
   | 50 |   40 s |          837 |     1250 |       1255 |    19.97 |
   | 51 |   40 s |          801 |     1275 |       1200 |     5.75 |
   | 52 |   40 s |          801 |     1300 |       1201 |     8.12 |
   | 53 |   40 s |          774 |     1325 |       1159 |     0.25 |
   -----------------------------------------------------------------



   Percentuale di successo per frequenza di trasmissione

    %
100 |  *                                                                                        
    |       *                                                                                   
    |      *  *                                                                                 
    |               *                                                                           
    |           * *   **                                                                         
 75 |   *               *      **   *                                                            
    |                   *                                                                       
    |                       *      *       *                                                    
    |                                 * *                                                       
    |                                         *                                                 
 50 |                                       * *      *                                          
    |                                               **                                          
    |                                              *   *     **                                  
    |                                                           * * **                          
    |                                                      *            *        *              
 25 |                                                                    *  *   **               
    |                                                                                    *      
    |                                                                        *         * ** *   
    |                                  *                                                  *     
    |                                                                     *              **      
  0 +------------------------------------------------------------------------------------------  mess/min
    0          200          400          600          800          1000          1200          1400



Array dei dati raccolti da questo test, nell'ordine:
mpm previsti - mpm effettivi - messaggi tot - durata - successo

uint16\_t array[53][5] =
       \{\{25,21,15,42,10000\},\{50,40,29,42,7500\},\{75,82,55,40,9074\},\{100,101,69,40,9705\},\{125
      ,117,84,42,9156\},\{150,185,127,40,8095\},\{175,147,99,40,8163\},\{200,213,143,40,8521\},\{225,241,162,40,8322\},\{250
      ,235,157,40,8269\},\{275,267,179,40,7303\},\{300,262,176,40,7771\},\{325,328,220,40,6529\},\{350,368,246,40,7632\},\{3
      75,372,249,40,7701\},\{400,429,287,40,7657\},\{425,430,288,40,6898\},\{450,465,311,40,6225\},\{475,498,338,40,6112\},
      \{500,479,320,40,1347\},\{525,535,357,40,6685\},\{550,563,377,40,5106\},\{575,591,396,40,5139\},\{600,584,391,40,5641
      \},\{625,678,453,40,4933\},\{650,680,454,40,5033\},\{675,693,463,40,4891\},\{700,661,442,40,4467\},\{725,714,477,40,41
      38\},\{750,773,516,40,3417\},\{775,799,535,40,4082\},\{800,806,540,40,4248\},\{825,846,565,40,3670\},\{850,878,586,40,
      3555\},\{875,910,607,40,3613\},\{900,898,599,40,3913\},\{925,972,649,40,2638\},\{950,962,642,40,3010\},\{975,991,661,4
      0,772\},\{1000,1022,682,40,2863\},\{1025,1034,690,40,1727\},\{1050,1074,717,40,2863\},\{1075,1088,726,40,3379\},\{1100
      ,1073,716,40,2685\},\{1125,1178,786,40,1859\},\{1150,1212,809,40,2215\},\{1175,1208,806,40,1863\},\{1200,1217,812,40
      ,1491\},\{1225,1215,811,40,1765\},\{1250,1255,837,40,1997\},\{1275,1200,801,40,575\},\{1300,1201,801,40,812\},\{1325,1159,774,40,25\}\};
\end{DoxyCode}
 