Commit 9452b54
Backport Neovi features for release 3.3.4 (#903)
* Use inter-process mutex to prevent concurrent neoVI device open
When neoVI server is enabled, there is an issue with concurrent device open.
* Move neoVI open lock to module level
* Adding dummy file lock when importing FileLock fails
* Grammar fix
* Raising more precise API error when set bitrate fails
Also calling shutdown before raising exception from the init if the device is opened
* Simplified if fd condition in init
* Moving filelock to neovi extras_require
* Adding comma back
* Update CHANGELOG.txt
Co-authored-by: Pierre-Luc Tessier Gagné <[email protected]>1 parent 57b1a34 commit 9452b54
File tree
3 files changed
+52
-10
lines changed- can/interfaces/ics_neovi
3 files changed
+52
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| |||
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
30 | 61 | | |
31 | 62 | | |
32 | 63 | | |
| |||
118 | 149 | | |
119 | 150 | | |
120 | 151 | | |
121 | | - | |
122 | 152 | | |
123 | | - | |
124 | | - | |
125 | | - | |
| 153 | + | |
| 154 | + | |
126 | 155 | | |
127 | | - | |
128 | | - | |
129 | | - | |
| 156 | + | |
| 157 | + | |
130 | 158 | | |
131 | | - | |
132 | | - | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
133 | 174 | | |
134 | 175 | | |
135 | 176 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
0 commit comments