receiver callback rearranging data for mythen302

This commit is contained in:
2019-04-24 13:30:57 +02:00
parent eac992ee03
commit 262140728f
4 changed files with 53 additions and 25 deletions

View File

@ -44,13 +44,16 @@ slsReceiver::slsReceiver(int argc, char *argv[]):
int c = 0;
while ( c != -1 ){
c = getopt_long (argc, argv, "hvf:t:", long_options, &option_index);
c = getopt_long (argc, argv, "hvf:t:o:", long_options, &option_index);
// Detect the end of the options.
if (c == -1)
break;
switch(c){
// reserved for ctb receiver users
case 'o':
break;
case 't':
sscanf(optarg, "%d", &tcpip_port_no);