This program is run on the BEE2 and creates and sends UDP packets. -------------- IN DEPTH EXPLANATION ---------------------- Each frequency spectrum consists of 4096 polyphase filter bank bins (PFB bins). Each PFB bin consists of 32768 bins, which means that each spectrum consists of 134217728 (4096*32678) individual bins. THE UDP CODE (Run on the Bee 2) -------------------------------------------------- The UDP code spits UDP packets from the Bee2. A packet reports all of the information regarding one particular PFB bin. The first three numbers in a packet describe the PFB bin. The first number is the PFB bin number, the second number is the threshold, and the third number is an error code that is reported from the Bee2 (0 means no error). After the first three numbers are reported, every hit in the specified PFB bin is reported. Each hit consist of two numbers: which individual bin the hit belongs to, and the power of the hit. Each number is 4 bytes To summarize, the data field of a UDP packet looks like this: PFB bin number threshold error code hit #1 bin number hit #1 power hit #2 bin number hit #2 power hit #3 bin number hit #3 power .... There is a maximum number of hits per PFB bin that will be reported (all others will be ignored). This number has yet to be determined, but is temporarily set to 128.