Re: Shell Command port also used by application



I
would like to use this port for my application without rebuilding the kernel.

hat are you trying to accomplish ? Use the serial port with an application (started from the command line) or with a daemon (that has no user interface ?

With an application, can't you simply use the standard in and out data streams for the serial data ?

With a daemon: if you don't start a shell (usually done by the init process, mostly by means of inittab) the serial port should be free for other use.


If you want both (switching the serial port between a shell and your application, I suppose you need to modify (inittab and/or) the startup shell scrips so that the shell starts your application after other initializations. If your application exits the shell is ready to communicate again.

-Michael
.



Relevant Pages

  • Re: WaitForAPIReady CE 6.0
    ... As for the serial port, of course, you can catch the ... Running with the shell but with the task bar ... serial code to start, ... based app will be able to run because it depends on what underlying ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Changing Target Shell serial port
    ... >How can I configure my vxWorks kernel so that the target shell is on a ... >serial port other than the initial one. ... The shell uses STDIN, STDOUT, and STDERR for its I/O. ...
    (comp.os.vxworks)
  • Re: Shell Command port also used by application
    ... can't you simply use the standard in and out data streams for the serial data? ... if you don't start a shell (usually done by the init process, mostly by means of inittab) the serial port should be free for other use. ...
    (comp.os.linux.embedded)
  • Re: Any (best) free Assemblers out there?
    ... > easy to launch other programs, monitor their status, and find out ... It doesn't have anything to do with graphic modes. ... > port to the system console (assuming it's not a serial port itself) ... shell. ...
    (comp.unix.bsd.freebsd.misc)
  • Re: nmea - talkers - listeners and lessons learned.
    ... datastreams at 4800 and the SR161 will combine that data with the AIS ... data and output the combine original and AIS data streams on a single ... Navigator) could handle the combinedNMEA/AIS signal from the SR161 - ... the same serial port. ...
    (rec.boats.cruising)