Hi Michael,
This is a very bad idea for several reasons:
1) You cannot guarantee which pts you get.
2) You expose the modem so that it can be accessed by anyone.
3) It makes things difficult to recover when there is a problem.
4) Yet another layer to deal with.
This it the method that TI took and we are working with them on a better
solution.
Cheers,
Sean
Michael Trimarchi wrote:
Hi all,
I write a daemon like gsmmuxd that virtualize the serial driver and
export a series of terminal for
the rild service, gprs service etc. The rild service start using the
/dev/pts/0 terminal. I grant it to him
when the channel is ready. The daemon is not releated to the rild, it
just give an openchannel. I don't
use an extra channel for unsolicited command, because the android ril
don't use it, but I suppose that a
gprs connection can be initialize on /dev/pts/xxx. Only one question
just to know:
Have I some license problem if I use a separate daemon for multiplexing?
Michael