Toribio

De Proyecto Butiá
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...

                     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