Open Storm
Functions
startup.h File Reference

Declares functions used on startup (before main loop). More...

#include <project.h>
Include dependency graph for startup.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

uint8 counter_sensor_initialize ()
 Initialize counter-type sensors that must remain on during the sleep cycle. Currently only the optical rain sensor requires this behavior. More...
 
uint8 initialize_ssl (uint8 *ssl_enabled, uint8 *ssl_initialized)
 Initialize TLS/SSL for the cell module. More...
 

Detailed Description

Declares functions used on startup (before main loop).

Author
Matt Bartos
Version
TODO
Date
2017-06-19

Function Documentation

uint8 counter_sensor_initialize ( )

Initialize counter-type sensors that must remain on during the sleep cycle. Currently only the optical rain sensor requires this behavior.

Returns
1u on success, 0u otherwise

Here is the call graph for this function:

uint8 initialize_ssl ( uint8 *  ssl_enabled,
uint8 *  ssl_initialized 
)

Initialize TLS/SSL for the cell module.

Parameters
ssl_enabledDesired SSL state:
  • 0: SSL not enabled
  • 1: SSL enabled
ssl_initializedCurrent SSL initialization state (to be written to):
  • 0: SSL not successfully initialized
  • 1: SSL successfully initialized
Returns
ssl_initialized

Here is the call graph for this function: