osmo-trx[master]: Add initial support for logging, vty, ctrl

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/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Thu Feb 22 17:49:10 UTC 2018


Patch Set 5:

(2 comments)

https://gerrit.osmocom.org/#/c/6619/5/CommonLibs/trx_vty.h
File CommonLibs/trx_vty.h:

Line 7: struct trx_ctx {
> Please add a comment with brief description of this
Initially I thought it would make sesne to move the Trasnciever, RadioDevice and RadioInterface pointers in here, but I'm still unsure if it's finally going to handle more stuff because in order to introduce those I'd need to compile everything to c++.

I'm still unsure if it makes sense to slowly try to isolate c++ parts in favor of c or just try to compile everything as c++.


https://gerrit.osmocom.org/#/c/6619/5/Transceiver52M/osmo-trx.cpp
File Transceiver52M/osmo-trx.cpp:

Line 345: 	config->config_file = (char *)DEFAULT_CONFIG_FILE;
> Why do we need this cast?
Not in C++ apparently, I was hitting this compiler warning: https://stackoverflow.com/questions/20944784/why-is-conversion-from-string-constant-to-char-valid-in-c-but-invalid-in-c


-- 
To view, visit https://gerrit.osmocom.org/6619
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I08982c37b4f873966304b3cfb38a10ee86eb3dad
Gerrit-PatchSet: 5
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-HasComments: Yes



More information about the gerrit-log mailing list