PE Project 3 - goofcode/UR GitHub Wiki
Requirements
- packet size, header size ์ด์ํ ๊ฒ ํ์ธ
- channel ํ์ธ
- 2:1์์ sender ๋๋ฌด ๋น ๋ฅด๊ฒ ๋๋๋ ๊ฒ
- tx power ์ธ๊ธฐ? RSSI ์ ํธ ๊ฐ๋ ์ฒดํฌ
- mote ๋ฌธ์ ? telosb
- CCA ์ค์ ? threshold, ์ฌ์ ์ก ์, backoff
- CSMA ๊ตฌํ ๋ฌธ์ ?
- ๊ทธ๋ํ ๊ทธ๋ฆด ๋, ํจํท ์๋ก ๋๋ ์ ๋ฐ๋ผ์ ๋ค์ ๊ทธ๋ฆฌ๊ธฐ
- duty cycle rate์ ๋ฐ๋ฅธ ์๋ ๊ทธ๋ํ
- PER์ด ๋๋ฌด ๋ฎ์ ๊ฒ
- sender ์ธก send call์ return๊ฐ์ ํ์ธ (1 or 0)
- sender ์ธก auto-ACK์ด ์ผ์ ธ ์๋์ง ํ์ธ
- auto-ACK์ด ์ผ์ ธ ์๋ค๋ฉด ACK ๊ฐ์ ํ์ธ (1 or 0)
- send ์ฌ์ด์ฌ์ด์ delay(~5ms) ๋ฃ์ด๋ณด๊ธฐ
header sizes?
- chameleon: 4 bytes (2: channel#, 2: sender addr(broadcast))
- contikimac-framer: 2 bytes (id, len)
- 802.15.4-framer: 9 bytes
- total: 15 + 2(checksum) bytes
PER์ด ๋๋ฌด ๋ฎ์ ๊ฒ
- sender์ ๋ฌธ์
- cc2420: TX_COLLISION (800๋ฒ์ loop: LOOP_20_SYMBOLS ๋์ channel ํ์ธ, ์คํจ) --> cca threshold ์กฐ์
- csma: neighbor queue full, packet drop --> delay ์คํ
ํ์ธํ ์ ์์๋ ๊ฒ๋ค
- ๊ธฐ๋ณธ CCA threshold = -90
- ๊ธฐ๋ณธ CSMA max backoff = 5, max retries = 7