comparison projects/basic_network/render.cpp @ 86:7cc79d46ecb9

harcoded values into basic_network
author Giulio Moro <giuliomoro@yahoo.it>
date Sat, 18 Jul 2015 02:29:03 +0100
parents 3c3a1357657d
children a55dcdcebdcd
comparison
equal deleted inserted replaced
85:91e1a3a220d4 86:7cc79d46ecb9
44 44
45 networkObject.counter=&gCount; 45 networkObject.counter=&gCount;
46 networkObject.variables[0]=&gFrequency; 46 networkObject.variables[0]=&gFrequency;
47 networkObject.variables[1]=&gPhase; 47 networkObject.variables[1]=&gPhase;
48 networkObject.numVariables=2; 48 networkObject.numVariables=2;
49 49 // setupSockets(settings->receivePort, settings->transmitPort, settings->serverName);
50 setupSockets(settings->receivePort, settings->transmitPort, settings->serverName); 50 setupSockets(10000, 9999, "127.0.0.1");
51 transmitReceiveDataTask= BeagleRT_createAuxiliaryTask(*transmitReceiveData, 80, "transmit-receive-data"); 51 transmitReceiveDataTask= BeagleRT_createAuxiliaryTask(*transmitReceiveData, 80, "transmit-receive-data");
52 //scheduleAuxiliaryTask(transmitReceiveDataTask); //here it does not work 52 //scheduleAuxiliaryTask(transmitReceiveDataTask); //here it does not work
53 return true; 53 return true;
54 } 54 }
55 55