[Hamlib-developer] Proper caps in NET driver
Library to control radio transceivers and receivers
Brought to you by:
n0nb
|
From: Piotr S. <sq...@wp...> - 2015-12-11 15:37:05
|
Hello group! This is my first post on this group. My name is Piotr SQ9FK. I will try to update and full test Backend for IC-7100. But first thing I try to solve is proper parsing of remote caps in NET driver. Reason of this is grig. It uses them to configure the gui for user. As I noticed NET driver has declared static: RIG_FUNC_NONE, RIG_LEVEL_NONE, RIG_PARM_NONE, Attenuator is empty etc. After that .rig_open = netrigctl_open, update all rig->state.things from remotly executed \dump_state. Problem is that after this caps are not updated. And \dump_caps uses caps-> declaration not the rig->state.* How is correct way to solve this ? Should I in f. netrigctl_open() after every rig->state.* update copy the value to correspond caps->* ? Thanks for reply, Piotr SQ(FK |