Update simulator

This commit is contained in:
Loic Guegan 2019-05-26 15:52:46 +02:00
parent 5e3c82d06e
commit abe8eae55c
5 changed files with 6 additions and 14 deletions
src/ns3/nix/simulator

View file

@ -11,7 +11,7 @@ NS_LOG_COMPONENT_DEFINE ("WIFISensorsSimulator");
*/
int main(int argc, char* argv[]){
uint32_t sensorsFrequency=1; // One pkt every second
uint32_t sensorsFrequency=10; // 1 pkt every 10 seconds
uint32_t sensorsPktSize=192; // 128 bits for sensors id and 32 bit for the temperature (an arbitrary Integer) and a timestamp (32bits)
uint32_t sensorsNumber=5;
uint32_t nbHop=10;