18.05.2014 Views

REDES DE SENSORES SEM FIO EM MONITORAMENTO E ...

REDES DE SENSORES SEM FIO EM MONITORAMENTO E ...

REDES DE SENSORES SEM FIO EM MONITORAMENTO E ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3.6 Comentários 39<br />

canais 1 a 10 à banda de 902 MHz e canais 11 a 27 à banda de 2.4 GHz. Neste mesmo<br />

arquivo o parâmetro que define quantos e quais os canais explorados teve que ser alterado<br />

para simulação em cada banda.<br />

Para 868/902 MHz<br />

//Scan the channels 0, 1 e 2<br />

UINT_32 SSCS802_15_4::ScanChannels= 0x0007<br />

Para 2.4 GHz<br />

//Scan the channels 11, 12 e 13<br />

UINT_32 SSCS802_15_4::ScanChannels= 0x03800<br />

O tempo de espera do reconhecimento também depende da banda de freqüência. Na<br />

banda de 2.4 GHz é igual a 54 Símbolos e nas bandas de 868/902 MHz os tempos são<br />

de 120 Símbolos. Portanto no arquivo p802_15_4const.h foram feitas as seguintes alterações:<br />

Para 868 MHz<br />

#define def_phyCurrentChannel 0<br />

#define def_phyChannelsSupported 0x07ff<br />

#define def_macAckWaitDuration 120<br />

Para 902 MHz<br />

#define def_phyCurrentChannel 1<br />

#define def_phyChannelsSupported 0x07ff<br />

#define def_macAckWaitDuration 120<br />

Para 2.4 GHz<br />

#define def_phyCurrentChannel 11<br />

#define def_phyChannelsSupported 0x07ffffff<br />

#define def_macAckWaitDuration 54<br />

3.6 Comentários<br />

Este capítulo procurou dar noções de uma aplicação industrial, apresentou a proposta<br />

deste trabalho, as preliminares da simulação e a descrição de algumas alterações efetuadas

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

Saved successfully!

Ooh no, something went wrong!