SingingCat 0
application
|
main command processor More...
#include <main-header.h>
#include <loader-api.h>
#include <user_app_exe.h>
#include <constants.h>
#include <function-instr.h>
#include "sc_time.h"
#include <baseinfo.h>
#include <streams.h>
#include <flashapp.h>
#include <fets.h>
#include <led.h>
#include <sensors/sensor.h>
#include <sensors/sensor_command.h>
#include <routing.h>
#include <route_command.h>
#include <forwarding.h>
#include "ti1101.h"
#include "user_app_info.h"
#include "coms/coms.h"
Go to the source code of this file.
Macros | |
#define | MAX_PIN_STATES 5 |
Functions | |
void | check_strobe () |
void | dac_timer () |
void | factory_default (struct command *com) |
set the module back to factory default More... | |
void | forward_radio (struct command *com) |
void | get_config_flags (struct command *com) |
get config flags More... | |
long | get_my_node_id () |
get the id of my node More... | |
void | getcloudtoken (struct command *com) |
get the opaque cloud token More... | |
void | getpubkey (struct command *com) |
request the public key of this module More... | |
void | init_command_handler () |
resets the command handler More... | |
int | is_packet_for_us (struct command *com) |
check if a command needs to be routed More... | |
void | list_modules (struct command *com) |
we received a list-modules command More... | |
void | micro_strobe (struct command *com) |
do a nano strobe More... | |
void | process_command (struct command *com) |
command is parsed, now execute it More... | |
void | process_strobe_command (struct command *com) |
void | set_config_flag (struct command *com) |
set a single config flag More... | |
void | set_logging (struct command *com) |
void | setcloudtoken (struct command *com) |
set a token to connect to the cloud More... | |
void | setdac (struct command *com) |
void | setpin (struct command *com) |
void | start_strobe (int relay, int ton, int toff, int repeat) |
void | wifi_info (struct command *com) |
get some information about our currentwifi connection More... | |
Variables | |
int | ack_ctr |
main command processor
Definition in file command-handler.c.
#define MAX_PIN_STATES 5 |
Definition at line 37 of file command-handler.c.