Commit 810d33d
Robert Middleton
Better calculate the transmit timeout for packets
Some packets(such as firmware upgrade packets) can be so large that they will
cause a timeout on libosdp, especially at slower baud rates. Add in a way to
calculate how long the packet transmission should take in order to have an
acceptable timeout.
See: #2821 parent 5810411 commit 810d33d
2 files changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
417 | 417 | | |
418 | 418 | | |
419 | 419 | | |
| 420 | + | |
420 | 421 | | |
421 | 422 | | |
422 | 423 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
795 | 795 | | |
796 | 796 | | |
797 | 797 | | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
798 | 802 | | |
799 | 803 | | |
800 | 804 | | |
| |||
825 | 829 | | |
826 | 830 | | |
827 | 831 | | |
| 832 | + | |
828 | 833 | | |
829 | 834 | | |
830 | 835 | | |
| |||
851 | 856 | | |
852 | 857 | | |
853 | 858 | | |
854 | | - | |
| 859 | + | |
855 | 860 | | |
856 | 861 | | |
857 | 862 | | |
| |||
0 commit comments