Open Diman142 opened 7 years ago
@Diman142 Please use code highlighting with markdown https://guides.github.com/features/mastering-markdown/
Look at the old code https://github.com/thotro/arduino-dw1000/blob/master/src/DW1000.cpp#L1177 . I disabled it by default because it caused some issues. Best.
Ok I will use markdown I am sorry for first post. But I Enabled frame filtering manually in my code
DW1000.setFrameFilter(true);
I think that was enough because i do it after
setDefaults();
Or you want to tell me about tranciever part. Shold I enabling filtering on tranciever part?
Now I try to use DW1000Mac.cpp library Is this library work?
From DW1000Mac.cpp:
@todo everything, this class is only a prototype
So depends on what you need. It is limited, it's used by dw1000ranging.h.
I need to implement frame filtering and I want to do it using
DW1000Mac::generateShortMACFrame
In my tranciever and
DW1000Mac::decodeShortMACFrame
in my reciever
Does this class work?
Hi all
I started to work with arduino+DW1000
I tryed examples, researshed DW1000.cpp library, and implemented few simple ideas.
Now I want to try frame filtering. I read user manual, ASP10 and ASP13 by Decawave. Try to form MAC frame for frame filtering. I use next configure on tranciever part.
and transmit my MAC array using DW1000.setData(MAC); function On the reciever part I use next config:
for recieving use function DW1000.getData();
And reciever don't understand messages by tranciever I don't understand what wrong with my code maybe I forgot something or something else In mac header I point: Data frame and use PAN ID compression field bits. I don't use FCS bits and last 2 bits equal zero
Have you simplest example with frame filtering?
P.s It is part of code other configurations as in the example
Thank you for attention!)