C++ example and ttys

Help
Olaf
2006-10-16
2013-01-15
  • Olaf

    Olaf - 2006-10-16

    Hello together,

    I tried to run the example programm written in C++. This program uses the "ttyS0" for default (I think). I like to change the "tty". Does someone
    know how I can do this?

    Best regards

    Olaf, DL4DZ

     
    • Stéphane Fillod

      This can be done by using rig_set_conf:

      char * q = "/some/where/tty";

      rig= rig_init(mymodel);

      ret = rig_set_conf(rig, rig_token_lookup(rig, "rig-file"), q);

      rig_open(rig);

      73
      --
      Stéphane F8CFE

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks