c - split serial output in kernel space -
i developing code on openwrt router , receive data on serial port /dev/ttys0 . data receive different sources , parsed different user space applications.
i split data n serial virtual ports n=number of information sources (a source temperature sensor, source sensor etc).
so have /dev/ttys0 main serial device , /dev/ttys1 , /dev/ttys2 ... /dev/ttysn , each serial output data 1 information source.
i guess have basic data parsing @ kernel level. know source example similar ? data going in 1 direction ... sensors router, don't need send simplify things.
i'm opened sugestions
Comments
Post a Comment