Hi
Thanks for the reply.
I currently have serial shell ready. The next step is to have CAN, because it is way simpler. And I already have working code.
At the end, the ethernet would be a nice-to-have feature, but have currently no priority.
I had a look at the code. I could probably create a device with all standard methods to read, write, put, get,...
Then I send data through the queues handling, which will be read by the shell when it reads the stream.
Same thing in the reverse direction. I read the queue, to have the shell output.
Am I wrong if I say it is very close to the serial-USB device driver ?
Angelo
How to send string to shell command parser ?
Moderators: RoccoMarco, lbednarz, utzig, tfAteba, barthess
- Giovanni
- Site Admin
- Posts: 14444
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1074 times
- Been thanked: 921 times
- Contact:
Re: How to send string to shell command parser ?
I think I/O Queues as used by the serial driver are easier to handle and a better fit.
Giovanni
Giovanni
Who is online
Users browsing this forum: No registered users and 7 guests