1 00:00:00,000 --> 00:00:02,760 And I'm done here. Everybody clap for Balint. 2 00:00:09,560 --> 00:00:11,640 I didn't suppose Anders is here again? 3 00:00:12,000 --> 00:00:15,440 I like to call him out every time, every DEF CON. 4 00:00:15,760 --> 00:00:21,200 Now, Anders very kindly lent me his prepaid cellular phone 5 00:00:21,200 --> 00:00:23,640 when he was visiting from overseas a couple of DEF CONs ago. 6 00:00:24,660 --> 00:00:27,960 We had word that I think we needed to switch on one of the science instruments 7 00:00:27,960 --> 00:00:33,320 on that space probe, and I was here, and so I tethered to his phone 8 00:00:33,320 --> 00:00:37,620 and then SSH'd into a laptop we'd left at the Arecibo Radio Telescope, 9 00:00:37,780 --> 00:00:41,480 and they powered it up, and then using some software that we wrote, 10 00:00:41,540 --> 00:00:44,260 we sent the command while I was watching the talk, 11 00:00:44,360 --> 00:00:47,240 because the talk was pretty good too, so I didn't want to leave that. 12 00:00:47,680 --> 00:00:52,000 But anyway, today, thank you very much for coming and watching. 13 00:00:52,100 --> 00:00:54,460 I hope this is going to be informative, 14 00:00:54,540 --> 00:00:57,400 and you'll be able to learn some tips and tricks from this. 15 00:00:57,960 --> 00:01:02,540 I just want to talk about some suggestions I might have, 16 00:01:02,660 --> 00:01:07,260 and I'm going to be biased, because it's just using some tools 17 00:01:07,260 --> 00:01:09,700 that I've been working on for quite some time, 18 00:01:11,900 --> 00:01:19,040 but how to basically use some tools to get good captures, IQ captures, 19 00:01:19,240 --> 00:01:26,300 in a manner that you can use to make sure that you record sufficient metadata 20 00:01:26,300 --> 00:01:27,940 under certain circumstances. 21 00:01:27,960 --> 00:01:31,800 If you're doing lots of captures, and then once you have all that IQ, 22 00:01:33,380 --> 00:01:36,780 some tools that you can use to actually review it, 23 00:01:36,840 --> 00:01:40,120 and see whether signals that you're looking for, 24 00:01:40,200 --> 00:01:42,940 or anything interesting may actually be in those captures. 25 00:01:44,200 --> 00:01:46,760 So, capture and analyze like a BALS, 26 00:01:47,520 --> 00:01:50,100 and I just want to do a shout out to Nate, 27 00:01:50,220 --> 00:01:53,900 and there's Nate Temple, Dev Nelling, stick your hands up Nate. 28 00:01:54,300 --> 00:01:57,680 That's BALS number one, where's BALS number two? 29 00:01:58,360 --> 00:02:01,100 Where's Neil, Neil Pandia, where are you? 30 00:02:01,680 --> 00:02:04,080 There he is, hand up there, there's BALS number two. 31 00:02:05,260 --> 00:02:08,240 They've been very, very helpful with all my efforts, thank you guys. 32 00:02:09,380 --> 00:02:16,080 So anyway, the first one is, let me just get these slides up here. 33 00:02:17,900 --> 00:02:18,460 There we go. 34 00:02:18,880 --> 00:02:20,160 Who's heard of KitchenSync? 35 00:02:22,100 --> 00:02:24,420 Well that's great, then I have something to teach you. 36 00:02:25,160 --> 00:02:27,940 KitchenSync is, I'm probably the only one that uses KitchenSync, 37 00:02:27,960 --> 00:02:29,280 I've used it in the entire world now, 38 00:02:30,640 --> 00:02:33,180 but it also might be a little bit daunting, 39 00:02:33,340 --> 00:02:35,720 because it has three pages of command line options, 40 00:02:37,380 --> 00:02:38,640 so it's highly flexible, 41 00:02:38,800 --> 00:02:42,980 but KitchenSync is a tool that I originally wrote when I was at a research, 42 00:02:43,280 --> 00:02:45,380 and I've been sort of extending it a little bit, it's open source, 43 00:02:45,520 --> 00:02:47,420 so I forked the repo and I've been adding features to it. 44 00:02:47,640 --> 00:02:51,000 It's basically a Swiss Army knife for capturing, 45 00:02:52,140 --> 00:02:56,960 and in this particular case also testing some of the more advanced features of USRP, 46 00:02:57,860 --> 00:02:57,940 of USRP. 47 00:02:57,960 --> 00:02:59,040 So I've got one plugged in here, 48 00:03:00,160 --> 00:03:05,440 and the thing about this is that I haven't tested it with KitchenSync, 49 00:03:05,600 --> 00:03:11,040 but if you wanted to use this with other hardware like an RTL or any other SDR you can imagine, 50 00:03:12,040 --> 00:03:17,620 what you can do actually is either modify the source code to use another API, 51 00:03:17,960 --> 00:03:23,440 or Josh Bloom made Soapy SDR, who's heard of Soapy SDR? 52 00:03:23,780 --> 00:03:24,800 Yeah, a couple of you? 53 00:03:24,960 --> 00:03:27,880 So Soapy SDR is supposed to be a totally vendor neutral, 54 00:03:27,880 --> 00:03:33,400 a neutral API that allows you to access a whole lot of different types of software-defined radio hardware. 55 00:03:34,310 --> 00:03:37,420 It has been very comprehensive, it has a very, very wide support for hardware. 56 00:03:37,660 --> 00:03:40,680 I highly recommend you check it out, it's also a really slick API. 57 00:03:42,040 --> 00:03:50,000 But one of the things he added to Soapy was the ability to have Soapy talk to USURPS through UHD, 58 00:03:50,570 --> 00:03:55,960 but then also he made a loadable module for UHD to access Soapy devices. 59 00:03:56,360 --> 00:03:57,860 So you can install Soapy SDR, 60 00:03:57,860 --> 00:04:01,600 and any application that uses UHD will then hook into Soapy, 61 00:04:01,660 --> 00:04:05,540 and then you have every other SDR available for you to use as well. 62 00:04:05,860 --> 00:04:09,820 So if you want to use KitchenSync with something else, install Soapy, install the UHD module, 63 00:04:09,960 --> 00:04:11,460 and then you can access whatever you want. 64 00:04:14,540 --> 00:04:20,480 So KitchenSync is a command line utility, it's a single C++ file that you can compile, 65 00:04:20,720 --> 00:04:23,720 and you basically can tell it to do all sorts of things. 66 00:04:23,800 --> 00:04:25,740 I've mainly been using it to do captures. 67 00:04:25,740 --> 00:04:31,060 So the command line ends up getting pretty long if you need to do more advanced stuff, 68 00:04:31,240 --> 00:04:32,140 but let's break it down. 69 00:04:32,340 --> 00:04:33,080 So here's an example. 70 00:04:33,540 --> 00:04:37,900 You just run KitchenSync, you tell it how many RX channels you want to capture on. 71 00:04:38,000 --> 00:04:40,940 If your SDR supports one, then obviously it's just going to be a single channel, 72 00:04:41,120 --> 00:04:46,440 but if you're using an SDR that does multiple channels, like a B210 or what have you, 73 00:04:46,840 --> 00:04:49,460 then you can have it capture both channels at the same time. 74 00:04:50,560 --> 00:04:55,420 You tell it how fast you want it to capture the sample rate, RX rate. 75 00:04:55,740 --> 00:04:58,960 Progress interval, and I'll show you this in a demo in a minute. 76 00:04:59,060 --> 00:05:03,660 Progress interval is nice because you can either have it just sit there silently doing its thing, 77 00:05:03,780 --> 00:05:07,520 or every second or however long you want, it'll print out the timestamp 78 00:05:07,520 --> 00:05:10,040 and how many samples it's captured and so on. 79 00:05:10,140 --> 00:05:11,400 That can be good for testing. 80 00:05:11,920 --> 00:05:15,780 Interestingly enough, I've found that if you're really pushing the limits of capture, 81 00:05:16,820 --> 00:05:19,680 you know, these things operate over USB 3 nowadays, 82 00:05:19,820 --> 00:05:24,940 and you can do 56 megahertz worth of usable bandwidth, you can stream that, 83 00:05:26,280 --> 00:05:32,160 to RAM disk, you can create a RAM disk on, you know, OSX or your Mac or whatever you want, 84 00:05:32,760 --> 00:05:36,540 and then stream it directly into RAM and then you can support that capture rate, 85 00:05:36,640 --> 00:05:38,800 which is great if you want to do really high bandwidth captures. 86 00:05:39,480 --> 00:05:43,060 But I found, interestingly, that depending upon your system configuration, 87 00:05:43,380 --> 00:05:48,660 if you end up having the program print out the progress interval every however long, 88 00:05:49,360 --> 00:05:53,360 there's, you know, maybe a system call that happens or there's a little bit of overhead there, 89 00:05:53,400 --> 00:05:55,720 and sometimes you can drop a sample if you're really at the limit. 90 00:05:55,740 --> 00:05:58,620 So, sometimes you want to have that off. 91 00:05:59,360 --> 00:06:02,700 Obviously, then you set the frequency that you want to capture at, the antenna, 92 00:06:03,280 --> 00:06:08,000 and then, I'll talk about this in a minute, but the CPU format that you want the samples in, 93 00:06:08,100 --> 00:06:14,540 the gain, the capture file, and then comes the cool stuff, which is about time synchronization. 94 00:06:14,820 --> 00:06:19,880 So, I found myself recently needing to do captures at specific times for a specific length, 95 00:06:22,300 --> 00:06:25,720 and it has some options depending upon your, you know, time. 96 00:06:25,740 --> 00:06:29,700 So, you've got the timing set up with your SDR about when you want to start, 97 00:06:29,820 --> 00:06:32,720 because if you're going to RAM disk or you only have limited drive space 98 00:06:32,720 --> 00:06:34,860 and you're capturing a whole bunch of things simultaneously, 99 00:06:35,100 --> 00:06:37,780 you don't necessarily want to supervise it and let it go on forever. 100 00:06:39,020 --> 00:06:44,880 Another thing that I'll talk about is the timing file, which is important. 101 00:06:45,120 --> 00:06:48,240 So, who's done captures where you've ended up dropping samples? 102 00:06:49,280 --> 00:06:55,640 You try and capture a bunch of data and then your SDR is producing samples, 103 00:06:56,240 --> 00:06:59,060 quicker than what your computer can record to disk. 104 00:06:59,260 --> 00:07:05,380 This doesn't happen, obviously, when you're, you know, doing quite narrow captures at slower rates, 105 00:07:05,440 --> 00:07:08,120 but if you're doing it really fast, stuff like 50 mega samples per second, 106 00:07:08,220 --> 00:07:10,360 you can overflow very quickly. 107 00:07:11,080 --> 00:07:18,540 So, what the timing file does is it actually stores in a sidecar file the hardware timestamp 108 00:07:19,100 --> 00:07:25,180 and the number of samples that have been received, so that if you do, in fact, have any overflows, 109 00:07:25,740 --> 00:07:32,760 you can go back and it's just a CSV file and see the time at which the next sample came in 110 00:07:32,760 --> 00:07:36,200 after you had a discontinuity, which means that if you need to, 111 00:07:36,280 --> 00:07:39,320 you can actually recreate a continuous stream, 112 00:07:39,460 --> 00:07:44,680 because often what happens is when you take your capture and then you put it into some decoder, right, 113 00:07:44,800 --> 00:07:49,960 if you're tracking a digital signal, then if you have a discontinuity, 114 00:07:50,020 --> 00:07:55,720 it might screw up your clock recovery, your decoder will, you know, lose lock on your signal 115 00:07:55,740 --> 00:07:59,660 and then you won't know what happened, because it's assuming that the sample stream is continuous, 116 00:07:59,740 --> 00:08:00,440 you haven't dropped anything. 117 00:08:02,160 --> 00:08:06,580 So, there's something else that I'll show you you can use to, that'll take in that timing file 118 00:08:06,580 --> 00:08:13,540 and then pad the missing data and then, you know, whatever is consuming this won't have any problems. 119 00:08:13,820 --> 00:08:17,320 Another thing, for example, is you can add an RX start time down the bottom. 120 00:08:17,440 --> 00:08:23,420 So, if you have the ability to set the time... 121 00:08:27,840 --> 00:08:31,800 If you have the ability to set the time in your device, like on this one, 122 00:08:31,900 --> 00:08:35,100 you can actually set, you know, tell it, all right, the time is now this. 123 00:08:36,320 --> 00:08:41,120 Or, you know, I'll show you how else you can synchronize time, but then you can actually say, 124 00:08:41,240 --> 00:08:43,940 I want you to start streaming it at this time. 125 00:08:45,180 --> 00:08:48,320 I'll come back to that in a minute and explain why that's important. 126 00:08:49,260 --> 00:08:53,860 But if you're doing multi-channel stuff, this can be, you know, part of a MIMO experiment, 127 00:08:53,860 --> 00:08:57,400 or if you've got two different antennas pointing in two different directions 128 00:08:57,400 --> 00:09:02,400 and you want to capture at the same time, or you want to look at two different frequencies, 129 00:09:02,480 --> 00:09:05,640 but make sure that you record in a time-aligned manner, 130 00:09:05,840 --> 00:09:09,160 then you can actually tell it to do multiple channels. 131 00:09:10,020 --> 00:09:12,940 So, you can give it, you know, a list of frequencies and a list of gains. 132 00:09:13,360 --> 00:09:17,460 And what's nice is that you can use this formatting option in the RX file 133 00:09:17,460 --> 00:09:21,460 so that instead of just spitting out one IQ file, it'll spit out two. 134 00:09:21,640 --> 00:09:23,840 Or if you want it one, but you want interleaves to one, 135 00:09:23,860 --> 00:09:25,940 you can give it two samples, you can tell it to do that as well, 136 00:09:27,280 --> 00:09:31,420 depending upon, you know, whatever is consuming this would require. 137 00:09:32,320 --> 00:09:35,420 And then some tips, if anybody's using, say, a B210, 138 00:09:35,620 --> 00:09:38,120 if you want to decrease your chance of overflows, 139 00:09:38,320 --> 00:09:41,700 you can increase the num receive frames in your UHD arguments, 140 00:09:41,880 --> 00:09:46,640 just another thing that you add to the command line options. 141 00:09:46,980 --> 00:09:51,460 And people, you know, try different values and talk about different values, 142 00:09:51,520 --> 00:09:53,460 but I've found that actually depends upon the... 143 00:09:53,860 --> 00:09:57,020 hardware you're using and the controller and what have you. 144 00:09:57,120 --> 00:10:01,740 So, you need to use and experiment with some different values there 145 00:10:01,740 --> 00:10:06,260 because some will just crash the app, some will crash the, you know, the controller, 146 00:10:06,420 --> 00:10:07,200 you'll get corrupt data. 147 00:10:09,740 --> 00:10:11,800 So, it's always good to experiment with those values. 148 00:10:13,140 --> 00:10:16,980 And then there are other ones that, you know, if you have a device like this, 149 00:10:17,000 --> 00:10:18,400 it has an A-side and a B-side, 150 00:10:18,520 --> 00:10:22,420 so if you want to use the B-side instead of the A-side, you can set that as well. 151 00:10:23,860 --> 00:10:29,040 And the important thing about the CPU format, when you capture IQ samples, 152 00:10:29,940 --> 00:10:34,660 they're usually in one of two standard formats, floating point or fixed point. 153 00:10:35,620 --> 00:10:42,560 And floating point is usually FC32 or CF32 in Soapy land, and then you've got SC16. 154 00:10:43,280 --> 00:10:49,800 So, you've got, you know, pairs of 16-bit short samples or pairs of floats. 155 00:10:50,080 --> 00:10:52,480 And obviously, if you have pairs of floats, 156 00:10:52,480 --> 00:10:59,860 they're going to be twice the amount of data than two fixed point, you know, short values. 157 00:10:59,960 --> 00:11:03,840 So, if you're trying to fill up your RAM disk at 50 mega samples per second, 158 00:11:04,000 --> 00:11:05,800 obviously, you want more bang for your buck. 159 00:11:05,920 --> 00:11:08,700 So, you can tell it to use the short samples. 160 00:11:08,860 --> 00:11:12,540 And what's interesting is that commonly, when you actually stream from a device, 161 00:11:12,660 --> 00:11:15,880 it actually ends up coming off the FPGA in a fixed point format anyway. 162 00:11:16,280 --> 00:11:19,320 So, there's no point in having the host convert it to a floating point format, 163 00:11:19,460 --> 00:11:22,460 which is, you know, good when you're using it in various applications. 164 00:11:22,480 --> 00:11:25,500 But if you're just trying to store it, you can get twice as much in there. 165 00:11:26,200 --> 00:11:31,300 And the other feature that I added recently was this RX file loop size. 166 00:11:31,820 --> 00:11:35,400 And that's important where you have a finite amount of storage. 167 00:11:35,560 --> 00:11:38,500 Let's say RAM disk, let's say, you know, you've got 32 gigs there. 168 00:11:38,680 --> 00:11:41,220 You leave, like, 500 megabytes for your OS. 169 00:11:43,860 --> 00:11:51,100 And if you want the system to just keep capturing and then you stop it when you want to, 170 00:11:51,100 --> 00:11:52,460 once you've seen some other experience, 171 00:11:52,480 --> 00:11:55,740 if an external event occur, maybe you're looking at another monitor 172 00:11:55,740 --> 00:11:58,080 or maybe you're listening to something or looking at something, 173 00:11:58,300 --> 00:12:00,480 then, and you manually stop the capture, 174 00:12:00,640 --> 00:12:07,760 it means that it will store the last, you know, 31 and a half gigabytes worth of data. 175 00:12:08,020 --> 00:12:13,160 So, in this case, it'll just keep basically recording into a circular buffer in RAM. 176 00:12:13,700 --> 00:12:18,920 And if you specify the loop size, it'll tell you how big you want that circular buffer to be. 177 00:12:19,480 --> 00:12:21,760 And then, when you do that, 178 00:12:21,760 --> 00:12:26,180 it'll create a .loop file as well, which is another sidecar file 179 00:12:26,180 --> 00:12:31,760 that will store the file cursor and the sample count every time it loops and then at the end. 180 00:12:31,880 --> 00:12:35,000 So that once you end up with your final capture file, 181 00:12:35,780 --> 00:12:40,340 if you think in terms of a circular buffer, the beginning of the file will be somewhere, 182 00:12:40,900 --> 00:12:46,600 you know, the beginning of your last 31 and a half gigs is not at the beginning of the file, 183 00:12:46,660 --> 00:12:47,880 it's somewhere inside the file. 184 00:12:48,020 --> 00:12:51,580 So, it stores the offset there and then you can loop that through 185 00:12:51,760 --> 00:12:53,600 to recover your continuous recording. 186 00:12:54,840 --> 00:12:58,800 So, what's cool is once you do these big recordings, you can capture a lot of data. 187 00:12:59,020 --> 00:13:05,840 This is a waterfall here captured around, you know, I think 437 megahertz. 188 00:13:06,900 --> 00:13:10,560 And you can see there are a lot of different signals in there. 189 00:13:13,160 --> 00:13:15,320 And it's a very, very large bandwidth. 190 00:13:15,480 --> 00:13:17,840 So, lots to see and explore. 191 00:13:18,200 --> 00:13:21,120 But the thing is, if you want to actually go in and analyze these signals, 192 00:13:21,820 --> 00:13:22,660 there's a lot of them. 193 00:13:22,800 --> 00:13:27,440 And so, it'd be nice to have some tools to sort of zoom in and look around and look a little bit closer. 194 00:13:28,620 --> 00:13:32,840 So, I'll show you some interactive stuff in just a second. 195 00:13:33,100 --> 00:13:39,020 This is an example where you can zoom in with this little tool called BASFFT. 196 00:13:39,080 --> 00:13:41,820 It can read in IQ and it'll plot it. 197 00:13:42,020 --> 00:13:45,360 You can have a text file that lists frequencies and you can give it names. 198 00:13:46,220 --> 00:13:51,400 And then there's this different app that uses GNU Ready called the multi-channel runner that I'll show you. 199 00:13:51,760 --> 00:13:55,140 And that will take in this massive IQ on all these frequencies that you specify 200 00:13:55,140 --> 00:14:02,080 and then extract the various channels and then decode them in whatever way you wish. 201 00:14:02,240 --> 00:14:06,200 And then it'll take that metadata out and then overlay it back on your waterfall. 202 00:14:06,360 --> 00:14:10,700 So, you can see these are transmissions and it's got those dotted lines around the transmissions 203 00:14:10,700 --> 00:14:12,280 to indicate that's when the squelch opened. 204 00:14:13,040 --> 00:14:18,560 If you're dealing with P25 transmissions, then you can do a big capture, analyze it, 205 00:14:18,600 --> 00:14:21,060 put it through the multi-channel P25 decoder. 206 00:14:21,160 --> 00:14:21,740 And then you can do a big capture, analyze it, put it through the multi-channel P25 decoder. 207 00:14:21,760 --> 00:14:26,440 And then who's familiar with the different frame types in P25? 208 00:14:26,640 --> 00:14:34,040 Where you've got your header data unit and the tail and the two voice packets. 209 00:14:35,080 --> 00:14:40,620 So, when you transmit P25, there are different frame types that it transmits. 210 00:14:40,700 --> 00:14:43,840 There's a header and then when it's transmitting voice traffic, 211 00:14:44,100 --> 00:14:48,340 it actually alternates between these two voice packets, voice frames. 212 00:14:48,620 --> 00:14:51,680 And as you can see there, you can identify voice traffic 213 00:14:51,760 --> 00:14:58,300 by the cyan and darker blue alternating rectangles if you, you know, 214 00:14:58,340 --> 00:15:00,080 look at each of these channels in the waterfall. 215 00:15:00,360 --> 00:15:05,680 So, I'll show you that in a sec too, but it's basically the OP25 decoder with the modification 216 00:15:05,680 --> 00:15:13,320 to spit out the timestamp at which each of these frame types are decoded by the, you know, 217 00:15:13,320 --> 00:15:14,080 in each channel. 218 00:15:14,320 --> 00:15:15,700 So, let's take a quick look at that. 219 00:15:19,920 --> 00:15:21,560 I wonder whether I can... 220 00:15:35,040 --> 00:15:37,160 Where did that file go? 221 00:15:39,860 --> 00:15:40,860 Oh, here it is. 222 00:15:49,680 --> 00:15:51,740 So, I'll do some command lines. 223 00:15:51,760 --> 00:15:54,620 I'll do some command line demos of kitchen sink in just a second, 224 00:15:54,720 --> 00:15:57,080 but these are just some captures that I did with it. 225 00:16:00,000 --> 00:16:02,920 And why is that not working? 226 00:16:10,020 --> 00:16:10,900 Okay, here we go. 227 00:16:12,000 --> 00:16:14,820 So, let's have a look at the whole capture. 228 00:16:15,520 --> 00:16:18,920 So, when you run the program, it looks like... 229 00:16:21,760 --> 00:16:22,400 Like this. 230 00:16:22,620 --> 00:16:27,080 So, sorry, it's difficult for me to see. 231 00:16:27,200 --> 00:16:37,660 You run the program, you give it your capture file, you give it a frequency list and then 232 00:16:37,660 --> 00:16:42,800 you give it the event list which basically contains the output from once you've run it 233 00:16:42,800 --> 00:16:49,980 through the multi-channel decoder and then it shows you all of the channels that you've 234 00:16:49,980 --> 00:16:55,400 put into your text file, it's just a list of frequencies, and then it'll draw the lines to show the channels 235 00:16:55,400 --> 00:17:06,460 and then once it's gone through and analyzed all those channels, then you can just zoom in 236 00:17:06,460 --> 00:17:13,980 and you can see that you have the IQ that's been represented in the waterfall and you can see the energy there, 237 00:17:14,060 --> 00:17:18,780 you know, the red there, but then because it's gone through a narrowband FM decoder 238 00:17:18,780 --> 00:17:23,660 and with a squelch in front of it, it's identified with that white line around it saying, 239 00:17:23,820 --> 00:17:25,180 oh, I actually found something here. 240 00:17:25,600 --> 00:17:31,040 And when it does that, then it actually demodulates using narrowband FM, makes a WAV file, 241 00:17:31,620 --> 00:17:40,160 and then you end up with all these WAV files here. 242 00:17:41,180 --> 00:17:48,300 So, you can, you know, click on it there in your OS and listen to them, 243 00:17:48,780 --> 00:17:52,040 or you can also just double-click them in the waterfall like this, 244 00:17:56,900 --> 00:18:02,220 and then it'll play it back. So, anything that you like to, you know, that's of interest to you, 245 00:18:02,300 --> 00:18:12,440 you can just click the button here, click it inside the area of any of these signals that it's found, 246 00:18:12,940 --> 00:18:14,980 and then, you know, review it. 247 00:18:16,920 --> 00:18:22,500 So, that can be quite a powerful tool if you're sort of hunting around searching for a signal. 248 00:18:26,000 --> 00:18:34,540 That's a trunking control channel there, or maybe that's Tetra. 249 00:18:37,260 --> 00:18:41,860 So, this is kind of nice because you can record, you know, very, very wide bandwidth captures, 250 00:18:41,860 --> 00:18:46,280 and then run it through this multi-channel processor. 251 00:18:46,460 --> 00:18:52,860 It takes a little bit of while to, you know, process all the channels per your channel frequency list, 252 00:18:52,980 --> 00:18:59,900 but once it does that, then it'll spit everything out, and then you can use that tool to analyze it. 253 00:19:04,560 --> 00:19:06,480 And then, let's see here. 254 00:19:07,460 --> 00:19:09,060 So, you can also do it for P25. 255 00:19:09,060 --> 00:19:17,800 And similarly, I won't show you the actual interactive view, 256 00:19:17,960 --> 00:19:22,720 but with that, you can also have it output, let me find a good example here, 257 00:19:23,580 --> 00:19:33,040 also have it output just static images if you want to render it to an image file, like a PNG. 258 00:19:33,640 --> 00:19:38,600 So, this is the same example, instead of, you know, being in that interactive mode, spits it out to a picture, 259 00:19:39,060 --> 00:19:45,960 you can zoom right in, and again, we can see those individual transmissions 260 00:19:48,520 --> 00:19:53,880 with the data, individual data frames color-coded there. 261 00:19:54,020 --> 00:20:00,620 So, in a way, this is also a good diagnostic tool to determine how well your decoder is actually working. 262 00:20:00,940 --> 00:20:04,740 So, this is found in voice traffic here, and then on the side, 263 00:20:06,440 --> 00:20:08,540 these series of pink blocks 264 00:20:09,060 --> 00:20:13,340 are actually trunking control blocks on the trunking control channel 265 00:20:13,340 --> 00:20:16,700 that's used to coordinate traffic on this particular network. 266 00:20:16,960 --> 00:20:22,120 So, you can see all the individual P25 packets, and then if this was an interactive mode, 267 00:20:23,200 --> 00:20:27,500 if you ran it through the multi-channel decoder with P25, 268 00:20:27,660 --> 00:20:31,440 then you would get out all the P25 traffic. 269 00:20:32,300 --> 00:20:36,720 So, just as an example of what that looks like here, 270 00:20:43,340 --> 00:20:45,220 I've talked about this in the past, 271 00:20:45,300 --> 00:20:49,480 but I have this notion of the multi-channel decoder block in GNU Radio. 272 00:20:49,740 --> 00:20:52,960 And the way that works, and I should say that it's not optimal, 273 00:20:53,080 --> 00:20:57,760 because you can use polyphase filtering and all sorts of advanced DSP techniques 274 00:20:57,760 --> 00:21:02,920 to split off multiple channels in an efficient manner and pass them through some decoder. 275 00:21:02,980 --> 00:21:06,360 But in this case, fundamentally, you just give it a list of frequencies, 276 00:21:06,580 --> 00:21:08,340 and you have a template flow graph, 277 00:21:09,060 --> 00:21:11,860 and it instantiates a bunch of those flow graphs, 278 00:21:12,180 --> 00:21:16,360 and links the original capture file into each of them at the frequency. 279 00:21:16,600 --> 00:21:18,120 So, they all just operate in parallel. 280 00:21:18,420 --> 00:21:20,980 So, the way it works is that you make these templates, 281 00:21:21,140 --> 00:21:24,400 and in this flow graph, this is the OP25 channel template, 282 00:21:24,940 --> 00:21:31,560 and you have an input here, which gets linked up to the original file at a particular channel offset, 283 00:21:32,060 --> 00:21:38,000 and then it goes through a bunch of blocks, squelch and what have you, 284 00:21:38,000 --> 00:21:40,920 but the important one is down here in the bottom right, 285 00:21:41,160 --> 00:21:47,480 where it... I can't quite read what's going on there. 286 00:21:47,900 --> 00:21:51,920 I think this is... I'm not showing my screen, so I can't see. 287 00:21:54,120 --> 00:21:59,160 The baseband signal gets pumped through the OP25 decoder, just down the bottom here, 288 00:21:59,920 --> 00:22:05,960 and then it produces the symbol stream for the channel, 289 00:22:06,080 --> 00:22:07,900 and that goes into... 290 00:22:08,000 --> 00:22:09,480 into the audio decoder. 291 00:22:10,320 --> 00:22:15,740 The first port here outputs the decoded audio, which will then get put into a WAV file, 292 00:22:16,280 --> 00:22:19,780 and in addition, it also outputs messages. 293 00:22:20,580 --> 00:22:22,100 Oops, I didn't want to delete that. 294 00:22:23,200 --> 00:22:29,200 It also outputs messages that get output from this instance, 295 00:22:29,320 --> 00:22:34,460 and then aggregated in the controller class, in the parent class, 296 00:22:34,620 --> 00:22:36,160 and that all gets output to a file. 297 00:22:36,160 --> 00:22:41,320 So every single time the decoder sees a new frame in a transmission, 298 00:22:41,600 --> 00:22:45,940 it'll output what that frame is and the time to produce an event list, 299 00:22:46,160 --> 00:22:55,520 and that's the event list that gets pulled in and rendered out in this tool that I was telling you. 300 00:22:55,620 --> 00:23:01,700 So this one is the conventional FM version, so if we were to not look at the OP25 one, 301 00:23:01,760 --> 00:23:03,980 but look at just the narrowband FM one, 302 00:23:03,980 --> 00:23:12,920 then similarly this outputs the FM demodulated audio down the bottom here, 303 00:23:13,080 --> 00:23:15,820 but also you get this message from the power squelch coming out 304 00:23:16,240 --> 00:23:20,160 that the timestamp of when the squelch opened and closed 305 00:23:20,160 --> 00:23:23,380 gets logged into a central file for all of the channels, 306 00:23:23,560 --> 00:23:30,880 and then the script is able to know that actually there was a transmission here, 307 00:23:31,060 --> 00:23:33,740 and then it indicates that with the... 308 00:23:33,980 --> 00:23:35,840 with the box, so you can click on that again, 309 00:23:36,320 --> 00:23:42,260 and then, you know, listen to whatever transmission is going on there. 310 00:23:43,000 --> 00:23:46,640 So it's a good way to review this sort of stuff offline. 311 00:23:49,980 --> 00:23:55,980 And by the way, if anybody's got any questions, then please ask. 312 00:23:59,480 --> 00:24:00,920 So let's talk a little bit about 313 00:24:03,300 --> 00:24:04,180 time synchronization. 314 00:24:04,600 --> 00:24:08,340 This is important where you're trying to capture things 315 00:24:09,380 --> 00:24:12,060 either at the same location, but using different devices, 316 00:24:12,220 --> 00:24:15,660 or capture things at different locations at the same time, 317 00:24:16,400 --> 00:24:18,940 or capture things in a very, very precise manner 318 00:24:19,520 --> 00:24:23,040 where the signal that you're capturing is also synchronized 319 00:24:23,040 --> 00:24:24,980 and you want to be perfectly locked to it. 320 00:24:25,700 --> 00:24:28,960 So usually, you know, when you do your average old capture, 321 00:24:29,060 --> 00:24:30,540 you just say, all right, give me samples now, 322 00:24:30,920 --> 00:24:31,660 and I'm going to store them to a file. 323 00:24:31,760 --> 00:24:36,740 But sometimes you need to make sure that, for example, 324 00:24:36,840 --> 00:24:40,560 the time that you end up setting in your device is accurate 325 00:24:41,140 --> 00:24:46,500 and in the same time domain as, say, GPS or some golden reference time. 326 00:24:46,700 --> 00:24:50,620 So you could have, as an example, on this board, there's a GPS DO. 327 00:24:50,800 --> 00:24:52,640 So you plug in a GPS antenna. 328 00:24:52,900 --> 00:24:56,620 This GPS DO would synchronize to the GPS constellation 329 00:24:56,620 --> 00:24:59,460 and then give you a very accurate time base 330 00:24:59,460 --> 00:25:02,100 for this radio. 331 00:25:02,360 --> 00:25:05,260 You can have other radios where you have a house sync 332 00:25:05,260 --> 00:25:10,860 where 10 megahertz and one PPS is distributed through some location, 333 00:25:11,140 --> 00:25:15,500 and you just plug it in there, and then you get your time information. 334 00:25:16,060 --> 00:25:20,200 So this time information is usually split up into two elements. 335 00:25:20,460 --> 00:25:25,400 One is pulse per second, and the other one is a 10 megahertz reference frequency. 336 00:25:28,400 --> 00:25:29,440 The PPS, 337 00:25:29,460 --> 00:25:34,920 is important because it demarcates exactly when a new second starts. 338 00:25:35,300 --> 00:25:38,740 So commonly with the GPS receiver, you might see a little light blinking. 339 00:25:38,900 --> 00:25:43,100 Who's seen a light blinking on a GPS DO or GPS receiver before? 340 00:25:43,200 --> 00:25:49,540 That light blinking indicates the precise time when a new second has started. 341 00:25:50,240 --> 00:25:53,920 And then the other element is this 10 megahertz sine wave. 342 00:25:53,920 --> 00:25:58,060 10 megahertz is just a commonly used de facto frequency. 343 00:25:58,060 --> 00:26:03,840 And it basically gives you the clock reference 344 00:26:03,840 --> 00:26:08,960 for how quickly time should be advancing. 345 00:26:09,380 --> 00:26:13,200 So commonly the way it works is with a SDR, 346 00:26:13,260 --> 00:26:18,040 you give it both signals and you say on the next PPS edge, 347 00:26:18,380 --> 00:26:23,040 the time is going to be, you know, however many seconds past the epoch. 348 00:26:23,520 --> 00:26:27,680 And then when the software defined radio sees that pulse, 349 00:26:28,060 --> 00:26:31,380 it latches that time and makes it active. 350 00:26:31,660 --> 00:26:34,180 So it just sits there waiting for the pulse. 351 00:26:34,340 --> 00:26:38,660 And then as soon as it comes, it knows this is the precise time at that instant. 352 00:26:39,100 --> 00:26:43,280 But then that only usually happens at the beginning before you start capturing. 353 00:26:43,460 --> 00:26:46,340 So what happens after it sets the time and then gets going? 354 00:26:46,600 --> 00:26:50,340 Well, these SDRs have their own internal oscillator, right? 355 00:26:50,360 --> 00:26:53,080 They have their own internal clock and they're all slightly different. 356 00:26:53,220 --> 00:26:56,960 If you're talking about very, very large bandwidth captures 357 00:26:56,960 --> 00:26:59,000 or high bandwidth signals, 358 00:26:59,880 --> 00:27:04,720 you will very quickly start to see a difference in the timing of the signal that you captured 359 00:27:04,720 --> 00:27:08,680 and what the actual transmitter is using. 360 00:27:08,960 --> 00:27:13,120 And commonly that's why you need to use clock recovery mechanisms in a decoder 361 00:27:13,120 --> 00:27:16,860 because your oscillator in here will not be synchronized to the oscillator at the transmitter. 362 00:27:18,060 --> 00:27:22,780 And so a clock recovery will take into account these slight frequency differences 363 00:27:22,780 --> 00:27:26,920 that are produced by manufacturing differences in the clock. 364 00:27:26,960 --> 00:27:27,160 So this is a crystal. 365 00:27:27,240 --> 00:27:30,780 So when you buy crystals, they actually come with a tolerance to tell you, 366 00:27:30,860 --> 00:27:35,780 oh, it's this frequency plus or minus whatever ppm, parts per million. 367 00:27:35,960 --> 00:27:38,620 And you can then calculate out at a particular frequency 368 00:27:39,180 --> 00:27:43,620 how far off that frequency you might be within the tolerance of the crystal. 369 00:27:43,860 --> 00:27:48,220 However, if you use an external reference like 10 MHz and plug that in 370 00:27:48,220 --> 00:27:49,760 and share that amongst devices, 371 00:27:50,160 --> 00:27:55,180 you can use that 10 MHz to discipline the oscillator on the SDR. 372 00:27:55,180 --> 00:27:58,420 So the way that works on this, for example, 373 00:27:58,420 --> 00:28:02,540 is you feed the 10 MHz in to a special chip, a PLL chip, 374 00:28:02,720 --> 00:28:07,960 and that 10 MHz will then be used to discipline and synchronize 375 00:28:09,980 --> 00:28:12,680 whatever oscillator or hardware clock is running on here. 376 00:28:12,840 --> 00:28:14,540 So it's basically saying, this is the reference, 377 00:28:14,740 --> 00:28:17,200 this is how fast 10 MHz is really going, 378 00:28:17,360 --> 00:28:23,160 you need to sort of tune and discipline your internal oscillator on there and sync with it. 379 00:28:23,420 --> 00:28:25,160 And once you feed it this 10 MHz, 380 00:28:25,180 --> 00:28:30,760 you can then capture at any rate, tune to any frequency, 381 00:28:30,960 --> 00:28:35,180 and that will be precise with respect to this reference. 382 00:28:35,560 --> 00:28:37,500 So then going back, when you get the PPS, 383 00:28:37,600 --> 00:28:39,480 you set the time at that point and latch it, 384 00:28:39,580 --> 00:28:41,400 and then once you've got the 10 MHz, 385 00:28:42,900 --> 00:28:48,760 then from that point on, your radio will be capturing at exactly the rate that you want. 386 00:28:48,860 --> 00:28:52,760 So let's keep it easy and say we want to capture the rate of 10 Mbps. 387 00:28:53,380 --> 00:28:54,260 Every second, 388 00:28:54,260 --> 00:28:58,780 we expect to get 10 million IQ points per second. 389 00:28:59,320 --> 00:29:02,960 Once we have the 10 MHz disciplining that, we'll get exactly that. 390 00:29:03,180 --> 00:29:07,080 And then we don't need to worry about anything else and we'll be perfectly synchronized. 391 00:29:07,400 --> 00:29:12,040 So let's say we have a couple of these at different locations with GPS DOs, 392 00:29:12,140 --> 00:29:14,660 they can all be synced up with a GPS antenna, 393 00:29:14,940 --> 00:29:16,600 they all listen to the satellite constellation, 394 00:29:17,000 --> 00:29:20,260 and if we need them to start recording at precisely the same time, 395 00:29:20,380 --> 00:29:22,080 we tell it to use the GPS DO, 396 00:29:22,080 --> 00:29:24,200 which produces a PPS and 10 MHz, 397 00:29:24,440 --> 00:29:28,000 and then they can all be locked on and running at the same rate. 398 00:29:28,200 --> 00:29:32,740 And this is also important because a lot of systems out there that actually transmit 399 00:29:33,720 --> 00:29:38,380 use GPS as a means to provide an accurate reference. 400 00:29:39,500 --> 00:29:42,340 So who can name some of them? Give me some examples. 401 00:29:44,240 --> 00:29:50,660 FM broadcast, LTE, digital TV, they all use GPS as a reference. 402 00:29:50,660 --> 00:29:55,260 If you look at a cell tower, you can usually see a little sort of a white upward, 403 00:29:55,340 --> 00:29:58,140 it's called a bullet-shaped GPS antenna, 404 00:29:58,420 --> 00:30:03,440 and that basically sits there and provides a very, hopefully, stable and accurate reference. 405 00:30:04,340 --> 00:30:08,220 And I won't go down the rabbit hole, but it's really interesting if you consider 406 00:30:08,820 --> 00:30:15,100 how potentially vulnerable systems are if you're able to somehow spoof or disable GPS. 407 00:30:15,240 --> 00:30:19,780 Because once you do that, in those cases you don't care about position, it's purely used for time. 408 00:30:20,660 --> 00:30:26,280 And they're all, you know, advanced systems are able to detect that and warn against that, 409 00:30:26,340 --> 00:30:30,860 but still it's kind of a problem when you have that as a reference. 410 00:30:30,940 --> 00:30:31,120 Yes? 411 00:30:31,300 --> 00:30:34,120 I'm sorry if I, like, just not understand. 412 00:30:34,320 --> 00:30:36,220 No, no, please ask questions. Don't be afraid. 413 00:30:37,100 --> 00:30:39,260 You're getting the time signal from the GPS receiver. 414 00:30:39,420 --> 00:30:39,680 Yeah. 415 00:30:39,740 --> 00:30:42,140 What is providing the 10 MHz reference for it? 416 00:30:42,820 --> 00:30:45,780 So that's a very good question. What's providing the 10 MHz reference? 417 00:30:46,040 --> 00:30:49,680 So with this GPS DO, actually, there is a 10 MHz 418 00:30:50,660 --> 00:30:55,380 oscillator on the GPS, which is much higher quality than the one, you know, 419 00:30:55,400 --> 00:30:57,460 whatever reference is originally on the board. 420 00:30:58,920 --> 00:31:01,700 The GPS is providing both 10 MHz and PPS. 421 00:31:04,400 --> 00:31:08,440 So, you know, if you're not using GPS, but you're using a house sync, 422 00:31:09,220 --> 00:31:11,680 you know, just as an example, when we were at Arecibo, 423 00:31:11,840 --> 00:31:17,020 we needed to have very accurate time information on when we recorded everything. 424 00:31:17,420 --> 00:31:20,260 So there they had a, I think it was a hydrogen 425 00:31:20,660 --> 00:31:25,680 laser clock that was very accurate and local on site, and it provided PPS 426 00:31:25,680 --> 00:31:29,240 and 10 MHz, but they had that routed through the entire facility. 427 00:31:29,500 --> 00:31:33,500 So you could just go anywhere, plug your 10 MHz and PPS into the wall, 428 00:31:33,620 --> 00:31:35,400 and you would get super accurate time. 429 00:31:35,620 --> 00:31:37,420 And that's what we did with the GPS is there. 430 00:31:37,560 --> 00:31:40,680 And what it meant was when you set the time, and I'll show you that in kitchen 431 00:31:40,680 --> 00:31:46,660 sync in a minute, when the samples come back from the SDR, each sample, 432 00:31:46,740 --> 00:31:49,820 then you can calculate the precise time at which 433 00:31:50,660 --> 00:31:54,540 the, you know, sample entered the antenna port. 434 00:31:54,800 --> 00:31:57,600 If you, I mean, there's a bit of latency there through the hardware, 435 00:31:57,740 --> 00:32:02,380 but ignoring that, you know, very accurately when your samples were recorded. 436 00:32:02,900 --> 00:32:03,340 Question. 437 00:32:07,720 --> 00:32:16,040 Yeah, so the question is, how does the coax affect sample delay and what have you? 438 00:32:16,140 --> 00:32:17,560 It does affect it. 439 00:32:17,600 --> 00:32:19,900 So if you're using multiple channels in a system, 440 00:32:20,660 --> 00:32:22,240 you need to make sure that your coax is all the same length. 441 00:32:23,400 --> 00:32:27,140 You know, it, these signals travel at a finite, 442 00:32:27,660 --> 00:32:31,620 you know, propagation rate through, through that kind of medium. 443 00:32:31,840 --> 00:32:34,880 So if you need that kind of accuracy, you need to measure off. 444 00:32:35,020 --> 00:32:37,380 But also you need to consider, you know, 445 00:32:37,400 --> 00:32:40,360 the bandwidth of your signal and that sort of thing. 446 00:32:40,420 --> 00:32:41,640 Maybe it doesn't matter too much. 447 00:32:41,820 --> 00:32:43,040 It depends upon, you know, 448 00:32:43,080 --> 00:32:46,420 how precise you need to be in the overall characteristics of the system. 449 00:32:47,920 --> 00:32:48,800 Any other questions? 450 00:32:49,000 --> 00:32:50,060 I'm glad that there are 451 00:32:50,660 --> 00:32:51,700 there have been some keep them coming. 452 00:32:51,820 --> 00:32:53,380 If something's not clear, then, you know, 453 00:32:53,400 --> 00:32:57,460 let's keep it interactive and I can I can try and clean it up for you. 454 00:32:57,540 --> 00:33:03,220 So just to demonstrate this a while back, I wrote this script called PPS diff. 455 00:33:03,920 --> 00:33:10,900 And what it does is it it sets the the PPS and sets the reference information 456 00:33:11,460 --> 00:33:17,340 on the SDR and then it checks whether the samples that you're getting are actually 457 00:33:17,340 --> 00:33:18,700 at a rate that you expect. 458 00:33:18,900 --> 00:33:20,420 So let me demonstrate that to you. 459 00:33:33,860 --> 00:33:36,080 So if you look, I'm going to. 460 00:33:37,380 --> 00:33:38,520 Can everybody read that? 461 00:33:38,680 --> 00:33:39,520 Is that is that all right? 462 00:33:39,780 --> 00:33:45,840 So what I'm doing is I'm starting up this PPS diff and I'm telling it to use the GPS DO. 463 00:33:45,980 --> 00:33:50,220 So this only works if you have a reference that it can lock to and a PPS that it can detect. 464 00:33:50,660 --> 00:33:55,360 If it can't detect the PPS, it'll say, you know, there's something wrong with your PPS. 465 00:33:55,440 --> 00:33:57,640 So it's a good way to diagnose if everything's connected properly. 466 00:33:58,160 --> 00:34:04,540 And the way it does that is that basically UHD has an API where you can say get the time. 467 00:34:04,860 --> 00:34:11,760 The last time you saw a PPS edge and it just keeps asking for it. 468 00:34:11,860 --> 00:34:16,520 And if more than a second has elapsed or, you know, configure it more than two seconds or whatever. 469 00:34:16,560 --> 00:34:18,340 I can't remember has elapsed on the host. 470 00:34:18,340 --> 00:34:24,720 If it hasn't seen two different times at the last PPS, then obviously it's not getting PPS. 471 00:34:24,960 --> 00:34:27,020 So you can use that to diagnose what's going on. 472 00:34:27,380 --> 00:34:28,540 So it looks for that. 473 00:34:28,660 --> 00:34:36,900 It checks it asks the SDR the use of whether the PLL that I was telling you about on there has actually locked to the 10 megahertz that you providing it. 474 00:34:36,980 --> 00:34:44,980 Because sometimes if you give it a two week a signal, it won't lock and then you might think it might be capturing and locked to your external reference, but it won't be. 475 00:34:45,080 --> 00:34:46,940 So it's always important to check that it's locked. 476 00:34:47,420 --> 00:34:48,100 And once. 477 00:34:48,340 --> 00:34:53,640 It's got a PPS and it's locked, then it starts printing this this out every second. 478 00:34:54,020 --> 00:34:57,240 And what I want you to look at here is on the very right hand side. 479 00:34:57,340 --> 00:34:58,320 It says ticks diff. 480 00:34:58,520 --> 00:35:00,640 So ticks is another way of thinking about samples. 481 00:35:00,880 --> 00:35:04,220 I think here the default sample rate is is 16 megahertz. 482 00:35:04,620 --> 00:35:16,660 And so what you expect is if you have a precisely tuned 10 Meg reference coming in and the use of synchronized to it every second. 483 00:35:16,660 --> 00:35:23,700 We expect exactly 16 million samples to have come out of the user every second. 484 00:35:23,860 --> 00:35:34,880 So this is happening at, you know, printing printing out every second and it's detecting when the PPS edge comes and then I think it uses that to calculate stuff and then print this out. 485 00:35:35,040 --> 00:35:44,200 But it's basically saying from the time at the last PPS to the next one count the number of samples and then you can check that it's correct. 486 00:35:44,320 --> 00:35:45,340 So watch what happens now. 487 00:35:45,340 --> 00:35:54,740 When I trick it by saying I want to use the red the 10 megahertz reference is now going to be the internal clock. 488 00:35:54,940 --> 00:36:02,260 So don't use the 10 Meg coming out of the GPS but use the PPS coming out of the GPS just to trick it and then we don't care about the lock. 489 00:36:02,400 --> 00:36:14,860 So if I run that then the PPS is still coming out of the GPS right at its at its own, you know, 490 00:36:15,340 --> 00:36:23,280 more correct rate because it's high quality even though we're not synchronized to GPS here the PPS and 10 Mega still running and you can see now that the tics. 491 00:36:23,340 --> 00:36:32,680 If is not quite 16 million, it's a little bit less because the oscillator on the on the SDR is not being disciplined by the same sources. 492 00:36:32,880 --> 00:36:42,060 What's in the GPS that's providing the PPS so you can see how there you can get slightly different capture rate and if you need very very precise, 493 00:36:42,380 --> 00:36:43,960 you know timing in your captures. 494 00:36:45,340 --> 00:36:48,660 That's obviously a problem and then you need to work out why that's happening. 495 00:36:48,780 --> 00:36:52,860 So in practice, if everything's wide up and working correctly, we would see 16 million all the time. 496 00:36:53,640 --> 00:36:58,400 And then this also can be used to dump out some additional timing stats and what have you. 497 00:37:02,040 --> 00:37:06,220 So that's PPS diff handy little tool there. 498 00:37:10,060 --> 00:37:15,320 Now, what about the timing file the timing files important because say if you want to 499 00:37:15,340 --> 00:37:19,780 record something and you need to know when the samples are coming in relative to real time, 500 00:37:20,400 --> 00:37:23,720 kitchen sink and output this timing file and you can go back and say, 501 00:37:23,780 --> 00:37:26,240 oh, you know, it was exactly, 502 00:37:26,760 --> 00:37:30,100 you know, 333 p.m. 503 00:37:30,100 --> 00:37:33,460 and 6 seconds and microseconds and nanoseconds all the way down. 504 00:37:33,540 --> 00:37:38,080 So you can very very precisely identify the point at which you're you're looking at in a capture file. 505 00:37:38,240 --> 00:37:41,640 The obvious way to do that ignoring all this is you just, 506 00:37:41,640 --> 00:37:45,120 you know, note the the time on the wall clock on the computer when you start 507 00:37:45,340 --> 00:37:48,960 recording but there's going to be some latency between what the wall clock on the computer is 508 00:37:48,960 --> 00:37:54,280 and what you know when the samples actually arrive there because you've got the bus latency, 509 00:37:54,400 --> 00:37:59,100 you know network USB what have you and other factors. 510 00:37:59,320 --> 00:38:02,320 So if if you're willing to live with that, that's fine. 511 00:38:02,440 --> 00:38:07,140 But if you need very very accurate timing then you know, 512 00:38:07,160 --> 00:38:10,260 you need to have these these references there as I said, 513 00:38:10,280 --> 00:38:14,120 you can use this to synchronize captures across frequencies across devices across locations. 514 00:38:16,360 --> 00:38:16,920 Now, 515 00:38:17,760 --> 00:38:22,400 once you have actually recorded your IQ and you have it and a timing file, 516 00:38:23,060 --> 00:38:25,640 then in job as I added this block, 517 00:38:26,120 --> 00:38:32,620 which is the the bass file source and it lets you open up an IQ file as you did before, 518 00:38:33,200 --> 00:38:40,980 but it also lets you tell it about timing information as kitchen sink wrote it to that timing file. 519 00:38:41,500 --> 00:38:44,880 And that's important because you can either have, 520 00:38:44,880 --> 00:38:45,240 well, 521 00:38:45,380 --> 00:38:46,800 it will output time tags. 522 00:38:46,980 --> 00:38:48,000 If you're familiar with GNU radio, 523 00:38:48,160 --> 00:38:49,880 you can send metadata along with your samples. 524 00:38:50,220 --> 00:38:54,440 So when the time takes a jump or start streaming, 525 00:38:54,680 --> 00:38:54,940 you know, 526 00:38:54,940 --> 00:39:00,320 if there's an overflow it jumps it'll produce time tags and send them along with your sample stream. 527 00:39:01,840 --> 00:39:03,540 There is already a block that does this. 528 00:39:03,760 --> 00:39:08,100 I think it's the was the meta meta file sync and meta file source and that works really nicely, 529 00:39:08,280 --> 00:39:13,520 but they have a bit of a an odd file format that it saves everything in and this is just nice and simple, 530 00:39:13,620 --> 00:39:13,860 you know, 531 00:39:14,340 --> 00:39:17,100 line delimited common delimited text file. 532 00:39:17,720 --> 00:39:21,480 And the other nice thing is that it can automatically load a whole sequence of files. 533 00:39:21,740 --> 00:39:22,820 So for example, 534 00:39:23,480 --> 00:39:27,100 who's used HD SDR here or yeah, 535 00:39:27,140 --> 00:39:27,600 couple of you. 536 00:39:27,640 --> 00:39:35,460 So HD SDR is a Windows based application makes it very simple to use your SDR and receive signals and look at a waterfall and and demod, 537 00:39:35,460 --> 00:39:35,700 you know, 538 00:39:35,700 --> 00:39:40,140 am-fm single sideband when you hit record there. 539 00:39:41,000 --> 00:39:42,860 It actually splits files. 540 00:39:43,020 --> 00:39:43,480 Every, 541 00:39:44,000 --> 00:39:44,800 you know, 542 00:39:44,840 --> 00:39:45,340 four gigs. 543 00:39:45,900 --> 00:39:48,060 If you recall with fat 32, 544 00:39:48,180 --> 00:39:50,520 you can't store more than four gigs in a file. 545 00:39:51,140 --> 00:39:59,100 So it'll automatically split them and if you end up using that to record data for a very, 546 00:39:59,160 --> 00:39:59,700 very long time, 547 00:39:59,800 --> 00:40:07,020 you'll end up with a lot of files and if you want to process them all as one big batch in good new radio, 548 00:40:07,160 --> 00:40:08,900 then it's going to be pain to have to run your flow graph, 549 00:40:09,060 --> 00:40:09,920 load up the next file, 550 00:40:10,140 --> 00:40:11,440 run it again and so on. 551 00:40:11,500 --> 00:40:12,360 So with this, 552 00:40:12,360 --> 00:40:13,520 this will automatically dead, 553 00:40:13,860 --> 00:40:16,620 connect a sequence and then load them all at the same time. 554 00:40:16,800 --> 00:40:22,280 So you just basically treat all of your split files as one big one and if you need to seek around in there, 555 00:40:22,440 --> 00:40:22,720 you know, 556 00:40:22,740 --> 00:40:28,880 this has a Python API as you can call and it'll load the right file and seek to the right point in that in that file. 557 00:40:29,080 --> 00:40:29,800 I'll show you that in a minute 558 00:40:31,600 --> 00:40:39,220 and it could automatically get the sample rate out of the file depending upon if it's in the timing file or if it's a way file in the header and so on. 559 00:40:40,120 --> 00:40:42,880 So it's it's nice if you've got stuff downstream of that 560 00:40:42,880 --> 00:40:44,100 and I'll show you that as well. 561 00:40:44,380 --> 00:40:48,540 Now regarding the overflows remember I was telling you that an overflow is a discontinuity. 562 00:40:48,700 --> 00:40:53,860 So you have lots of continuous samples your computer can't write to disk fast enough. 563 00:40:53,940 --> 00:40:56,320 It'll drop some samples and then we'll start going again. 564 00:40:56,580 --> 00:40:57,900 So with the timing file, 565 00:40:58,080 --> 00:41:01,300 you know the time at which it started streaming again continuously, 566 00:41:01,580 --> 00:41:05,680 but with this block you can change the pad mode. 567 00:41:06,080 --> 00:41:12,600 So you can turn padding to on and it'll actually produce filler samples. 568 00:41:12,880 --> 00:41:15,900 Zero samples to pad out all those missing blocks. 569 00:41:16,020 --> 00:41:21,800 If you got something downstream that's assuming that your sample stream is continuous without any discontinuity. 570 00:41:21,920 --> 00:41:23,240 This can fill those holes. 571 00:41:25,080 --> 00:41:27,920 So I showed you some of the things that BazFFT can do. 572 00:41:28,100 --> 00:41:29,540 It'll produce a nice waterfall. 573 00:41:29,940 --> 00:41:33,640 It'll annotate it with events that are produced by decoder. 574 00:41:33,780 --> 00:41:36,560 It'll draw lines through the frequencies that you're interested in. 575 00:41:37,580 --> 00:41:41,160 But now I want to show you the interactive playback mode. 576 00:41:42,880 --> 00:41:46,340 And that'll round out the talk I think. 577 00:41:46,700 --> 00:41:54,660 The interactive playback mode is a system where you can load up a bunch of capture files. 578 00:41:55,800 --> 00:41:57,300 It'll load them all automatically. 579 00:41:57,860 --> 00:42:00,120 And then you can interactively review. 580 00:42:02,120 --> 00:42:03,500 Do I have it loaded already? 581 00:42:03,800 --> 00:42:04,600 No I do. 582 00:42:05,660 --> 00:42:09,960 You can interactively review everything in the file. 583 00:42:10,100 --> 00:42:11,020 So I'm just going to start it again. 584 00:42:11,020 --> 00:42:16,240 One thing, there are some more features to this that I won't discuss now. 585 00:42:16,480 --> 00:42:21,400 But BazFFT has another feature. 586 00:42:21,540 --> 00:42:28,960 I showed you where instead of just going to a matplotlib window you can have it dumped to a PDF or to a PNG. 587 00:42:30,040 --> 00:42:34,900 It also has one where it'll compute all the FFT data. 588 00:42:35,260 --> 00:42:40,760 Because when you run it by default it needs to go through, read all the IQ, compute the FFTs, average them, etc. 589 00:42:41,460 --> 00:42:47,060 If you don't want to do that every time because you're dealing with tens or hundreds of gigabytes worth of data. 590 00:42:47,220 --> 00:42:56,320 You can have it compute it and then store the result to a separate file which is like a cache version of all of the FFT data. 591 00:42:56,520 --> 00:43:01,940 And that's usually much smaller and much, much faster to load if you need to reload it later. 592 00:43:02,240 --> 00:43:09,720 So I have this HTSDR file just to illustrate what I'm talking about. 593 00:43:11,560 --> 00:43:18,000 I'm going to copy that so I don't lose it. 594 00:43:20,160 --> 00:43:25,040 And then you'll see here, I have to wait for my drive to spin up maybe. 595 00:43:26,800 --> 00:43:27,860 Hello. There we go. 596 00:43:28,020 --> 00:43:30,160 So there are a lot of capture files here, right? 597 00:43:30,280 --> 00:43:32,020 So these were recorded with HTSDR. 598 00:43:32,320 --> 00:43:37,480 They've been split at whatever the split, I think it might have been two gigs actually. 599 00:43:38,640 --> 00:43:39,900 And there are a lot of files. 600 00:43:39,900 --> 00:43:42,300 So you don't want to have to open all of these up individually. 601 00:43:42,460 --> 00:43:43,560 It will automatically load them. 602 00:43:43,680 --> 00:43:46,520 You don't want to have to recompute the FFT every time you want to view something. 603 00:43:46,820 --> 00:43:53,540 So it will do all that and then store it as this intermediate file. 604 00:43:53,760 --> 00:43:58,680 So if we load that up, it will open that up. 605 00:43:59,640 --> 00:44:02,920 And then you see here, I've also added this XML address. 606 00:44:03,360 --> 00:44:07,280 This is going to use XML RPC to talk to a GNU Radio flow graph. 607 00:44:07,620 --> 00:44:09,220 And then we can interactively... 608 00:44:12,060 --> 00:44:14,060 That's just being read from my hard drive. 609 00:44:14,280 --> 00:44:19,520 If you do this, make sure you use SSD because using mechanical drives is much, much slower. 610 00:44:22,160 --> 00:44:28,680 So as you can see here, that's actually a list of all of the original files that we used to build this composite. 611 00:44:28,920 --> 00:44:32,920 There are a whole list of them that were automatically detected in sequence when I ran it before. 612 00:44:33,220 --> 00:44:34,760 Now it's rendering the plot out. 613 00:44:35,420 --> 00:44:36,100 Here we go. 614 00:44:39,160 --> 00:44:39,620 So... 615 00:44:40,600 --> 00:44:47,240 If you can see there, you've got these horizontal lines that run across the screen at regular intervals. 616 00:44:47,560 --> 00:44:53,980 That demarcates which capture file was used at that particular point. 617 00:44:54,180 --> 00:45:00,900 And if you look over on the left-hand side, you can actually see each of the capture files that were loaded to produce some data. 618 00:45:01,040 --> 00:45:03,680 And then when you ran out of data in that file, it moved on to the next one. 619 00:45:04,900 --> 00:45:07,720 And then, again, we have a lot of signals in here. 620 00:45:08,940 --> 00:45:10,280 So you can... 621 00:45:15,560 --> 00:45:17,680 You can zoom into them and look around. 622 00:45:18,880 --> 00:45:25,080 In this case, I didn't run it through the multi-channel decoder that I was describing before, so it hasn't gone through... 623 00:45:25,080 --> 00:45:30,380 I haven't given it the frequencies to look at and decode and separate, but now we can do that interactively. 624 00:45:31,720 --> 00:45:33,920 And I'm going to run... 625 00:45:34,520 --> 00:45:35,560 Oh, not that one. 626 00:45:41,320 --> 00:45:42,500 I'm going to run this. 627 00:45:42,760 --> 00:45:44,300 So this is the playback. 628 00:45:44,660 --> 00:45:47,380 And what I do is I just give it the first file. 629 00:45:47,720 --> 00:45:51,260 And that's the file that gets given to that grbaz file source block. 630 00:45:51,400 --> 00:45:54,140 And then the file source block will automatically load everything else. 631 00:45:54,380 --> 00:45:59,820 So when I run it, if you watch, you'll see it load the first one and then load each of the other ones in succession. 632 00:46:00,080 --> 00:46:07,400 And this is just done automatically because the metadata in the hdstr file has a warclock timestamp for when it ends. 633 00:46:07,400 --> 00:46:15,600 And so it looks if there's a file in existence that would match the timestamp, you know, that it should continue at. 634 00:46:15,880 --> 00:46:17,200 So let's see what happens. 635 00:46:18,120 --> 00:46:19,600 See, it loaded them all up there. 636 00:46:21,100 --> 00:46:30,000 And now you'll have to pardon the breaking in the audio because it's a very, very high bandwidth file and it's reading off my mechanical drive. 637 00:46:30,160 --> 00:46:30,720 It's slow. 638 00:46:31,980 --> 00:46:35,400 But it's also going to the disk cache. 639 00:46:35,560 --> 00:46:37,380 So when I load it up... 640 00:46:37,400 --> 00:46:39,620 And replay in a minute from memory, it should be faster. 641 00:46:39,780 --> 00:46:43,760 So this is the channel that we're looking at. 642 00:46:44,580 --> 00:46:48,060 But if you look, somewhere there is the frequency offset. 643 00:46:48,260 --> 00:46:50,260 So there's some frequency offset that I've set in the file. 644 00:46:50,540 --> 00:46:58,260 Let me just change the squelch here so that we don't have this annoying sound. 645 00:47:00,080 --> 00:47:01,340 So this is all well and good. 646 00:47:02,560 --> 00:47:04,680 We want to explore the file interactively. 647 00:47:04,760 --> 00:47:06,360 So we can bring this up. 648 00:47:08,140 --> 00:47:11,460 And now these two applications are actually talking to one another. 649 00:47:11,780 --> 00:47:14,100 So if you scroll here, see the white line? 650 00:47:14,560 --> 00:47:20,940 That white line is the time cursor in the file that's actually being played back from the GNU radio application. 651 00:47:21,360 --> 00:47:24,400 So the GNU radio application has loaded up all this stuff. 652 00:47:24,560 --> 00:47:30,720 And this is showing us, you know, the play cursor for the file. 653 00:47:30,900 --> 00:47:35,220 So let's say we want to actually listen to some of these transmissions here. 654 00:47:38,080 --> 00:47:39,700 I can't remember what's in this file. 655 00:47:40,440 --> 00:47:41,660 Let's see if there's anything interesting. 656 00:47:44,700 --> 00:47:45,280 Here we go. 657 00:47:45,660 --> 00:47:50,220 This looks like some audio here. 658 00:47:52,000 --> 00:47:53,200 So I can have this here. 659 00:47:53,420 --> 00:47:56,880 And then let's say I want to listen to this point in the file. 660 00:47:57,060 --> 00:47:58,000 You can just click. 661 00:47:59,360 --> 00:48:07,080 It'll load that file, seek to that position, and then select that frequency in the channelizer 662 00:48:07,400 --> 00:48:10,040 and then play it back, and then... 663 00:48:11,140 --> 00:48:14,120 So again, it's because it's reading off mechanical, but if we start it again... 664 00:48:14,120 --> 00:48:14,440 Yeah, there we go. 665 00:48:23,980 --> 00:48:24,260 So... 666 00:48:29,780 --> 00:48:32,200 And then, you know, maybe that's not interesting, so you click over here, 667 00:48:32,340 --> 00:48:36,420 and then it'll seek to that point, you know, pick the right file, seek to that point, 668 00:48:37,400 --> 00:48:43,380 and then playing and demodulating that file. 669 00:48:44,040 --> 00:48:55,540 So in that respect, it's, I think, a pretty powerful tool to, you know, review individual signals 670 00:48:55,540 --> 00:49:02,540 if you're looking for a needle in a haystack in a large capture file. 671 00:49:02,720 --> 00:49:03,920 And, you know, if nothing's interesting there, 672 00:49:07,820 --> 00:49:12,120 then you would just zoom out in time or frequency, 673 00:49:13,320 --> 00:49:22,600 zoom out in time or frequency, and then have a look at somewhere else in the file, 674 00:49:22,740 --> 00:49:25,380 and then, you know, if you're interested, you just click there. 675 00:49:31,400 --> 00:49:33,020 Who can tell me what that signal is? 676 00:49:42,000 --> 00:49:42,440 . 677 00:49:43,320 --> 00:49:45,320 Yeah, some sort of paging system. 678 00:49:47,540 --> 00:49:50,920 So that's a good way to do it, and then once you find your candidate signal, 679 00:49:51,140 --> 00:49:55,440 then you can isolate that channel, pull it out, and continue your processing on it. 680 00:49:55,540 --> 00:49:59,220 But this is kind of a neat kind of visualization search tool. 681 00:50:01,640 --> 00:50:03,900 So the last thing that I'll show you, 682 00:50:03,900 --> 00:50:11,900 then, is just a little bit of kitchen sink. 683 00:50:13,800 --> 00:50:14,240 . 684 00:50:19,820 --> 00:50:22,800 So as I was saying, it has quite a few command line options. 685 00:50:24,800 --> 00:50:25,240 Whoops. 686 00:50:26,720 --> 00:50:30,180 As you can see there, quite a few options. 687 00:50:32,180 --> 00:50:33,280 Did I already... 688 00:50:33,900 --> 00:50:34,840 Surely there aren't that many. 689 00:50:36,820 --> 00:50:38,440 No, that's actually all of them, yeah. 690 00:50:38,680 --> 00:50:42,020 It looks like it's more, because I'm not used to seeing in such a large font. 691 00:50:45,420 --> 00:50:47,680 So if you just run it with no arguments, 692 00:50:50,180 --> 00:50:56,680 then it'll just start testing the streaming on TX and RX. 693 00:50:57,960 --> 00:51:00,340 And then, you know, you can do things like 694 00:51:02,840 --> 00:51:09,760 Rx channel zero, progress interval one. 695 00:51:10,420 --> 00:51:13,580 And then this will just do Rx only. 696 00:51:17,320 --> 00:51:20,340 And then every second it'll print out the rate that it's going at. 697 00:51:20,720 --> 00:51:25,620 And it's on purpose quite verbose, so it's telling you what it's doing, 698 00:51:25,760 --> 00:51:29,120 what it's setting at every step, so that if you need to, you know, say, 699 00:51:29,120 --> 00:51:32,480 check your logs or copy and paste your console outputs, 700 00:51:32,620 --> 00:51:35,000 you need to have a record or what have you, then it's there. 701 00:51:35,200 --> 00:51:38,960 You know, other enhancements might be adding this to some other metadata 702 00:51:38,960 --> 00:51:41,240 that's output alongside all the timing information. 703 00:51:42,740 --> 00:51:46,600 But again, you know, with all those other command line options, 704 00:51:46,760 --> 00:51:50,020 you can sort of tell it exactly what to do and when and store metadata 705 00:51:50,020 --> 00:51:53,080 so that you have all the information that you need later on 706 00:51:53,080 --> 00:51:58,400 to perform analysis with a really good notion of the time that was used at that point. 707 00:51:59,800 --> 00:52:02,360 So I think I'll wrap up there. 708 00:52:04,000 --> 00:52:04,520 Questions? 709 00:52:23,220 --> 00:52:27,720 So the question is, what kind of maximum sample rate can you expect with USB 3.0 710 00:52:27,720 --> 00:52:29,040 when using hard drives and SSD? 711 00:52:29,340 --> 00:52:31,580 It really depends on a lot of factors. 712 00:52:31,720 --> 00:52:33,060 That's sort of the default answer. 713 00:52:34,500 --> 00:52:39,340 I think with modern SSDs, you can, as long as your system is performant, 714 00:52:39,360 --> 00:52:43,020 you can, I mean, I think I can do 50 mega samples per second. 715 00:52:43,820 --> 00:52:44,800 Usually I go to RAM. 716 00:52:45,200 --> 00:52:48,960 The problem is if you want the best performance, 717 00:52:49,000 --> 00:52:52,400 you need an Intel chipset, Intel USB controller, 718 00:52:52,640 --> 00:52:54,720 and you need to run on the Linux. 719 00:52:55,120 --> 00:52:56,960 And you can play around with the kernel 720 00:52:56,960 --> 00:52:59,420 and if you want to e-cat a little bit more performance. 721 00:52:59,720 --> 00:53:03,120 I love OSX, you know, all this is running on OSX, obviously, 722 00:53:03,260 --> 00:53:05,960 but OSX, as I think we all know, 723 00:53:06,020 --> 00:53:08,860 is designed to give you really slick UI performance 724 00:53:08,860 --> 00:53:11,600 and good response time there, 725 00:53:12,040 --> 00:53:17,540 which means it comes at the sacrifice of scheduling in like a capture program. 726 00:53:17,900 --> 00:53:20,500 So when I, when I, if you want to do it on OSX, 727 00:53:20,540 --> 00:53:22,860 you need to reboot your system, make sure nothing comes up, 728 00:53:22,920 --> 00:53:24,380 and then capture like that. 729 00:53:24,620 --> 00:53:25,560 And I've actually done, 730 00:53:25,560 --> 00:53:29,760 I have spent so much time trying to figure out how to optimize performance on here. 731 00:53:29,920 --> 00:53:32,900 Turns out when you run instruments and you look at the call stack 732 00:53:32,900 --> 00:53:34,260 and what's the heaviest, 733 00:53:34,440 --> 00:53:37,780 it's the Darwin system call that's submitting the USB request. 734 00:53:38,140 --> 00:53:39,840 So everything else is pretty lightweight. 735 00:53:40,700 --> 00:53:46,360 So there's a neat program called RAM Disk Creator, 736 00:53:48,120 --> 00:53:50,540 and you can use that to make a RAM disk. 737 00:53:50,640 --> 00:53:51,660 It'll just pop up as a volume. 738 00:53:51,840 --> 00:53:54,240 What I found, funnily enough, is if you use Disk Utility 739 00:53:54,240 --> 00:53:59,320 and then reformat it as exFAT instead of just HFS plus, 740 00:53:59,400 --> 00:54:01,240 which is the default, you get a little bit of extra. 741 00:54:02,260 --> 00:54:04,040 And then if I have my web browsers running, 742 00:54:04,140 --> 00:54:10,540 I need to use kill and then run a regex to like stop every single thing 743 00:54:10,540 --> 00:54:12,160 to do with any web browser that I've got 744 00:54:12,160 --> 00:54:16,180 because they're just so heavy and cause the scheduler to context switch. 745 00:54:16,640 --> 00:54:17,940 So, you know, all these little things. 746 00:54:18,000 --> 00:54:18,160 Yeah. 747 00:54:26,500 --> 00:54:29,840 The question is, what's the feasibility of doing custom processing 748 00:54:29,840 --> 00:54:31,420 and decoding on the FPGAs? 749 00:54:32,320 --> 00:54:34,300 That's a whole topic unto itself. 750 00:54:34,620 --> 00:54:35,660 There are lots of possibilities. 751 00:54:36,080 --> 00:54:39,040 If you want to talk to Neil or Nate, 752 00:54:39,160 --> 00:54:41,880 they gave a talk yesterday about using RF knock on the FPGAs. 753 00:54:42,000 --> 00:54:43,940 A lot of people have done some amazing custom stuff 754 00:54:43,940 --> 00:54:45,580 and there's all sorts of frameworks to do it in. 755 00:54:45,660 --> 00:54:46,920 So there are a lot of options out there. 756 00:54:48,300 --> 00:54:48,700 . 757 00:54:51,220 --> 00:54:53,360 This is a USRP B200. 758 00:54:55,280 --> 00:54:59,080 But, you know, as I mentioned, if you use SOAPI SDR, 759 00:54:59,200 --> 00:55:02,840 then all this stuff can apply to whatever radio you might have. 760 00:55:04,100 --> 00:55:05,060 Any other questions? 761 00:55:07,040 --> 00:55:07,520 No? 762 00:55:07,580 --> 00:55:07,880 All right. 763 00:55:07,940 --> 00:55:08,480 Yeah, one more. 764 00:55:08,980 --> 00:55:13,820 Is there any online resources you would recommend for digging into this further? 765 00:55:16,660 --> 00:55:19,140 For like timing stuff and all that kind of jazz? 766 00:55:19,580 --> 00:55:20,480 Communities in general. 767 00:55:20,720 --> 00:55:24,220 Oh, one of the good places is gnu-radio.org. 768 00:55:24,240 --> 00:55:25,220 They've got lots of stuff there. 769 00:55:25,960 --> 00:55:30,980 The RTL-SDR blog has a long-running series of all sorts of really cool projects 770 00:55:30,980 --> 00:55:32,180 on all sorts of platforms. 771 00:55:36,220 --> 00:55:39,400 And, yeah, I mean, they're the two other main ones. 772 00:55:39,520 --> 00:55:41,520 Has anybody else come across any other good resources lately? 773 00:55:43,480 --> 00:55:43,940 Yeah? 774 00:55:44,580 --> 00:55:45,040 Please. 775 00:55:48,080 --> 00:55:49,000 Yeah, so... 776 00:55:54,240 --> 00:55:55,280 I think they're two good ones. 777 00:55:55,440 --> 00:55:59,220 Other people might have some other suggestions that they've used recently. 778 00:55:59,920 --> 00:56:03,320 But anyway, thank you for coming and thanks for your attention. 779 00:56:03,500 --> 00:56:09,520 If you've got any other questions, please find me afterward. 780 00:56:10,280 --> 00:56:10,920 Thanks a lot.