21.01.2014 Views

Structural Health Monitoring Using Smart Sensors - ideals ...

Structural Health Monitoring Using Smart Sensors - ideals ...

Structural Health Monitoring Using Smart Sensors - ideals ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Sender<br />

SendLData.send()<br />

Pack parameters<br />

(e.g., Destination, message<br />

ID, data length, sensitivity,<br />

etc. )<br />

SendNoticeSubTask()<br />

SendNoticeMsg.sendDone()<br />

call TimerNotice.start()<br />

Receiver<br />

ReceiveNoticeMsg.receive()<br />

Receiver stores received<br />

parameters.<br />

Afterward, message ID and<br />

sender’s address will be<br />

used to rejects packets for<br />

other communication<br />

request.<br />

TimerNotice.fired()<br />

if acknowledged,<br />

post SendDataTask()<br />

else<br />

post SendNoticeSubTask()<br />

ReceiveNoticeMsg.receive()<br />

set flag as acknowledged<br />

SendAckMsg()<br />

SendNoticeSubTask()<br />

SendDataTask()<br />

Pack a packet with data<br />

TimerData.start<br />

TimerData.fired<br />

SendDataMsg.sendDone<br />

if all the data is sent<br />

post SendNoticeEnd<br />

else<br />

post SendDataTask<br />

ReceiveDataMsg.receive<br />

Receiver stores received<br />

data<br />

SendNoticeEnd()<br />

Pack a packet. Notification<br />

that sender has sent all the<br />

data<br />

SendNoticeSubTask<br />

SendNoticeMsg.sendDone()<br />

call TimerNotice.start()<br />

TimerNotice.fired()<br />

if acknowledged,<br />

post<br />

Comment3CheckUnicast()<br />

else<br />

post<br />

SendNoticeSubTask()<br />

Comment3CheckUnicast()<br />

if there are missing packets<br />

post SendDataTask<br />

else<br />

pack a packet with ‘Done’<br />

message<br />

post SendNoticeSubTask<br />

SendNoticeSubTask<br />

SendNoticeMsg.sendDone()<br />

call TimerNotice.start()<br />

ReceiveNoticeMsg.receive()<br />

set flag as acknowledged<br />

check request for resending<br />

ReceiveNoticeMsg.receive()<br />

Receiver checks for<br />

missing packets and report<br />

to the sender.<br />

SendAckMsg()<br />

SendNoticeSubTask()<br />

ReceiveNoticeMsg.receive()<br />

Acknowledge the sender<br />

Signal received()<br />

TimerNotice.fired()<br />

if acknowledged,<br />

signal sendDone()<br />

else<br />

post<br />

SendNoticeSubTask()<br />

ReceiveNoticeMsg.receive()<br />

set flag as acknowledged<br />

SendAckMsg()<br />

SendNoticeSubTask()<br />

Figure 5.13. Detailed block diagram of the reliable unicast protocol for long data records.<br />

66

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!