https://osmocom.org/https://osmocom.org/favicon.ico?16647414092018-11-29T12:24:51ZOpen Source Mobile CommunicationsOsmoTRX - Bug #3654: Can't select LimeSDR by serial numberhttps://osmocom.org/issues/3654?journal_id=127862018-11-29T12:24:51Zlaforge
<ul><li><strong>Assignee</strong> set to <i>osmith</i></li></ul> OsmoTRX - Bug #3654: Can't select LimeSDR by serial numberhttps://osmocom.org/issues/3654?journal_id=127872018-11-29T12:26:25Zlaforge
<ul></ul> OsmoTRX - Bug #3654: Can't select LimeSDR by serial numberhttps://osmocom.org/issues/3654?journal_id=128172018-12-03T18:27:25Zpespin
<ul></ul><p>Check LMSDevice::open in ./Transceiver52M/device/lms/LMSDevice.cpp, "args" is passed there as a string.</p>
<p>What I would do: accept in VTY same format as we use for osmo-trx-uhd, for instance: "LimeSDR-USB,addr=1d50:6108,serial=0009060B00471827"</p>
<p>Then, create a function which splits each token into an vector of strings (comma is the separator).</p>
<p>Then, for each lms_info_str_t returned in LMS_GetDeviceList(info_list), check if all strings coming from the generated vector can be found as substrings of that lms_info_str_t. If that's the case, return that one.</p>
<p>Modify the call to LMS_Open() to use the returned lms_info_str_t instead of info_list<sup><a href="#fn0">0</a></sup>.</p> OsmoTRX - Bug #3654: Can't select LimeSDR by serial numberhttps://osmocom.org/issues/3654?journal_id=128822018-12-10T15:53:06Zosmith
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>In Progress</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>10</i></li></ul> OsmoTRX - Bug #3654: Can't select LimeSDR by serial numberhttps://osmocom.org/issues/3654?journal_id=129002018-12-11T15:51:17Zosmith
<ul><li><strong>% Done</strong> changed from <i>10</i> to <i>90</i></li></ul><p>Patches submitted.</p>
<p><a class="external" href="https://gerrit.osmocom.org/#/q/topic:limesdr-dev-args+(status:open+OR+status:merged)">https://gerrit.osmocom.org/#/q/topic:limesdr-dev-args+(status:open+OR+status:merged)</a></p> OsmoTRX - Bug #3654: Can't select LimeSDR by serial numberhttps://osmocom.org/issues/3654?journal_id=129412018-12-13T11:13:50Zpespin
<ul><li><strong>Assignee</strong> changed from <i>osmith</i> to <i>pespin</i></li></ul><p>Merged, assigning to myself to make use of this feature in osmo-trx-lms attached in osmo-gsm-tester.</p> OsmoTRX - Bug #3654: Can't select LimeSDR by serial numberhttps://osmocom.org/issues/3654?journal_id=134992019-03-06T17:49:42Zpespin
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Resolved</i></li><li><strong>% Done</strong> changed from <i>90</i> to <i>100</i></li></ul><p>Patch submitted in <a class="external" href="https://gerrit.osmocom.org/#/c/osmo-gsm-tester/+/13150/">https://gerrit.osmocom.org/#/c/osmo-gsm-tester/+/13150/</a> uses it in osmo-gsm-tester.</p>