This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
pespin gerrit-no-reply at lists.osmocom.orgpespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-trx/+/14665 Change subject: Transceiver: Support SETFORMAT command ...................................................................... Transceiver: Support SETFORMAT command Only old v0 is supported so far. Related: OS#4006 Change-Id: If9fc22f9987238a5ff870df7718de4efc9e04289 --- M Transceiver52M/Transceiver.cpp 1 file changed, 12 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/65/14665/1 diff --git a/Transceiver52M/Transceiver.cpp b/Transceiver52M/Transceiver.cpp index c9c8a05..8d85c01 100644 --- a/Transceiver52M/Transceiver.cpp +++ b/Transceiver52M/Transceiver.cpp @@ -868,6 +868,18 @@ mStates[chan].chanType[timeslot] = (ChannelCombination) corrCode; setModulus(timeslot, chan); sprintf(response,"RSP SETSLOT 0 %d %d",timeslot,corrCode); + } else if (match_cmd(command, "SETFORMAT", ¶ms)) { + // set TRXD protocol version + unsigned version_recv, version_used; + sscanf(params, "%u", &version_recv); + LOGC(DTRXCTRL, INFO) << "BTS requests TRXD version switch: " << version_recv; + if (version_recv > TRX_DATA_FORMAT_VER) + version_used = TRX_DATA_FORMAT_VER; + else + version_used = version_recv; + LOGC(DTRXCTRL, NOTICE) << "switching to TRXD version " << version_used; + mVersionTRXD = version_used; + sprintf(response,"RSP SETFORMAT %u %u", version_used, version_recv); } else if (match_cmd(command, "_SETBURSTTODISKMASK", ¶ms)) { // debug command! may change or disapear without notice // set a mask which bursts to dump to disk -- To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/14665 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-trx Gerrit-Branch: master Gerrit-Change-Id: If9fc22f9987238a5ff870df7718de4efc9e04289 Gerrit-Change-Number: 14665 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin at sysmocom.de> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190703/4c488439/attachment.htm>