Skip to content

Polish C Daemon #19

@crised

Description

@crised

Please finish C daemon:

  • making it a sevice. It needs to handle start/stop calls. Start would be called on boot.
  • making it restart and wait in case of an exception
  • use DEFINE for every constant/register/variable
  • use ctx as an external variable available to all functions
  • log into syslog, every comment of the program.
  • it must survives usb disconnects/connects, errors in modbus checksums, electrical poweroff.
  • UPDATE gcc build compiling, and shorten up the name of the db and service like 'cenergy' that's it. shorten up the table names as well.
  • Fix the .h missing variable.
  • @blabno change PKs using id sequence per table
  • @blabno use UTC in timestamp.
  • @rnicolau make service script for java program, call it jenergy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions