Commit graph

3 commits

Author SHA1 Message Date
Matthew Crymble
9318323b76 uhd: improved handling of empty serial number hints
This allows device::find() calls to proceed even when encountering an empty/invalid
serial number or serial number device argument hint.
2020-06-26 14:31:14 -05:00
mattprost
722e944323 fixup! uhd: Add fuzzy serial number checking 2020-04-09 09:58:20 -05:00
Lane Kolbly
abf025f0a5 uhd: Add fuzzy serial number checking
We have integer 32-bit serial numbers for MPM devices, for example
"1234abcd". For serial numbers which have less than eight digits,
e.g. "123abcd", a user may feel inclined to prefix this number with
a 0 when they are searching for devices, e.g. "0123abcd". This change
makes it so that specifying "0123abcd" will match a device with serial
number "123ABCD".
2020-04-08 15:13:53 -05:00