What is an efficient recipe for extracting a payload from a downlink frame at an edge device?
Below are three separate frames. Spaces have been added for visual effect.
(1) 600b0b0b 009f c825 03000100700330ffff01050868e28c 01187f7ffa ad1af8
(2) 600b0b0b 008f c925 03000100700330ffff01050868e28c 01ad9eb655 316b42 052d7e
(3) 600b0b0b 008f ca25 03000100700330ffff01050868e28c d5248606
600b0b0b
is my device address with a network derived code inserted in the first byte. c825,c925,ca25
are the frame counters incrementing on each frame. (little endian)
(1) contains the payload FADE93
(2) contains the payload FADE93FADE93
(3) contains an empty payload.
So how do I get them out of the frames?