AiCPlayer
Interface of aic vm - for rendering aspect, sensors, video records
Macros | Functions
mockVMSensors.c File Reference
#include "mockVMSensors.h"
#include "logger.h"
#include "socket.h"
#include <pthread.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/socket.h>
#include <netinet/in.h>
Include dependency graph for mockVMSensors.c:

Go to the source code of this file.

Macros

#define LOG_TAG   "mockVMSensors"
 

Functions

int acceptNewClient (int serverSock, int *clientsSocks)
 
int socket_inaddr_any_server (int port, int type)
 
SensorsPacket__SensorAccelerometerPayload * readBody (int csock, uint32_t siz)
 
void * mock_vm_recv_poll (void *args)
 

Macro Definition Documentation

#define LOG_TAG   "mockVMSensors"

Definition at line 12 of file mockVMSensors.c.

Function Documentation

int acceptNewClient ( int  serverSock,
int *  clientsSocks 
)

Definition at line 14 of file mockVMSensors.c.

Here is the caller graph for this function:

void* mock_vm_recv_poll ( void *  args)

Definition at line 114 of file mockVMSensors.c.

Here is the call graph for this function:

Here is the caller graph for this function:

SensorsPacket__SensorAccelerometerPayload* readBody ( int  csock,
uint32_t  siz 
)

Definition at line 84 of file mockVMSensors.c.

Here is the caller graph for this function:

int socket_inaddr_any_server ( int  port,
int  type 
)

Definition at line 44 of file mockVMSensors.c.

Here is the caller graph for this function: