Diferencia entre revisiones de «Toribio»
De Proyecto Butiá
Línea 53: | Línea 53: | ||
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx | xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx | ||
lua Lumen socket | lua Lumen socket | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | Propuesta actual... | ||
+ | <syntaxhighlight lang="text"> | ||
+ | |||
+ | OS fd Lumen tasks | ||
+ | xxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx | ||
+ | |||
+ | |---- drivers (lua) | ||
+ | | | ||
+ | fd ---------------- nixio ------------ toribio ------------- drivers (lua) | ||
+ | (C) (lua+Lumen) | | ||
+ | | |---- drivers (lua) | ||
+ | | | ||
+ | | | ||
+ | |---------------butialo, other apps. | ||
+ | | | ||
+ | |---------------bobot-server-----------------userapps | ||
+ | (lua) | ||
+ | |||
+ | xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx | ||
+ | Lumen task socket | ||
</syntaxhighlight> | </syntaxhighlight> |
Revisión del 11:49 2 feb 2012
Bobot:
Resumen de componentes en bobot, y formas de comuniaciones
OS .so library lua modules lua module
xxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxx
serial -----------serialcomm---------comms_serial---|
# (C) (lua) | |---- drivers (lua)
libusb0.1 | |
|------------bobot------------- drivers (lua)
stdio | (lua) |
# | | |---- drivers (lua)
usb---------------libusb--------------comms_usb-----| |
(C+liblua.h) (lua) |
|
|---------------butialo, other apps.
|
|---------------bobot-server-----------------userapps
(lua)
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx
lua module socket
Toribio
OS fd (PIPE) lua+Lumen
xxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx
|---- drivers (lua)
|
usb, serial, hid? ---------- bridge ------------ toribio ------------- drivers (lua)
# (C) (lua+Lumen) |
# | |---- drivers (lua)
(stdio, libusb1, ...?) |
|
|---------------butialo, other apps.
|
|---------------bobot-server-----------------userapps
(lua)
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx
lua Lumen socket
Propuesta actual...
OS fd Lumen tasks
xxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx
|---- drivers (lua)
|
fd ---------------- nixio ------------ toribio ------------- drivers (lua)
(C) (lua+Lumen) |
| |---- drivers (lua)
|
|
|---------------butialo, other apps.
|
|---------------bobot-server-----------------userapps
(lua)
xxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx
Lumen task socket