CUNO and local logfile buffer

Begonnen von Guest, 21 Januar 2011, 11:25:47

Vorheriges Thema - Nächstes Thema

Guest

Originally posted by: <email address deleted>

Hi All,

I trying to figure out how to configure the CUNO so it has a local
logfile buffer whcich can be stored on the local 2MB flash space or on
the local MicroSD card.
I'm ploughing through the readme from CULfw but i cant find any option
relating to this logfile setting.

Could anyone give me a hint and point me in the right direction/

Regards,

Ernst

--
Sie haben diese Nachricht erhalten, da Sie der Google Groups-Gruppe FHEM users beigetreten sind.
Wenn Sie Nachrichten in dieser Gruppe posten möchten, senden Sie eine E-Mail an fhem-users@googlegroups.com.
Wenn Sie aus dieser Gruppe austreten möchten, senden Sie eine E-Mail an fhem-users+unsubscribe@googlegroups.com.
Besuchen Sie die Gruppe unter http://groups.google.com/group/fhem-users?hl=de, um weitere Optionen zu erhalten.

rudolfkoenig

                                                   

> I trying to figure out how to configure the CUNO so it has a local
> logfile buffer whcich can be stored on the local 2MB flash space or on
> the local MicroSD card.
> I'm ploughing through the readme from CULfw but i cant find any option
> relating to this logfile setting.

Note 1: Please post such messages in the cul_fans group.
Note 2: the MicroSD is not supported by culfw.
Note 3: Storing data on the 2mb flash is not really "foolproof", and I did not
        tested it for over a year. It was a quick hack, designed to be used by
        the CUR, since it needs an FS anyway for its menus.
Note 4: Currently I wont support it.

If you still want to spend some time:

Essentially you have to enable HAS_FS in board.h, and make sure that df_init,
fs_init and log_init is called in CUNO.c. And then you have to add the
read_file and write_file commands to the fntab in CUNO.c. You may have to enter
the correct pin numbers for DF_... in board.h

CUR.c may be your guide, but on the other hand I did not flashed the CUR for
over a year now and as there are only 3 prototypes, I don't think somebody
else did it either.

--
Sie haben diese Nachricht erhalten, da Sie der Google Groups-Gruppe FHEM users beigetreten sind.
Wenn Sie Nachrichten in dieser Gruppe posten möchten, senden Sie eine E-Mail an fhem-users@googlegroups.com.
Wenn Sie aus dieser Gruppe austreten möchten, senden Sie eine E-Mail an fhem-users+unsubscribe@googlegroups.com.
Besuchen Sie die Gruppe unter http://groups.google.com/group/fhem-users?hl=de, um weitere Optionen zu erhalten.