Eric Shu
|
25945b162d
|
Define NMRP_ETH_TIMEOUT_S constant and use it in Ethernet connection timeout logic
|
2024-11-23 19:17:58 -08:00 |
|
Joseph C. Lehner
|
d6e3f15d55
|
Call nmrp_discard only when neccessary
Speeds up TFTP transfers on Windows
|
2024-09-30 12:35:42 +02:00 |
|
Joseph C. Lehner
|
5138c9f09a
|
Revert "Allow changing the region without uploading a firmware file"
This reverts commit 6838a3a546 .
|
2024-01-11 12:23:56 +01:00 |
|
Joseph C. Lehner
|
6838a3a546
|
Allow changing the region without uploading a firmware file
|
2024-01-11 12:23:20 +01:00 |
|
Joseph C. Lehner
|
fb9cf62f74
|
Prettier #ifdef indents
|
2023-10-23 16:44:24 +02:00 |
|
Joseph C. Lehner
|
a0c1624125
|
Don't try to drain late NMRP packets in one go
|
2023-10-23 16:43:53 +02:00 |
|
Joseph C. Lehner
|
a04543808c
|
Disable timeout when draining NMRP rx buffer
|
2023-10-18 17:42:51 +02:00 |
|
Joseph C. Lehner
|
b187e3ad66
|
Add millis()
|
2023-10-18 17:30:40 +02:00 |
|
Joseph C. Lehner
|
7d3124fb4b
|
Drain NMRP rx buffer before TFTP upload
More debug log spam
|
2023-07-26 11:43:41 +02:00 |
|
Joseph C. Lehner
|
4fa516602c
|
Show default values of some command-line options
|
2022-06-11 19:25:38 +02:00 |
|
Joseph C. Lehner
|
b70de725ca
|
Don't wait for physical connection on WiFi interfaces
|
2021-06-06 13:32:05 +02:00 |
|
Joseph C. Lehner
|
afeff8eb52
|
Fix multiple format strings on Windows
It's a miracle this didn't blow up earlier!
|
2021-05-31 19:22:17 +02:00 |
|
Joseph C. Lehner
|
54012d23dc
|
Fix compilation error on newer MinGW versions
|
2021-05-31 18:42:54 +02:00 |
|
Joseph C. Lehner
|
a2267b7351
|
Display size of uploaded firmware file
|
2021-05-31 17:58:55 +02:00 |
|
Joseph C. Lehner
|
d6e2c0c4ac
|
Implement carrier detection on BSD/macOS
|
2020-12-13 12:10:15 +01:00 |
|
Joseph C. Lehner
|
ec3f738fb6
|
Add -S <offset> option
|
2020-09-10 15:11:04 +02:00 |
|
Joseph C. Lehner
|
35fd6f41df
|
Detect unplugged Ethernet cable on Windows
|
2020-08-18 13:01:37 +02:00 |
|
Joseph C. Lehner
|
015e4d48b1
|
Fix some warnings on Windows
|
2020-08-17 14:28:51 +02:00 |
|
Joseph C. Lehner
|
da9700c71d
|
Use shorter TFTP timeout in blind mode
|
2020-03-02 09:30:27 +01:00 |
|
Joseph C. Lehner
|
30a2f28f1a
|
Change select_fd args to microseconds
|
2020-03-02 08:45:21 +01:00 |
|
Joseph C. Lehner
|
9a9abfc07c
|
Don't use -t timeout for TFTP transfers
|
2020-03-02 08:34:44 +01:00 |
|
Joseph C. Lehner
|
0ab6b37b9c
|
Add blind mode (-B)
|
2020-03-01 20:08:37 +01:00 |
|
Joseph C. Lehner
|
ed1ca50798
|
Fix syntax error
|
2017-04-02 14:14:40 +02:00 |
|
Joseph C. Lehner
|
e2be8975ab
|
Actually enable -R option
|
2017-02-19 11:01:04 +01:00 |
|
Joseph C. Lehner
|
fce06c4b15
|
Fix OS detection
|
2016-11-21 21:24:37 +01:00 |
|
Joseph C. Lehner
|
98fdb9e63c
|
Use safe SIGINT handler
|
2016-11-20 12:22:15 +01:00 |
|
Live User
|
8f5a628b01
|
Fix FreeBSD issues
|
2016-11-19 14:54:02 +00:00 |
|
Joseph C. Lehner
|
eda1a2a698
|
Check subnet mask's sanity
|
2016-11-19 13:02:29 +01:00 |
|
Joseph C. Lehner
|
fba7aab1bd
|
Unify ethsock IP/ARP API
|
2016-11-19 11:14:47 +01:00 |
|
Joseph C. Lehner
|
fd02c7dfa9
|
Add PORT env var
|
2016-11-19 11:14:47 +01:00 |
|
Joseph C. Lehner
|
564aff28aa
|
Use time_monotonic for timeouts
|
2016-11-18 17:39:04 +01:00 |
|
Joseph C. Lehner
|
2c11c7e3c4
|
Add IP instead of replacing it
|
2016-11-12 16:44:15 +01:00 |
|
Joseph C. Lehner
|
2cf812dcfe
|
Don't require user to specify -a anymore
|
2016-11-12 15:40:26 +01:00 |
|
Joseph C. Lehner
|
f38833e940
|
Add ARPinger
|
2016-11-12 13:48:28 +01:00 |
|
Joseph C. Lehner
|
a050f74bce
|
Create static ARP entry for device
|
2016-08-09 12:16:47 +02:00 |
|
Joseph C. Lehner
|
d7caf78f5e
|
Accept pretty names for -R instead of codes
|
2016-02-18 22:11:12 +01:00 |
|
Joseph C. Lehner
|
758d301c31
|
Shorten pathname in status message
|
2016-02-17 12:19:43 +01:00 |
|
Joseph C. Lehner
|
bc43f07291
|
Don't break if using the client-supplied filename
|
2016-02-14 23:01:58 +01:00 |
|
Joseph C. Lehner
|
ae05a62666
|
Add and use ethsock_for_each_ip
|
2016-02-13 16:16:51 +01:00 |
|
Joseph C. Lehner
|
1b3bb6779b
|
Check if ip address is valid for given interface
|
2016-02-13 16:14:59 +01:00 |
|
Joseph C. Lehner
|
a6c40ee917
|
Add code to support setting the device region
|
2016-02-12 14:48:42 +01:00 |
|
Joseph C. Lehner
|
54e4724b9a
|
Add and use file_remote
|
2016-02-12 14:37:26 +01:00 |
|
Joseph C. Lehner
|
98607d141b
|
nmrpd_args::filename -> file_local
|
2016-02-12 14:16:55 +01:00 |
|
Joseph C. Lehner
|
f270831c91
|
Fix #include order
|
2016-02-09 11:35:21 +01:00 |
|
Joseph C. Lehner
|
417345b031
|
Make it compile on FreeBSD
|
2016-02-09 09:18:51 +01:00 |
|
Joseph C. Lehner
|
904a81b50e
|
nmrp-flash -> nmrpflash
|
2016-02-08 16:21:57 +01:00 |
|
Joseph C. Lehner
|
aa0f1992e3
|
Use git describe for the version string
|
2016-02-08 15:45:51 +01:00 |
|
Joseph C. Lehner
|
933ef7bab2
|
Finally make it work on Windows
|
2016-02-08 13:57:39 +01:00 |
|
Joseph C. Lehner
|
4beccaac20
|
Remove ethsock.h
|
2016-02-05 20:27:48 +02:00 |
|
Joseph C. Lehner
|
590894deac
|
Fix Winsock recvfrom() timeouts
|
2016-02-05 20:20:57 +02:00 |
|