summaryrefslogtreecommitdiff
path: root/cleopatre/devkit/plcd
AgeCommit message (Collapse)Author
2013-04-26cleo/devkit/plcd: send force_role mme to cesar, refs #3789Thierry Carré
2013-04-26cleo/devkit/plcd: factorize all plcd_stack_set call, refs #3789Thierry Carré
2013-04-26cleo/devkit/plcd: standardize plcd_stack_set functions, refs #3789Thierry Carré
Next commit will factorize their call.
2013-04-26cleo/{devkit/plcd, app/libspid}: add 'force_role' item in hpav.conf, refs #3789Thierry Carré
Option is read and save in plcd context, but not use yet.
2013-04-26cleo/devkit/plcd: rework hpav.conf read and hpav.info write, refs #3789Thierry Carré
- Use libspid_read_items instead of libspid_read_item. - Use libspid_write_items instead of libspid_write_item. In hpav.conf : - NMK is mandatory (no default value available) - Others items are optionals (default values provided)
2013-04-26cleo/devkit/plcd: improve main body of plcd_daemonThierry Carré
2013-04-26cleo/devkit/plcd: improve plcd_daemon_openThierry Carré
2013-04-26cleo/devkit/plcd: move hpav.info write into plcd_files.c, refs #3789Thierry Carré
2013-04-26cleo/devkit/plcd: move hpav.conf read into plcd_files.c, refs #3789Thierry Carré
2013-04-26cleo/devkit/plcd: signal register/unregister in open/close functionsThierry Carré
2013-04-26cleo/devkit/plcd: add prefix 'plcd_daemon_' for handler functionThierry Carré
2013-04-26cleo/devkit/plcd: split plcd_main.c in two c files, refs #3789Thierry Carré
These functions are moved from plcd_main.c to plcd_daemon.c : - plcd_init - plcd_daemon_main - plcd_signal_handler Include list have been updated in same time for this both files.
2013-04-26cleo/devkit/plcd: save pid in plcd contextThierry Carré
2013-04-26cleo/devkit/plcd: improve readability for print usageThierry Carré
2013-04-26cleo/devkit/plcd: fix short option in cli, closes #3869Thierry Carré
2013-04-26cleo/devkit/plcd: fix segmentation fault on unknown option, closes #3868Thierry Carré
2013-04-26cleo/devkit/plcd: avoid exit function in main()Thierry Carré
All 'plcd_main_task_fct' must return, like that we have a proper end of program (with close, and uninit).
2013-04-26cleo/devkit/plcd: simplify the 'main' function, closes #3866Thierry Carré
There is an important functional change, which is that plcd_init function is called after options parse process. So, there is no more socket initialization (and more), when plcd is called for print version or print usage. In other words, the kernel panic doesn't occur now, but the robustness is low.
2013-04-26cleo/devkit/plcd: add missing close, refs #3866Thierry Carré
Where we have an open, we have the close.
2013-04-26cleo/devkit/plcd: add robustness on pointers to rodata section, refs #3866Thierry Carré
2013-04-26cleo/devkit/plcd: create a new initializaton, refs #3866Thierry Carré
'plcd_init' will be renamed in next commits.
2013-04-05cleopatre/devkit/plcd: add phy.conf handling, closes #3911Nicolas Schodet
2013-03-19cleo/devkit/plcd: add empty header in plcd for override libc in utest, refs ↵Thierry Carré
#3865
2013-03-19cleo/devkit/plcd: warnings fix about getpid prototype undeclaredThierry Carré
2013-03-19cleo/devkit/plcd: warnings fix about return value not used and not respectedThierry Carré
src/plcd_process.c:642: warning: 'return' with no value, in function returning non-void src/plcd_process.c:684: warning: 'return' with no value, in function returning non-void
2013-03-19cleo/devkit/plcd: declare headers first, libs after, and standard libs in lastThierry Carré
2013-03-19cleo/devkit/plcd: rename inc/plcd.h into inc/plcd_ctx.hThierry Carré
If one day, we need a public header, 'plcd/plcd.h' filename is available. And plcd context is really in 'plcd_ctx.h'.
2013-03-19cleo/devkit/plcd: move interface nameThierry Carré
2013-03-19cleo/devkit/plcd: update plcd_mainThierry Carré
- all functions are privates - remove useless comments
2013-03-19cleo/devkit/plcd: declare prototypes of plcd_multicastThierry Carré
2013-03-19cleo/devkit/plcd: declare prototypes of plcd_autoswitchThierry Carré
2013-03-19cleo/devkit/plcd: declare prototypes of plcd_processThierry Carré
2013-03-19cleo/devkit/plcd: declare prototypes of plcd_stackThierry Carré
2013-03-19cleo/devkit/plcd: create header files for each source filesThierry Carré
2013-03-19cleo/devkit/plcd: warnings fix about unused variablesThierry Carré
2013-03-19cleo/devkit/plcd: warnings fix about initialization of structureThierry Carré
warnings were : src/plcd_main.c: In function 'plcd_init': src/plcd_main.c:119: warning: missing braces around initializer src/plcd_main.c:119: warning: (near initialization for 'ifr.ifr_ifrn')
2013-03-19cleo/devkit/plcd: warnings fix about array not used in source filesThierry Carré
2013-03-08cleo/{buildroot/package, devkit/plcd}: update plcd makefile rulesThierry Carré
- use libspid-config script - add "-Wall" option - add libs dependencies, but don't compile them
2013-03-06cleo/devkit/plcd: update image index on assocation, refs #3815Olivier Dufour
2013-02-08cleo/devkit/plcd: fix autoswitch init, refs #3746Cyril Jourdan
There was still a mistake left after the first modification (see 067d067973062dc5e1332369b770f3d0db269e07). Missing brackets made the file descriptor wrong.
2013-02-06cleo/devkit/plcd: do not try to close file if open failed, closes #3746Cyril Jourdan
2013-02-01cleo/devkit/plcd: fix mtd name buffer size, refs #3692Olivier Dufour
2013-01-31cleo/devkit/plcd: switch image if no association, closes #3692Olivier Dufour
If the board cannot associate with another after a given time (currently set to 60 seconds), the board will reboot and the next image slot will be set to the alternate image.
2013-01-17{common,cleo}: ignore generated files when building image, closes #3677Jérémy Dufour
2013-01-02cleo/devkit/plcd: use libspid nvram interface, refs #3607Olivier Dufour
2013-01-02cleo/devkit/plcd: remove UTEST specific code, refs noneOlivier Dufour
2012-11-30cleo/app: update applications to use the response file, closes #3416Olivier Dufour
2012-10-17cleo/app/libmme: Use ethernet.h instead of local redefinitions, closes #3325Olivier Dufour
2012-09-20{cleo, common}: rename spc300_nvram into spidcom_nvram, refs #3119Cyril Jourdan
This is done to use common NVRAM structure and variable names with polux.
2012-09-07cleopatre/devkit/plcd: integrate mmtcgen, refs #409Nélio Laranjeiro