WdMnjvQXmYM3QYcxwihv
Newbie
- Joined
- Aug 27, 2019
- Messages
- 2
In OP25, there is a file called multi_rx.py. On lines 114 - 115, there is a section of code:
This section of code appears to have been introduced on May 6, 2019.
It appears that it is looking in the config file for a 'key' setting; and if present will load the key value from the config file as an integer. (I'm not sure what happens if this value is a non-integer value.)
This, is as far as I can tell, not documented anywhere. It does not appear to be in the provided config file(s).
Other places it may show up:
frame_assembler_impl.cc - line 47-49
Which was also added at the same time.
Or here.
What is this config setting for?
Python:
if config.has_key('key') and (config['key'] != ""):
self.set_key(int(config['key'], 0))
This section of code appears to have been introduced on May 6, 2019.
It appears that it is looking in the config file for a 'key' setting; and if present will load the key value from the config file as an integer. (I'm not sure what happens if this value is a non-integer value.)
This, is as far as I can tell, not documented anywhere. It does not appear to be in the provided config file(s).
Other places it may show up:
frame_assembler_impl.cc - line 47-49
C-like:
void frame_assembler_impl::set_slotkey(int key) {
d_sync.set_xor_mask(key);
}
Which was also added at the same time.
Or here.
What is this config setting for?