AiCPlayer
Interface of aic vm - for rendering aspect, sensors, video records
Macros | Functions | Variables
testSensors.c File Reference
#include <stdlib.h>
#include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
#include <google/cmockery.h>
#include "sensors_packet.pb-c.h"
#include "nfc.pb-c.h"
#include "player_nfc.h"
#include "mockVMSensors.h"
#include "mockVMNfcd.h"
#include "mockVMLibNci.h"
#include <stdio.h>
#include <signal.h>
#include <unistd.h>
#include "sensors.h"
#include "buffer_sizes.h"
#include "socket.h"
#include "stdint.h"
#include "amqp_listen.h"
#include "amqp_send.h"
#include "config_env.h"
#include "logger.h"
#include <pthread.h>
Include dependency graph for testSensors.c:

Go to the source code of this file.

Macros

#define PORT_SENSORS   22471
 
#define PORT_BAT   22473
 
#define PORT_GPS   22475
 
#define PORT_GSM   6704
 
#define PORT_NFC   22800
 
#define LOG_TAG   "testSensors"
 

Functions

void test_sensors_acc (void **state)
 
void test_sensors_nfc (void **state)
 
int main (int argc, char *argv[])
 

Variables

char * g_amqp_host = NULL
 
char * g_vmid = NULL
 
char * g_vmip = NULL
 

Macro Definition Documentation

#define LOG_TAG   "testSensors"

Definition at line 37 of file testSensors.c.

#define PORT_BAT   22473

Definition at line 3 of file testSensors.c.

#define PORT_GPS   22475

Definition at line 4 of file testSensors.c.

#define PORT_GSM   6704

Definition at line 5 of file testSensors.c.

#define PORT_NFC   22800

Definition at line 6 of file testSensors.c.

#define PORT_SENSORS   22471

Definition at line 2 of file testSensors.c.

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 158 of file testSensors.c.

Here is the call graph for this function:

void test_sensors_acc ( void **  state)

Definition at line 43 of file testSensors.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void test_sensors_nfc ( void **  state)

Definition at line 98 of file testSensors.c.

Here is the call graph for this function:

Variable Documentation

char* g_amqp_host = NULL

Definition at line 39 of file testSensors.c.

char* g_vmid = NULL

Definition at line 40 of file testSensors.c.

char* g_vmip = NULL

Definition at line 41 of file testSensors.c.