start	end	text
4920	6740	All right, it's 1.30.
8580	10760	Thanks for coming to my talk about Mesh-tastic.
10760	12240	We're going to go really low level.
12480	21780	You can see on the screen right now we have chirps being captured on one side, on the right, and chat messages and node infos coming out on the left here.
21780	25760	So I'll explain how I got to this state, how we got this working, or how I got this working.
26420	27860	Let's stop this for a moment.
32340	35360	All right, so just real quickly first, what is Mesh-tastic?
35360	39380	Probably most of you who are here probably know this, so I'm going to go a bit faster these first few slides.
39460	43460	But if you don't know, it's an off-grid, multi-mile, low-power Mesh network.
43560	47140	Low power and it's very resilient to noise.
47160	49900	You can send messages below the noise floor.
50580	52480	It doesn't rely on any infrastructure.
52600	57860	Basically, you would install an app on your phone, relay over to a little device, like such a device.
57860	66140	I have a tiny one here, fits in your pocket or your backpack, and then that sends the message out a couple of miles using this technology called LoRa.
66160	70240	It's able to transmit fairly far at very low power.
70360	78880	And then with this Mesh-tastic app layer on top, that retransmits the message a couple of times, a couple of hops, to get your message pretty far.
80080	82420	It's open source and has a lot of community momentum.
82420	85160	That's what I like about it, and I think a lot of people like about it.
86700	89880	Just to give a taste, this is the Android app.
89880	90440	It's what it looks like.
90440	91540	Just a chat app.
91580	95800	It has a bunch of other features I'm not that interested in, but it can do a lot of stuff.
99600	103460	The next slide will be about what you probably need to know for this to make sense.
103980	109040	Then I'll go deep in this technology LoRa, this technology underlying Mesh-tastic.
110120	112660	How it's modulated, how it's encoded, how to decode it.
112660	117720	And then I'm going to go deep in how Mesh-tastic, the layer on top, is encoded and decoded.
117860	120180	I'm going to be using, I'm going to be demoing a lot.
120420	125520	Different software, GQRX and Spectrum to zoom in really far, GQRX to capture.
125520	128260	GNU Radio to do some more actual decoding.
128660	133980	Wireshark because it's useful to look at individual bytes and see what byte means what in what packet.
134400	136820	And Python to glue it all together.
138340	143420	So Prereqs, this is not like an intro talk to RF and software-defined radio.
144200	146240	I'm not really going to go over the basics of GNU Radio.
146240	148740	You probably need to know a little bit of GNU Radio for it to make sense.
149680	155340	That said, you'll still get the gist of most of it, I'd say, even if you don't.
155820	158700	Packet formats, it should probably not be your first time seeing Wireshark.
158700	160500	That wouldn't make much sense either.
161100	168760	Protobufs, Google's very efficient format for serializing structured data into bytes in a binary format.
169260	171100	So that's pretty much all we need to know about that.
171100	173080	It's a serialization format.
174320	185860	Hardware I'm going to be using, I'm going to be using one of these T1000s, but there are a lot of other Meshtastic devices or LoRa devices that can run Meshtastic firmware.
186380	188600	I like this one because it fits in your pocket.
190880	195940	Eric yesterday was giving a really good talk about that, so you can see the recording for that if you want to see all the different types of devices that exist.
195940	197100	He has all of them, I think.
198660	204600	I'm going to be using the HackRF, Software Defined Radio Receiver or Transceiver.
205200	207900	You could probably use a really cheap RTL-SDR as well.
207900	210440	I didn't get time to try, actually, but I think you could.
210440	213980	What I'm doing here doesn't really require such a fancy SDR, actually.
214180	218740	And then I'm going to be, because I'm going to be transmitting a little bit at the end, I didn't get time to transmit through the HackRF.
218740	221840	It is probably possible, but it would take a lot more effort.
221840	226640	So I'm just transmitting through a really simple Arduino with a LoRa chip built in.
226680	231680	I'll show you that at the end, but you can get these on Amazon for real cheap as well.
233120	234480	So what is LoRa?
234480	238780	So LoRa is a radio modulation and encoding system.
238800	243320	It's a closed source technology by this company called Semtech.
243320	246020	And the primary use is for LoRaWAN.
246340	256980	So LoRaWAN is like a commercial, or rather, I guess you could call it a commercial system, where it's more like a traditional cell system.
256980	260380	You'd have base stations that are connected to the internet then.
260380	267500	So your LoRa devices reach base stations, and then that relays the thing onto the internet.
267660	286300	So IoT device manufacturers, for example, that's I think the primary use case, can use this as an alternative to LTE or other cell technologies to have a low power, like low bandwidth, low power, really cheap way of connecting IoT devices through these base stations out to the internet.
286300	301060	So manufacturers, all they have to do is use some LoRaWAN API on their server side, on the internet side, to receive packets or send packets, and then some SDK to put on their IoT devices to communicate to the internet through LoRa.
301060	303080	So it's just kind of a hop to the internet.
303700	305560	That's what LoRaWAN is.
306000	307680	That's not what Meshtastic does, though.
307680	321100	Meshtastic just uses the physical layer, not LoRaWAN, just LoRa, which is just the physical layer, and they use it to peer-to-peer messages between nodes and relay them on in this mesh fashion.
322760	325520	So real quick recap of common modulations.
325520	334160	Like I said, it's not like a beginner's R, but just to recap, AM modulation, so you might have some, let's say, 900 MHz signal.
334540	343040	You might make it stronger, weaker, stronger, weaker in some wave, a 400 Hz wave, for example, if you're modulating an audible tone.
343040	344640	So that would be amplitude modulation.
344860	350260	You might turn it on and off, on and off, if you're modulating, if you're trying to encode a digital signal in this fashion.
350360	352160	So amplitude shift keying.
352960	360480	You might make the frequency higher, lower, like 400 times per second if you were modulating a tone.
360680	372120	If you were modulating something digital with frequency shifting, you might make the frequency higher for some time, lower for some time, higher for some time, to encode ones and zeros.
372280	373440	So that's a quick recap.
373960	378320	So LoRa uses a really different modulation, which is very clever.
379380	380740	I've seen different names for it.
380740	383020	Chirp Spread Spectrum is one name.
383520	385820	Frequency Shift Chirp Modulation is another name.
385820	388020	I thought that was a pretty well-descriptive name.
388260	401440	So the first way you can think of it is there's some frequencies, like in frequency shift modulation, but they're moving from some frequency and then gradually up, and then down to that frequency and up.
401440	402840	So it's these chirps, like up, up, up.
402840	405400	We'll see it in a different format later.
405800	411220	The illustration here is in what we call a time domain, right?
411220	412960	This is what the wave would look like.
412960	416260	Wave gets shorter and shorter and shorter, higher and higher frequency.
416340	419620	We can also look at it in the FFT plot style.
419620	420600	We'll do that later.
421080	427620	But chirps, so tones rising, rising, rising, and then I'll show you how you can encode data in that.
428280	429380	And why is this good?
429380	435460	Because with frequency shift keying, you're sending on one frequency for a bit and then another on a bit.
435460	437980	But while you're on this one frequency, you might get a lot of noise.
437980	439880	You might get buried in the noise.
440160	444420	The signal would easily drown out in other types of modulation.
444420	448000	This type of modulation is very resilient to drowning out.
448140	455860	It can work below the noise floor, which is still hard for me to comprehend, but I'll tell you later of a video where the guy explains it really well.
456400	457520	I'll leave it at that.
458580	460480	All right, so let's do some demoing.
460480	461600	Let's capture a chirp.
464880	466560	So I'm using the HackRF.
468900	478580	I'm going to use the software called GQRX, which is a software-defined radio, kind of just like an explorer, a viewer, and recorder.
478580	479340	And that's what I'm going to be doing.
479340	480340	I'm going to be recording.
480580	485000	So what we already see here is 917 megahertz, a bunch of stuff going on.
485000	493080	Now, that's the DEF CON configuration that most people here are probably running, like LORAC or Meshtastic configuration.
493160	494140	It's called...
494140	497000	there's some different modem settings you can have in Meshtastic.
497000	498940	You can have different frequencies and so on.
499520	509260	Meshtastic has some presets, and the preset that the DEF CON Meshtastic configuration recommends is running around 917 megahertz.
509260	511840	So that's why we're seeing a bunch of stuff going on up there.
512240	514380	The preset is called short turbo.
514380	517260	Because it's turbo, it's really hard to view.
517260	525280	So I'm going to transmit on the medium slow preset, which is what we use in the Bay Area mostly.
526900	528580	It's just popular there.
528760	532080	So that... well, you know, different presets are more resilient to different things.
532080	538100	Some have longer range, but take more time so you don't have as high bandwidth.
538160	547160	I guess the DEF CON, the folks who came up with the configuration for DEF CON decided we need the short ones because it doesn't take up much time on air, so there's so many messages going around.
547160	550960	We want there to be enough room for all messages to not step on each other.
553140	555980	All right, so I'm on my phone getting up now in the Meshtastic app.
555980	558440	I'm just going to send one message here.
558460	560120	Okay, we saw my message here.
560120	564600	I'm sending on medium slow, so that's a different frequency, like around 915 megahertz.
564600	566580	And it got retransmitted because nobody acted.
566580	568040	Let me move them a little bit away.
568320	570540	These are the transmitters.
570540	573480	I'll just move them away from the antenna so it doesn't blast so loud.
575660	577600	And this time I'm going to record.
580180	583360	So I'm going to try to time it because the recordings are really big.
583360	588760	It's like we're looking at 8 megahertz of bandwidth here, and it's like 100 megabytes a second or something.
588760	594000	So I'm just going to record for just a second when I press send.
596320	597740	Okay, I got it.
598100	601660	So I'm stopping the program.
601660	602540	I got this down here.
602540	603260	I pressed record.
603260	604280	I got this file.
604420	607140	We're going to look at that now in a tool called InSpectrum.
607140	608620	I'm going to launch that.
613620	617380	So the reason I like this tool is you can zoom in really well.
627160	628280	Here we go.
628300	630880	So I had offset.
630960	634120	I didn't center it around the tuned frequency.
634120	637580	There's some limitations of the HackerRF, so I offset it by 1 megahertz.
637580	641560	That's why we're seeing it centered around 1 megahertz here.
641840	648500	And if you notice, this is, when I saw this, oh, now I understand why the Mishtastic logo is these kind of waves up and down.
648700	651500	That's what the modulation looks like when you visualize it.
655470	658550	So let's see what next I want to show here.
659110	664550	Yeah, I think what I'll show now is this tool, InSpectrum, you can choose, you can enable a grid.
664750	665810	Let's do that.
666190	675570	Just to kind of help you analyze what's going on, let's set it at, I just want a grid with four lines, and I'll try to align that.
675570	677450	Okay, that's pretty well aligned almost.
677790	678170	There we go.
678170	679930	Align that at these up chirps.
680770	683450	So each up chirp, each chirp here is a symbol.
684030	687010	And let's move a little around.
687170	689750	At the beginning, there's some, I'll come back to actually how the structure is.
689750	691650	There's some up chirps, there's some down chirps.
691650	696470	But now we got, like, from the up chirps in the beginning, we could see the width of each symbol.
696890	699890	So now I have my grid, like, set up right for that width.
700750	703650	And then there's two and a quarter down chirps.
703650	705090	I'll tell more about that later.
705190	706830	And then there's a bunch of up chirps.
706830	709250	Let's actually, let's go here.
709250	710450	It's more interesting.
710530	711210	Yeah, okay.
711210	718630	So the intuition here is when you've aligned this right, you can see where these up chirps start and then wrap around.
719030	719910	This is a good one.
719910	725530	It starts kind of in the middle, goes to the top, and then wraps around, goes up there, goes up to where it started.
726850	731230	So this starting position, the intuition here is the starting position is the symbol.
731290	734230	So we're trying to send numbers here, right, at the end of the day.
734430	742170	So maybe the number we were sending, if bottom is, let's say, 100, top is, sorry, bottom is zero, top is 100, then maybe this is the number 80.
742270	743950	This is maybe, I don't know, 79.
743970	746190	And this might be the number 40 or 30.
746190	749690	And this might be number 20, and so forth.
749690	754330	So that's how the encoding works intuitively, like at a high level.
758180	763800	All right, so we had these, we saw many just up chirps in the beginning.
763800	774140	Those are the preamble, and those are used by the radios to synchronize, to figure out what's this beginning, like how, not so much how wide they are, that's pre-configured, but more where does each one start.
774140	779660	And then after that, it knows kind of how to align its grid like I was doing manually.
779920	791200	There's a sync word, there's like a specific thing, a specific symbol that's encoded at the beginning of the transmission for radios to know was this part of the application they're using.
791200	800020	So like Meshtastic uses symbol, like one byte symbol, 2B, to indicate that this transmission was a Meshtastic transmission.
800160	807140	Then there are these two and a quarter down chirps to show that the preamble has ended and now the actual payload is coming.
807260	811980	So everything after that are symbols that are the actual Meshtastic data.
813260	815240	So let me go back here and look.
815940	826500	So we saw all these up chirps, the preamble, and actually the last two of them are a little bit off, it's hard to see, but this is supposed to encode the symbol 2B, I believe.
826500	840740	Though there is some open issue right now with some of these chips, some of the firmers are doing something slightly wrong about the sync word, so it could also be that they're all just zeros here, but it's like 000 and then supposed to be 2B in these last couple of chirps,
840740	847820	and then two and a quarter down chirps, and then from here, after the quarter down chirp, our actual payload begins.
851120	853400	All right, so let's see, how are we on time?
853780	873280	Okay, so a useful property of chirps is that you can get them to almost be like frequency shift keying, if you have your up chirp and you multiply it, like complex multiply it by a down chirp, you kind of translate the up chirp down, that flattens it,
873280	878480	so it becomes like, if you have this symbol, an up chirp, this down chirp, you get a flat line.
878640	892520	So if you have this discontinued, like this broken one, up chirp here, then you know the first bit will get pulled down to here, and the second bit would get pulled up to here, so you would get a straight line, like frequency shift keying.
892520	912480	So that makes it easy, in the end you just, like in your radio receiver, in your decoder, you just multiply all of these, all the up chirps, or the received chirps, with the opposite chirp, and that gives you just like a single frequency, so you can just do a Fourier transform on that to figure out where,
912480	916780	like which was the dominant frequency in this time span, in this chirp.
916780	933720	Here's a little animation then showing how we could be sweeping over different symbols we're sending, and then when you combine that with a down chirp, we would get this, we've de-chirped it and turned it into just a straight line, and it's basically then normal frequency shift keying encoding from there,
933720	935900	somewhat, there's more to it.
937680	954040	Oh, and a clever thing about the preamble, I thought this was really interesting at least, like how does the radio synchronize, how does it know, like, are we at the right place now, like have we positioned ourselves at the beginning of the chirp, or are we kind of offset?
954200	955420	So how does it do that?
955420	964920	Well, turns out, you can just put the grid anywhere, the radio can just assume some random synchronization, let's say it assumed here, right in the middle, right?
965040	979020	So it would still be getting the same symbol, if this is 0, this is 100, then it would be getting 50, 50, 50, 50, so the radio just sees, when I got the same symbol many times in a row, 50, 50, 50, 50, then I know I'm in a preamble, and the symbol was 50,
979020	981640	then I know I need to move it this much back.
982900	984500	That's how it synchronizes, right?
984500	997440	So it's actually, I can imagine how they've implemented the syncing in that fashion, by looking for repeated symbols, getting that symbol that was repeated, and then translating the synchronization window back to the right position.
1000200	1014060	This talk is really good, it goes really deep, and he does experiments in MATLAB showing why and how LoRa works below the noise floor, and highly recommended for the demodulation part, he goes really deep.
1014120	1015980	Visual Electric, it's on YouTube.
1017200	1024900	You can, oh, I should mention my slides here are on my GitHub, so you can go and click the links from there.
1025840	1029420	Okay, encoding, so I think I've got to move a bit faster now.
1029420	1033680	So we've talked about modulation so far, right?
1033680	1036600	We're getting from radio signals into some kind of numbers.
1036600	1038320	So what happens with these numbers?
1038320	1041080	Well, let's talk first about what would happen when we're sending, right?
1041080	1045420	So first, it adds a cyclic redundancy check, it adds some error detection, right?
1045420	1051340	A hash, just a couple of bytes at the end, just to see, like, did the end result turn out right?
1051440	1071660	It does what's called whitening, so that's, like, it just combines with a known sequence of not random, but pseudo random numbers, so every radio would get the same sequence, but the sequence, like, doesn't have any repeated long run of zeros, so that ensures that there will be nothing like the preamble anywhere in the payload,
1071660	1075400	because then we wouldn't be able to, you know, then the preamble isn't that unique, right?
1075400	1080080	So the payload could never contain this repeated sequence of zeros.
1080300	1091980	Then it does some forward error correction, it adds some extra bits that it could use to fix if there are errors, like, it can, yeah, do error correction, I'll leave it at that.
1091980	1108520	It does interleaving, so it spreads bits from your individual bytes over different symbols, because then that way, if one symbol was slightly misread, then maybe we haven't lost a whole chunk of bytes at least, so that way we can better recover later.
1108920	1115180	So, like, maybe the forward error correction will help us recover if just, like, one of the symbols were a bit off.
1115180	1117840	And then gray coding, so that reduces the impact of errors.
1117840	1127560	Gray coding is kind of like binary encoding, but numbers that are close to each other have fewer, have not very many bytes apart, sorry, bits apart.
1127660	1130600	This is because, like, you might misread the signal slightly.
1130600	1136000	If it was with binary, there'd be a big difference between the number 63 and 64.
1136000	1137340	Like, there's a lot of bits that are different, right?
1137340	1141240	So if you misread it slightly, you'd be completely off, like, your bits would be completely off.
1141240	1146600	With gray coding, you might still be able to recover with the other techniques with the forward error correction it's on.
1146840	1149420	All right, so let's move to GNU Radio to see this.
1151880	1166920	So I'll do a real quick walkthrough of my GNU Radio flow graph here, receiving the signal from my hackerf, moving the signal down to baseband, down to zero, filter it, because the following blocks expect it to be around zero.
1167880	1181860	And then frame synchronization, so that's what I was talking about, like, looking for the repeated sequence and then moving, and then it's like, what comes out of this flow graph is, like, only when it's found, when we're past the preamble and the down chirps,
1181860	1185360	then it starts flowing out this flow graph.
1185540	1195120	And this and all these blocks were a guy called Joachim Taperl, he made the open source, these blocks that are pretty decent.
1195120	1200900	I tried myself, it was a lot of work, so I ended up using his blocks for the decoding and demodulation.
1202920	1216660	So demodulation, gray mapping, interleaving, all those I just talked about, so the signal flows through all these blocks, de-whitening, that was the de-scrambling to avoid the long run of zeros, checks the CRC, then does some parsing.
1216660	1224840	This is some code I made, just some pretty basic Python code I'll show you in a minute that does the mishtastic decoding.
1224840	1225860	So it gets bytes.
1225860	1226940	At this point, we're at bytes.
1226940	1228080	Actually, we're at messages.
1229360	1234500	So chunks of bytes come into the Python code, and then we can decode that.
1234500	1235500	I'll show you that in a minute.
1235500	1240320	Um, yeah, I'll just, let me just run this real quick.
1242560	1246280	Oh, the device is busy because I still have GQRX open.
1246280	1247380	Let's close that.
1251170	1253810	So that was what I was showing in the beginning before I started.
1253810	1255850	I'll just open the console window I launched this from.
1255850	1257890	So right now I've set it, let me stop it again.
1258270	1260950	I've set it to print out the symbols, that's what we see up here.
1260950	1270270	The demodulation got the symbols, in this case, the mishtastic configuration for Defcon uses a spread factor of seven.
1270370	1279230	So that means, like, that's, like, how many numbers could there possibly be between the bottom and the top of the chirp, right?
1279230	1281310	So two to the power of seven in this case.
1281310	1289050	So that's, oh, that should have been, instead of two to the power of seven, not two to the power of seven, it's just that two to the power of seven is 128.
1289050	1291790	So we'll get symbols between zero and 128.
1291790	1295250	So that block that's printing out the symbols gives us that.
1295250	1297510	It gives us numbers between zero and 128.
1298290	1299470	127, rather.
1299470	1300670	Zero and 127.
1301170	1301950	All right.
1301970	1306490	So that's some basic walkthrough of the GNU Radio flow graph.
1306570	1320030	And then I'd highly recommend this talk by a fellow called Matt Knight, who's here in the audience I know, who I think was the first person to reverse engineer the LoRa decoding, all of the gray coding and the scrambling stuff I was talking about earlier.
1320030	1322210	That stuff, you can't really read it anywhere.
1322210	1323810	You have to do a lot of experimentation.
1324010	1332030	And this talk walks through very well how they arrived, and I think they were the first to reverse engineer, how they arrived at the perimeters that are actually used here.
1332030	1333710	So highly recommend that talk.
1335130	1337630	So there are different modem settings, like I mentioned.
1338290	1340490	So this is like in the Mystastic source code.
1340490	1349050	You can go there and you can look up modem setting different presets for what modem settings you want your LoRa radio configured at.
1349690	1350770	This is one example.
1350770	1354330	Like I said, this is popular in the Bay Area Mystastic network.
1356150	1361170	So we've talked all about demodulation, all about LoRa, and we have some bytes now.
1361170	1363910	Now we're at the application layer, Mystastic.
1363910	1375330	So the bytes of a Mystastic packet consist of first a 16-byte header, where it is like a destination, sender.
1375330	1377190	There's like, channel does this belong to?
1377190	1378770	That's kind of a funky way to do that.
1378770	1379990	I won't go deeper there.
1379990	1381950	And then there's a payload, which is encrypted.
1382970	1391210	And yeah, you can click here to see the protobuf definition for this top-level encrypted chunk of payload.
1391490	1394990	But I think it's more interesting to let's look in Wireshark.
1394990	1396550	So I'll start this again.
1397670	1403430	And what I've done is I've rewritten, I've written a small, oops, let's close this.
1405550	1407090	Open Wireshark.
1407630	1415570	My new radio flow graph ended up, oh I should say that, it ended up with just dumping the bytes out on UDP.
1415650	1425990	So then I've written a small, I've set up here Wireshark to listen on UDP, and written a small Lua disector.
1425990	1433050	In Wireshark it's really easy to make your own extensions for how to decode a packet, how to dissect a packet.
1433230	1435610	So I've made one for Meshtastic.
1435990	1436970	So we can click on it.
1437350	1440730	Here's an interesting, here's a text message that was the most interesting, I think.
1441770	1443550	We can look at here.
1443710	1445710	This is what Wireshark really shines at.
1445930	1452730	You can click on different bytes of your package and it'll tell you, it'll highlight what was that.
1453730	1455550	You can click the other way as well in the tree here.
1455550	1456750	This is the destination.
1456750	1462030	There's the sender, there's a packet ID, there's some flags about how many hops can we take.
1462350	1467310	We don't want it to circle around forever so it decreases the hops every time it relays a packet on.
1469370	1470710	Channel hash and so on.
1470810	1476130	These first are the 16 bytes of header that are plain text.
1476130	1478530	And then comes the payload which is encrypted.
1478730	1484550	I've done the decryption over in my Python code that was in the new radio flow graph because that was too difficult to do in Lua.
1484550	1489090	So it's already decrypted by the time it reaches my setup here, my Wireshark setup.
1489570	1494410	So payload says that the message type, what they call a port number, is a text message.
1494470	1498470	Actual payload is a text message, someone sent Weep.
1499550	1512730	Node info, most of the things that go there aren't just node info, like nodes transmitting their name, short name, long name, which hardware model it is, the public key if you want to send them an encrypted direct message.
1514030	1518770	So yeah, that's the basics of the packet.
1518770	1522310	Okay, so we're getting close to time so I'm going to go a bit quick now.
1522530	1526450	The last bit, I'll skip past this.
1526450	1530450	Encryption, yeah, it's a normal AES-256 encryption, the keys are pre-shared.
1531430	1533610	Transmission you might be interested in.
1533790	1541910	So could be done by an SDR, much easier just to do with an Arduino that already has a LoRa radio built in, so that's what I did.
1542150	1549810	Like I showed you before how the bytes are not that complicated and the keys are already pre-shared, so why not?
1549950	1553490	Why not transmit like not using their firmware, just writing your own.
1553490	1554810	So that's what I did here.
1556490	1559570	Actually, real quick, just show the code.
1560150	1562410	Here's my little sender.
1563750	1573190	Set a few constants here, like what I want my address to be, what the destination should be, broadcast in this case, channel name, scroll down a bit.
1573190	1575550	Here's the real interesting part, build a packet.
1575550	1591930	So it's first using protobuf here to build a packet, get some bytes, data plane, packet ID is random in this case, encrypt the packet, get a packet, like append this header which consisted of these bytes here.
1591930	1603010	There's like the three 32-bit integers, destination, sender, packet ID, followed by four one-byte fields, the flags, the channel number, and a few other fields.
1603010	1604150	Then you get your packet.
1605070	1612770	I wrote a little Arduino program that just receives these simple commands where you just write your data in hex and then it sends it out.
1612790	1622150	So if any of you have your MISTASIC device open right now, I'm going to send a message, I'm going to send a few sweet potatoes.
1622150	1634730	I'm writing sweet potatoes because that's kind of sweet, it's kind of nasty what I'm doing here because I'm skipping the whole protocol of MISTASIC, I'm not adhering to what you should normally be doing as a sender on this.
1634730	1641070	You should normally have carrier sense, multiple access, collision avoidance, like you shouldn't be transmitting on top of somebody else.
1641070	1648510	We're not doing any of that right here, we're just bypassing all of that, not following the protocol of, you know, relaying on messages that were supposed to be relayed on.
1648510	1650130	Did any of you get the message?
1653250	1653790	Not?
1653790	1655010	Oh, okay, let me see.
1655190	1656490	Did I comment that out?
1656510	1657790	Oh, I put it on the wrong channel.
1657790	1658770	Let's set it on the
1663210	1666490	DefConnet channel.
1670020	1670680	You got it?
1670680	1671440	Okay, great.
1676880	1678440	Almost done, yeah, almost done.
1682280	1683780	So you could do things like this.
1683780	1686440	I haven't done this before because it's kind of nasty to do.
1686440	1686940	You see what I'm doing?
1686940	1689780	I put a loop around the send, a little sleep.
1690520	1692340	This is nothing really preventing us from doing that.
1692340	1693700	This is our airwaves.
1693700	1696500	This is unlicensed spectrum.
1696820	1698960	So are you getting a bunch of messages?
1701300	1702240	This one so far?
1702240	1704600	Okay, maybe the receiver app filters out of it.
1704600	1706460	I hadn't tried this kind of spamming before.
1707000	1707820	I'll stop it again.
1707820	1708740	You get the idea.
1710320	1711000	Yeah.
1711860	1712680	That's it.
1712880	1716400	We're past time, so there has to be one question, I think, at most.
1717120	1717920	Thank you.
