, opp_error

, 39 40 string deployment = network->par

, 41 if ( deployment ==, p.42

, 45 } 46 } 47 48 void LinearNoMobilityManager::parseLinearDeployment() { 49 // Pan Coordinator 50 51 if ( index == 0 ) { 52 dimension.x = network->par

, 53 dimension.y = network->par

, 54 dimension.z = network->par

, Random variation in angle and length for each step 57 deltaRotation = par

, 58 deltaLength = par

, Probability for a line to fork (create a new branch) 61 forkProbability = par

, Probability that a new node is off (ie., will be switched on later) 64 offProbability = par

, Probability that a new branch is off (ie., will be switched on later) 67 branchOffProbability = par

, 68 69 minSleepDuration = par

, 70 maxSleepDuration = par

, Initial step size 73 move.x = par

, 74 move.y = 0; 75 move.z = 0

, ========================================================== 18 # Always include the main Castalia.ini file 19 # ========================================================== 20 include ../Parameters/Castalia

, 22 SN.field_x = 4000 # meters 23 SN.field_y = 4000 # meters 24 SN.numNodes = 100 25 SN

S. Node,

S. Node,

S. Node,

S. Node,

S. Node,

, .Radio.RadioParametersFile =

, 39 # lognormal shadowing model parameters 40 SN.wirelessChannel.pathLossExponent = 2

, 43 #Application parameters 44 SN.node

S. Node, , p.3000

S. Node, Application.packetHeaderOverhead = 5, bytes 48 SN.node[0].Application.constantDataPayload = 35, p.49

, Config TopoDisco]

S. Node, Routing.isNetCoord = true # PAN Coordinator 53 SN.node[0].Communication.Routing.isCSink = true # PAN Coordinator 54 SN.node[*].Communication.Routing.helloCycleDelay = 4000 #in msec delay bitween two sent hellos 55 SN.node[*].Communication.Routing.collectSonDelay = 30000 #in msec Time before start STATE Collection phase 56 SN.node[*].Communication.Routing.sonOfferDelay = 3000 #in msec time to collect son's nodes 57 SN.node, Communication.Routing.chalengeResponseDelay = 3000 # in msec msec delay between two sent fatherOffers 59 SN.node[*].Communication.Routing.collectSonRetry = 2 # nbre of time to execute Collecting Son if no received sonOffer 60 SN.node[*].Communication.Routing.maxFatherOfferPacketRetry

S. Node, Communication.Routing.availabilityCoefficient = 2 # Coefficient of Availability Fskip 62 SN.node[*].Communication.Routing.netBufferSize =, p.63

S. Node,

S. Node,

, Config CSMA] 75 include, p.74

A. Ammar, . Ben, A. Dziri, M. Terre, and H. Youssef, Multihop LEACH based cross-layer design for large scale wireless sensor networks, 2016 International Wireless Communications and Mobile Computing Conference IWCMC). 2016, pp.763-768
URL : https://hal.archives-ouvertes.fr/hal-01474624

I. F. Akyildiz, S. Weilian, S. Yogesh, and C. Erdal, A survey on sensor networks, IEEE Communications magazine 40, pp.102-114, 2002.
DOI : 10.1109/MCOM.2002.1024422

A. Zigbee, ZigBee Specification. ZigBee Standard Organization, ZigBee, vol.5, issue.18, pp.48-49, 2008.

A. Massimo and M. Lorenzo, Systems and Sensors for Debris-flow Monitoring and Warning, pp.2436-2452, 2008.

A. Fayaz, M. Husain, and R. , Energy replenishment using renewable and traditional energy resources for sustainable wireless sensor networks : A review, Renewable and Sustainable Energy Reviews, vol.45, issue.2, pp.769-784, 2015.

. Ath and A. Boulis, Castalia : A Simulator for Wireless Sensor Networks

]. A. Azi+13, Y. A. Aziz, P. Sekercioglu, M. Fitzpatrick, and . Ivanovich, A Survey on Distributed Topology Control Techniques for Extending the Lifetime of Battery Powered Wireless Sensor Networks, IEEE Communications Surveys & Tutorials, vol.151, pp.121-144, 2013.

]. C. Bak+07, K. Baker, S. Armijo, and . Belka, Wireless sensor networks for home health care, Advanced Information Networking and Applications Workshops AINAW'07. 21st International Conference on. T. 2, pp.832-837, 2007.

A. Van-den, B. Eric, C. Jenny, and D. , Multidimensional Observation Methodology for the Elderly in an Ambient Digital Environment, Computers Helping People with Special Needs -15th International Conference, ICCHP 2016 Proceedings, Part I. 2016, pp.285-292, 2016.
URL : https://hal.archives-ouvertes.fr/hal-01558454

C. Kenan, A. S. Lim, and G. V. Dozier, A Sensor Network Architecture for Tsunami Detection and Response, In : IJDSN, vol.41, pp.28-43, 2008.

C. Yu-fang and L. Chia-hui, Design of a Wireless Sensor Network Platform for Tele-Homecare, pp.13-17156, 2013.

C. André, On the use of IEEE 802.15.4/ZigBee as federating communication protocols for wireless sensor networks. Rapp. tech. Polytechnic Institute of porto (ISEP-IPP), pp.18-49, 2007.

D. Tijs-van and L. Koen, An Adaptive Energy-efficient MAC Protocol for Wireless Sensor Networks, Proceedings of the 1st International Conference on Embedded Networked Sensor Systems. SenSys '03, pp.171-180, 2003.

F. Chen, L. Hao, and Q. Lili, LC-MAC : An Efficient MAC Protocol for the Long-Chain Wireless Sensor Networks, pp.495-500, 2011.

]. M. Far+10, A. B. Farooq, G. A. Dogar, and . Shah, MR-LEACH : Multi-hop Routing with Low Energy Adaptive Clustering Hierarchy, Fourth International Conference on Sensor Technologies and Applications, pp.262-268, 2010.

E. [. Farrel, Low Power Wide Area Network Overview, IETF. IETF, vol.20, pp.2017-2030
DOI : 10.17487/RFC8376

F. Michael, E. Ahmed, H. Xianfei, and J. P. Conte, Sensor network for structural health monitoring of a highway bridge, Journal of Computing in Civil Engineering, vol.241, p.12, 2009.

. Gao+08, G. Tia, P. Christopher, and S. Leo, Wireless medical sensor networks in emergency response : Implementation and pilot results, Technologies for Homeland Security, pp.187-192, 2008.

M. James, . Gilbert, and B. Farooq, Comparison of energy harvesting systems for wireless sensor networks, International Journal of Automation and Computing, vol.54, p.11, 2008.

G. Carles and P. Josep, Wireless home automation networks : A survey of architectures and technologies, IEEE Communications Magazine, vol.486, p.12, 2010.

G. Álvaro, G. Carlos, and J. Javier, A Heterogeneous Wireless Identification Network for the Localization of Animals Based on Stochastic Movements, In : Sensors, vol.95, pp.3942-3957, 2009.

[. Rabiner, H. Anantha, C. Hari, and B. , Energy-Efficient Communication Protocol for Wireless Microsensor Networks, Proceedings of the 33rd Hawaii International Conference on System Sciences-Volume 8 -. T. 8. HICSS '00, p.29, 2000.

W. B. Heinzelman, P. Ananthan, . Chandrakasan, and B. Hari, An application-specific protocol architecture for wireless microsensor networks, IEEE Transactions on Wireless Communications, vol.1, issue.4, pp.660-670, 2002.
DOI : 10.1109/TWC.2002.804190

, Rate Wireless Networks, p.14

I. Chalermek, G. Ramesh, and E. Deborah, Directed Diffusion : A Scalable and Robust Communication Paradigm for Sensor Networks, Proceedings of the 6th Annual International Conference on Mobile Computing and Networking. MobiCom '00, pp.56-67, 2000.

I. Stoianov, L. Nachman, and S. Madden, PIPENET: A Wireless Sensor Network for Pipeline Monitoring, 2007 6th International Symposium on Information Processing in Sensor Networks, pp.264-273, 2007.
DOI : 10.1109/IPSN.2007.4379686

[. Jarník, About a Certain Minimal Problem) (in Czech, German summary), O Jistém Problému Minimálním Práce Mor. Prírodoved . Spol. v Brne VI, vol.4, pp.57-63, 1930.

J. Imad, M. Nader, and S. Khaled, A framework for pipeline infrastructure monitoring using wireless sensor networks, Wireless Telecommunications Symposium, pp.1-7, 2007.

J. Imad, M. Nader, S. Khaled, and K. Nader, An Efficient Framework and Networking Protocol for Linear Wireless Sensor Networks, In : Ad Hoc & Sensor Wireless Networks, vol.7, issue.60, pp.59-67, 2009.

J. Imad, M. Nader, P. Dharma, and . Agrawal, Linear wireless sensor networks : Classification and applications, Journal of Network and Computer Applications, vol.345, pp.1671-1682, 2011.

. Bibliographie, J. Ko, T. Gao, and A. Terzis, Empirical study of a medical sensor application in an urban emergency department, 4th International ICST Conference on Body Area Networks, pp.10-10, 2009.

J. Ko, J. Lim, . Hyun, and Y. Chen, MEDiSN : Medical emergency detection in sensor networks, In : ACM Trans. Embedded Comput. Syst, vol.10, p.10, 2010.

J. Wu, F. Dai, M. Gao, and I. Stojmenovic, On calculating poweraware connected dominating sets for efficient routing in ad hoc wireless networks, Journal of Communications and Networks, vol.41, pp.59-70, 2002.

J. Philo, O. Hidekazu, and W. Yong, Energy-efficient Computing for Wildlife Tracking : Design Tradeoffs and Early Experiences with ZebraNet, In : SIGARCH Comput. Archit. News, vol.305, pp.96-107, 2002.

J. Wang, X. Zhang, J. Xie, and Z. Mi, A distancebased clustering routing protocol in wireless sensor networks, 2010 IEEE 12th International Conference on Communication Technology, pp.648-651, 2010.

[. Jin, J. , Y. Koo, L. , D. Gyu et al., Design of Sensor Data Processing Steps in an Air Pollution Monitoring System, pp.11235-11250, 2011.

K. Theodora, V. Konstantinos, G. Mohammad, A. Hamid, and A. , DiS-MAC : A MAC protocol for sensor networks used for roadside and highway monitoring, Ultra Modern Telecommunications & Workshops, 2009. ICUMT'09. International Conference on, pp.1-6, 2009.

K. Sukun, P. Shamim, and C. David, Health monitoring of civil infrastructures using wireless sensor networks, Proceedings of the 6th international conference on Information processing in sensor networks, pp.254-263, 2007.

H. Seok, K. Yoon, and J. , Hybrid Distributed Stochastic Addressing Scheme for ZigBee/IEEE 802.15.4 Wireless Sensor Networks, In : ETRI Journal, vol.335, pp.704-711, 2011.

K. Jon and T. Eva, Algorithm Design, p.75, 2005.

L. Yujin, K. Hak-man, and K. Sanggil, A Design of Wireless Sensor Networks for a Power Quality Monitoring System, pp.10-9712

L. Li and J. Y. Halpern, Minimum-energy mobile wireless networks revisited, ICC 2001. IEEE International Conference on Communications. Conference Record (Cat. No.01CH37240), pp.278-283, 2001.
DOI : 10.1109/ICC.2001.936317

L. Konrad, W. Matt, and M. Omar, Deploying a wireless sensor network on an active volcano, IEEE Internet Computing, pp.18-25, 2006.

, Rate Wireless Networks " . In : IEEE Std 802, pp.4-2015, 2011.

Y. Ma, M. Richards, M. Ghanem, Y. Guo, and J. Hassard, Air Pollution Monitoring and Mining Based on Sensor Grid in London, Sensors, vol.6, issue.8, pp.3601-3623, 2008.
DOI : 10.1109/TMC.2007.1011

M. Xufei, M. Xin, H. Yuan, L. Xiang-yang, and L. Yunhao, City- See : Urban CO 2 monitoring with sensors, INFOCOM, 2012 Proceedings IEEE. 2012, pp.1611-1619

]. M. Mig+15, K. Migabo, A. M. Djouani, T. O. Kurien, and . Olwal, Gradientbased Routing for Energy Consumption Balance in Multiple Sinks-based Wireless Sensor Networks, Procedia Computer Science, vol.63, issue.64, pp.488-493, 2015.

M. Shim, D. Kim, H. Yoo, H. Kim, and K. , GLOBAL : A Gradient-based routing protocol for load-balancing in large-scale wireless sensor networks with multiple sinks, 2010 IEEE Symposium on Computers and Communications (ISCC), pp.556-562, 2010.

M. Luca, G. Pietro, and P. , MUSTER : Adaptive Energy- Aware Multisink Routing in Wireless Sensor Networks, IEEE Transactions on Mobile Computing, vol.1012, p.61, 2011.

]. Nbi and . Nb-iot, , 2017.

]. E. Ndo+14a, F. Ndoye, M. Jacquet, I. Misson, and . Niang, Using a token approach for the MAC layer of linear sensor networks : Impact of the node position on the packet delivery, 2014 IFIP Wireless Days (WD). 2014, pp.1-4

[. Malick, N. Frédérique, J. Michel, M. Ibrahima, and N. , Using a token approach for the MAC layer of linear sensor networks : Impact of the node position on the packet delivery, pp.1-4, 2014.

N. Bibliographie-[-ndo+16-]-el-hadji-malick, N. Ibrahima, J. Frédérique, and M. Michel, LTB-MAC : Linear Token-Based MAC Protocol for linear sensor network, Proceedings of CARI 2016. 2016 (cf, pp.41-47

]. Ndo15, . El, and N. Malick, Réseaux de capteurs sans linéaires : impact de la connectivité et des interférences sur une méthode d'accès basée sur des jetons circulant, EDSPI, p.2015

P. Meng-shiuan, F. Hua-wei, L. Yung-chih, and T. Yu-chee, Address Assignment and Routing Schemes for ZigBee-Based Long-Thin Wireless Sensor Networks, IEEE Vehicular Technology Conference '08, pp.173-177, 2008.

P. Meng-shiuan, T. Chia-hung, and T. Yu-chee, The Orphan Problem in ZigBee Wireless Networks, IEEE Transactions on Mobile Computing, vol.8, issue.11, p.51, 2009.
DOI : 10.1109/TMC.2009.60

P. Sungjin, E. Ju, L. , J. Hong, R. Seong-soon et al., Distributed Borrowing Addressing Scheme for ZigBee/IEEE 802.15.4 Wireless Sensor Networks, In : ETRI journal, vol.315, pp.52-121, 2009.

]. C. Per+03, E. Perkins, S. Royer, and . Das, RFC 3561 Ad hoc On-Demand Distance Vector (AODV) Routing. Rapp. tech, p.48, 2003.

]. R. Pri57 and . Prim, Shortest connection networks and some generalizations, Bell System Technology Journal, vol.36, pp.1389-1401, 1957.

R. Usman, K. Parag, and S. Mahesh, Low Power Wide Area Networks : An Overview, IEEE Communications Surveys Tutorials, vol.192, pp.855-873, 2017.

R. Bushra, M. Husain, and R. , Applications of wireless sensor networks for urban areas : A survey, Journal of Network and Computer Applications, vol.60, pp.192-219, 2016.

S. Paolo, Topology control in wireless ad hoc and sensor networks, In : ACM computing surveys (CSUR), vol.372, pp.164-194, 2005.

S. Radosveta and D. Eren, A Comparative Study of MAC protocols for Linear WSNs, Procedia Computer Science, vol.52, pp.492-499, 2015.

]. C. See+11, K. See, R. Horoshenkov, A. , Y. Hu et al., A Low Power Wireless Sensor Network for Gully Pot Monitoring in Urban Catchments, IEEE Sensors Journal, p.12, 2011.

]. G. Sha+07, . Shafiullah, G. Amoakoh, and W. Peter, Survey of wireless communications applications in the railway industry, Wireless Broadband and Ultra Wideband Communications The 2nd International Conference on, pp.65-65, 2007.

. Sig and . Sigfox, URL : https://www.sigfox.com (cf, p.20, 2017.

. Sik+06, S. Pavan, C. Peter, and V. Philip, Wireless adhoc sensor and actuator networks on the farm, Proceedings of the 5th international conference on Information processing in sensor networks, pp.492-499, 2006.

]. I. Soc11, Low-Rate Wirelees Personal Area Networks (LR-WPANs), E. Computer SOCIETY. Part IEEE. IEEE Computer Society. ANSI/IEEE, vol.154, issue.18, p.14, 2011.

]. N. Sor+16, M. Sornim, T. Luis, T. Eirich, and . Kramp, LoRaWAN Specification. LoRa Alliance, ZigBee, vol.21, p.20, 2016.

T. Qiang, Y. Kun, and L. Ping, energy efficient MCDS construction algorithm for wireless sensor networks, In : EURASIP Journal on Wireless Communications and Networking, vol.2012, pp.83-109, 2012.

T. Yuriy, B. Athanassios, and L. Libman, Experiences and Lessons from Implementing a Wireless Sensor Network MAC Protocol in the Castalia Simulator, Wireless Communications and Networking Conference, pp.1-6, 2010.

V. Rodoplu and T. H. Meng, Minimum energy mobile wireless networks, IEEE Journal on Selected Areas in Communications, vol.178, pp.1333-1344, 1999.

W. Jiangwen, Y. Yang, W. Yinfeng, F. Renjian, and Y. Ning, Hierarchical Leak Detection and Localization Method in Natural Gas Pipeline Monitoring Sensor Networks, pp.189-214, 2011.

, Waspmote sigfox networking guide URL : http://www.libelium.com, p.20, 2017.

W. Thomas, A. Isabelle, and U. Stéphane, Dualmode real-time mac protocol for wireless sensor networks : a validation/simulation approach, Proceedings of the first international conference on Integrated internet ad hoc and sensor networks, pp.2-41, 2006.

, Bibliographie

Y. Wei, J. S. Heidemann, and E. Deborah, An energy-efficient MAC protocol for wireless sensor networks, Proceedings.Twenty-First Annual Joint Conference of the IEEE Computer and Communications Societies, pp.1567-1576, 2002.
DOI : 10.1109/INFCOM.2002.1019408

Y. Jennifer, M. Biswanath, and G. Dipak, Wireless sensor network survey, In : Comput. Netw, vol.5212, pp.2292-2330, 2008.

Y. Sunhee, Y. Wei, H. John, L. Brian, and S. Cyrus, SWATS : Wireless sensor networks for steamflood and waterflood pipeline monitoring, IEEE network, vol.251, p.12, 2011.

Y. Zeng, J. Xiaohua, and Y. He, Energy efficient distributed connected dominating sets construction in wireless sensor networks, Proceedings of the 2006 international conference on Wireless communications and mobile computing, pp.797-802, 2006.

Y. Zeng, J. Xiaohua, and Y. He, Energy Efficient Distributed Connected Dominating Sets Construction in Wireless Sensor Networks, Proceedings of the 2006 International Conference on Wireless Communications and Mobile Computing, pp.797-802, 2006.

Z. Manuel, F. Angel, and G. Fernando-juan, Long-Term Monitoring of Fresco Paintings in the Cathedral of Valencia (Spain) Through Humidity and Temperature Sensors in Various Locations for Preventive Conservation, pp.8685-8710, 2011.

Z. Marco, D. Waltenegus, and J. M. Reason, Localized power-aware routing in linear wireless sensor networks on Context-awareness for self-managing systems. CASEMANS '08, Proceedings of the 2nd ACM international conference, pp.24-33, 2008.