|
|
|
|
/home/brennan/n-sim/Vaike/linux/system-addons/system/control/sensor_ctl.c File ReferenceDefines/configures individual sensor node. More...
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <sys/time.h>
#include <signal.h>
#include <wait.h>
#include <limits.h>
#include <stdint.h>
#include <gps.h>
#include <pthread.h>
#include <minisoap.h>
#include <ipc.h>
#include "sensor_ctl.h"
Go to the source code of this file.
Detailed Description
Defines/configures individual sensor node.
- Revision
- 1.1
Original Author: Sean M. Brennan <brennan@lanl.gov> - Author
- sean_m_brennan
Created: August 28, 2007 - Date
- 2008/02/03 22:00:52
Definition in file sensor_ctl.c.
Define Documentation
#define BATTERY_DEV "/dev/platx/batmon" |
|
#define CONFIG_PATH "/etc/sensord.conf" |
|
#define IPC_PORT_BASE 3133 |
|
Function Documentation
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
|
|
|
Definition at line 410 of file sensor_ctl.c.
References cmd_thread, CONFIG_PATH, data_thread, error, _app::host, initialize_ipc(), IPC_CMD_PORT, IPC_DATA_PORT, _app::ipc_port, _sensor::ipc_port, IPC_PORT_BASE, my_ip_addr, NET_ADDR_LEN, _app::next, _sensor::next, _app::path, _sensor::path, PATH_MAX, register_cmd_handler(), register_data_handler(), register_soap_handler(), _app::required_apps, _app::running, sensor_ctl(), _app::sinks, soap_thread, status, and strcmp. |
Variable Documentation
|