Toribio

De Proyecto Butiá
Revisión del 10:50 2 feb 2012 de Jorge (Discusión | contribuciones) (Toribio)

Saltar a: navegación, buscar

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...

                   POSIX            lua library          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