- 博客(1)
- 资源 (6)
- 收藏
- 关注
转载 http 状态100的使用 Use of the 100 (Continue) Status
100(继续)状态(参看10.1.1章)的目的是允许一个正在发送有请求主体的请求消息的客户端在发送消息主体之前确定源服务是否接受该请求(取决于请求报头)。在一些情况下,如果服务端不用查看主体就拒绝消息而客户端继续发送消息主体是不合适也是很非常浪费时间的。对HTTP/1.1客户端的要求:l如果客户端在发送请求主体前会等待一个100(Continue)响应,它必须发送一个有
2014-01-08 18:03:31
3341
OPNET仿真zigbee实例
Zi gBee,
formally
known
as
IEEE
802.15.4 ‐2006
standard,
is
becoming
a
popular
way
to
create
wireless
personal
area
network
(WPAN)
due
to
its
low
power
consumption
and
scalabilit y.
ZigBee
ad ‐hoc
mesh
network s
are
designed
to
support
a
large
number
of
nodes
(>6 4,000)
with
dynamic
routing
in
case
of
a
node
failure.
This
proj ect
will
simulate
and
explore
the
performance
of
ZigBee
WPAN ’s
under
various
conditions
using
OPNET.
2012-04-01
基于omnet++的LEACH协议仿真
This is a simulation of LEACH (Low-Energy Adaptive Clustering Hierarchy),
a well-known cluster-based protocol for sensor networks with an extension
to make it solar-aware.
This simulation was created for the following paper:
Thiemo Voigt, Hartmut Ritter, Jochen Schiller, Adam Dunkels, and Juan
Alonso. Solar-aware Clustering in Wireless Sensor Networks. In
Proceedings of the Ninth IEEE Symposium on Computers and Communications,
June 2004.
http://www.sics.se/~thiemo/iscc2004Final.pdf
Abstract:
"Energy conservation plays a crucial in wireless sensor
networks since such networks are designed to be placed in
hostile and non-accessible areas. While battery-driven sensors
will run out of battery sooner or later, the use of renewable
energy sources such as solar power or gravitation
may extend the lifetime of a sensor network. We propose to
utilize solar power in wireless sensor networks and extend
LEACH, a well-known cluster-based protocol for sensor networks
to become solar-aware. The presented simulation
results show that making LEACH solar-aware significantly
extends the lifetime of sensor networks."
The code contains two directories: one is a distributed LEACH version, the
other one a centralized where the base station (assumed to know everything)
chooses the optimal cluster head. The "optimal" is in the code approximated
via rules that include some kind of geopgraphical criteria among others. In
solar.h you choose if you want to have solar turned on or not and also set
some other parameters.
To compile on Linux:
opp_makemake -f -N
make
On Windows with Visual C++:
opp_nmakemake -f -N
nmake -f Makefile.vc
Hope you find the model useful.
Thiemo Voigt (thiemo@sics.se)
(model packaged by Andras Varga)
2012-04-01
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人