2 Jan 2012 13:59
[ANNOUNCEMENT] CAN restbus-simulation the Node-way
Sebastian Haas <dev <at> sebastianhaas.info>
2012-01-02 12:59:36 GMT
2012-01-02 12:59:36 GMT
Hello everybody, I've recently started to work on restbus-simulation based on SocketCAN. Since it is now somewhat useable I decided to announce it here to find some advise and helpers to proceed even faster. The preliminary name is RestCAN. It basically consists of a set of Node modules (nodejs.org), which enable the user to develop the behaviour of CAN node within a "simple to write" Javascript. Background ========== The idea was born because of my personal need to test CAN nodes by simulating certain parts of a network. And I also wanted to have a simple to use sandbox to implement and test new protocols or control algorithms. I decided to use Javascript because this language is subject of current optimization efforts (Webkit, V8, SpiderMonkey). To provide and powerful development environment I switched to use NodeJS instead of using V8 from scratch. NodeJS is a asynchronous event oriented Javascript environment with tons of third party modules (NPM) and a good subset of builtin utilities (File I/O, TCP/UDP, HTTP, IPC, ...). Current status ============== The current status is a Node module to work with raw channels, so a user can write a script to send and receive raw CAN messages. Example(Continue reading)
RSS Feed