mirror of
https://gitlab.com/manzerbredes/paper-lowrate-iot.git
synced 2025-06-20 04:57:40 +00:00
Update simulator
This commit is contained in:
parent
5e3c82d06e
commit
abe8eae55c
5 changed files with 6 additions and 14 deletions
src/ns3/nix/simulator
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue