|
AiCPlayer
Interface of aic vm - for rendering aspect, sensors, video records
|
Defines ports and structures for sensor threads. More...


Go to the source code of this file.
Data Structures | |
| struct | s_sensor_params |
| Parameter for sensor threads. More... | |
Macros | |
| #define | PORT_SENSORS 22471 |
| Port for the "sensors" command in the VM. More... | |
| #define | PORT_BAT 22473 |
| Port for the battery command in the VM. More... | |
| #define | PORT_GPS 22475 |
| Port for the GPS command in the VM. More... | |
| #define | PORT_GSM 6704 |
| Port for the GSM command in the VM. More... | |
| #define | PORT_NFC 22800 |
| Port for the NFC command in the VM. More... | |
| #define | FREQ_SENSORS 100000 |
| #define | FREQ_BAT 2 * 1000000 |
| #define | FREQ_GPS 2 * 1000000 |
| #define | FREQ_DEFAULT 1 * 1000000 |
Typedefs | |
| typedef struct s_sensor_params | sensor_params |
| Parameter for sensor threads. More... | |
Functions | |
| sensor_params * | ParamEventsWorker (const char *vmip, const char *vmid, const char *sensor_name, const char *amqp_host) |
| Creates the data structure for sensor threads. More... | |
| void | start_sensor (sensor_params *params, pthread_t *thread) |
| Start the sensor listener thread. More... | |
Defines ports and structures for sensor threads.
Definition in file sensors.h.
| #define PORT_BAT 22473 |
| #define PORT_SENSORS 22471 |
| typedef struct s_sensor_params sensor_params |
Parameter for sensor threads.
| sensor_params* ParamEventsWorker | ( | const char * | vmip, |
| const char * | vmid, | ||
| const char * | sensor_name, | ||
| const char * | amqp_host | ||
| ) |
| void start_sensor | ( | sensor_params * | params, |
| pthread_t * | thread | ||
| ) |
1.8.6