bastibl / gr-ieee802-15-4

IEEE 802.15.4 ZigBee Transceiver
https://www.wime-project.net
GNU General Public License v3.0
270 stars 87 forks source link

Chunks to symbols mapping #63

Closed OxotaKpenkoe closed 2 years ago

OxotaKpenkoe commented 2 years ago

Hi! First of all i want to thank you for this great work! my question is about symbol table in "chunks to symbols" block. y there are some difference with ieee 802.15.4 standart? mapping_table_ieee for example symbol # 14 mapped to this sequence in this block: (1-1j), (-1+1j), (1+1j), (-1-1j), (-1-1j), (1+1j), (-1+1j), (-1+1j), (-1-1j), (1-1j), (-1-1j), (1-1j), (1+1j), (1-1j), (1+1j), (-1+1j) but in ieee it is: 10 01 01 10 00 00 01 11 01 11 10 11 10 00 11 00 so, it must be somethink like: (1-1j), (-1+1j), (-1+1j), (1-1j), (-1-1j), (-1-1j), (-1+1j), (1+1j), (-1+1j), (1+1j), (1-1j), (1+1j), (1-1j), (-1-1j), (1+1j), (-1-1j)

bastibl commented 2 years ago

IIRC, this is due to the strange bit ordering. 14 = 0b1110 -> reversed 0b0111 = 7. The sequence of number 14 is at position 7.

OxotaKpenkoe commented 2 years ago

thank you so much!