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

Details about 15.4PHY #74

Closed Wanghaoyu920 closed 8 months ago

Wanghaoyu920 commented 10 months ago

I would like to see the chip sequence demodulated for each symbol, is this possible? Please help me, thanks!

bastibl commented 10 months ago

You can add your output here:

https://github.com/bastibl/gr-ieee802-15-4/blob/maint-3.10/lib/packet_sink.cc#L114-L129

At this point, chips is the decoded sequence, min_threshold are the number of bit flips to the best matching sequence. Note that the first and last bits shouldn't be considered as indicated by the comment in the code.

Wanghaoyu920 commented 10 months ago

Thanks, if I change the source code here, do I have to recompile this OOT module? What exactly should I do?

bastibl commented 10 months ago

do make and make install again in the build directory.