Skip to content

RF Sentinel (RFSentinel): free, open-source police detector app for Android. Spots police body cams, Flock ALPR cameras, AirTag trackers, Remote ID drones, smart glasses and fake cell towers from Bluetooth LE and WiFi. No root.

ESP32 Marauder support over USB (passive beacon and probe sniffers; 2.4 + 5 GHz on ESP32-C5 boards such as Marauder v8 and BFFB v2), Flipper Zero USB-UART bridge

CIS-C0e459c79789ec
diff --git a/README.md b/README.md
index a2f45a4..f855bfe 100644
--- a/README.md
+++ b/README.md
@@ -75,7 +75,7 @@
|---|---|
| **What** | A non-rooted Android app that lists every Bluetooth LE and WiFi device around you with its vendor, type and signal, and flags law-enforcement and surveillance equipment |
| **How** | Receive-only: reads advertisements, beacons and cell info that devices broadcast publicly. Never transmits to, connects to or jams anything |
-| **Runs on** | Android 8.0+ phones, Android Auto, plus optional ESP32 boards (OUI-Spy, GhostESP) |
+| **Runs on** | Android 8.0+ phones, Android Auto, plus optional ESP32 boards (OUI-Spy, GhostESP, Marauder, Flipper Zero + BFFB) |
| **Costs** | Nothing. GPL-3.0, no ads, no account, no subscription, no analytics |
## What it detects
@@ -138,7 +138,7 @@ Every match shows its evidence, its source and a confidence tier: **weak** (< 50
- Night Drive red-only theme; screen stays on while charging
**Hardware**
-- ESP32 boards over USB OTG (OUI-Spy, GhostESP) or Bluetooth (OUI-SPY App-Controlled) add their detections and extend range
+- ESP32 boards over USB OTG (OUI-Spy, GhostESP, Marauder incl. dual-band ESP32-C5 boards, or through a Flipper Zero) or Bluetooth (OUI-SPY App-Controlled) add their detections and extend range
- **USB WiFi adapters in monitor mode** (RTL8811AU / RTL8821AU, e.g. ALFA AWUS036ACS) over OTG, no root: continuous 2.4 GHz channel hopping with no Android scan limit, longer range, and **client devices** (laptops, phones, cameras connected to a network) the phone's WiFi scan can't see
**Interface**
@@ -300,10 +300,22 @@ merges into the list with a blue **ESP32** badge.
| [OUI-Spy](https://github.com/colonelpanichacks/oui-spy-unified-blue) (recommended) | USB | Flock-You, Detector and Sky Spy detections as they happen: Flock cameras, the board's watchlist matches, Remote ID drones with position |
| [OUI-SPY App-Controlled](https://github.com/lukeswitz/oui-spy-unified-blue) | Bluetooth | Flock-BLE, Flock-WiFi, Sky Spy, Detector and (optional) Wardrive survey engines |
| [GhostESP](https://github.com/GhostESP-Revival/GhostESP) | USB | The WiFi networks it scans, about every 10 s |
-
-Native-USB boards (ESP32-S2/S3/C3/C6) and boards with a CP210x or CH340 bridge
-work. RF Sentinel never sends OUI-Spy anything over USB, and only asks GhostESP to
-scan and list networks.
+| [ESP32 Marauder](https://github.com/justcallmekoko/ESP32Marauder) | USB, or through a Flipper Zero | WiFi networks and client devices from its passive beacon and probe sniffers, batched every 2 s; on ESP32-C5 boards (Marauder v8, BFFB v2, LilyGo T-Dongle C5, C5 DevKit) both 2.4 and 5 GHz |
+
+Native-USB boards (ESP32-S2/S3/C3/C5/C6) and boards with a CP210x or CH340 bridge
+work. RF Sentinel only asks OUI-Spy for its version and live table, only asks
+GhostESP to scan and list networks, and only runs Marauder's passive
+`sniffbeacon` / `sniffprobe` sniffers (no attack commands, no settings changes).
+
+**Marauder on ESP32-C5** (Marauder v8, BFFB v2, T-Dongle C5, C5 DevKit) hears 5 GHz
+networks the phone's throttled WiFi scan misses, which helps catch vehicle
+routers on a pass. Keep **Channel Hop** on in Marauder's settings; RF Sentinel
+says so if the board stays on one channel.
+
+**Flipper Zero (e.g. with the BFFB board):** plug the Flipper into the phone and
+open **GPIO → USB-UART Bridge** on the Flipper; RF Sentinel then talks to the
+board's Marauder through it. A BFFB v2 can also be plugged in by its own USB-C
+port.
**OUI-SPY over Bluetooth:** start scanning with the board on, then **Settings →
Pair OUI-SPY board** and pick `OUI-SPY-xxxx`. Pair it only there, not in
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 835d273..b106653 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -18,7 +18,7 @@
<uses-permission android:name="androidx.car.app.MAP_TEMPLATES" />
<!-- Android Auto: draw RF Sentinel's own pannable map (devices, cameras, route). -->
<uses-permission android:name="androidx.car.app.ACCESS_SURFACE" />
- <!-- Optional ESP32 boards (OUI-Spy / GhostESP) on a USB OTG cable. -->
+ <!-- Optional ESP32 boards (OUI-Spy / GhostESP / Marauder, or a Flipper Zero bridging one) on a USB OTG cable. -->
<uses-feature android:name="android.hardware.usb.host" android:required="false" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
diff --git a/app/src/main/java/com/rfsentinel/app/esp/EspBoards.kt b/app/src/main/java/com/rfsentinel/app/esp/EspBoards.kt
index 35a907d..94e1160 100644
--- a/app/src/main/java/com/rfsentinel/app/esp/EspBoards.kt
+++ b/app/src/main/java/com/rfsentinel/app/esp/EspBoards.kt
@@ -11,7 +11,9 @@ import androidx.core.content.ContextCompat
/**
* ESP32 boards on USB (OTG cable), used alongside the phone's own radios while
- * scanning. Supports OUI-Spy (Flock-You, Detector, Sky Spy) and GhostESP.
+ * scanning. Supports OUI-Spy (Flock-You, Detector, Sky Spy), GhostESP and ESP32
+ * Marauder (including ESP32-C5 boards: 2.4 + 5 GHz), directly or through a Flipper
+ * Zero's USB-UART bridge (e.g. the BFFB board).
* Android asks once per board for permission; plugging a board in while
* scanning starts it.
*/
diff --git a/app/src/main/java/com/rfsentinel/app/esp/EspReader.kt b/app/src/main/java/com/rfsentinel/app/esp/EspReader.kt
index 3b770ec..1927d16 100644
--- a/app/src/main/java/com/rfsentinel/app/esp/EspReader.kt
+++ b/app/src/main/java/com/rfsentinel/app/esp/EspReader.kt
@@ -4,7 +4,8 @@ package com.rfsentinel.app.esp
* Reads one ESP32 board until [stop] is called. RF Sentinel only listens and
* asks read-only questions: OUI-Spy may be sent `CMD:VERSION` and, in
* Detector mode, `CMD:DUMP_LIVE` (what it has found so far); GhostESP is only
- * asked for `help`, to scan networks and to list them.
+ * asked for `help`, to scan networks and to list them; ESP32 Marauder only for
+ * `help` and its passive `sniffbeacon` / `sniffprobe` sniffers.
*/
class EspReader(
private val port: SerialPort,
@@ -32,9 +33,24 @@ class EspReader(
port.write("help\r\n")
val banner = readFor(buf, 2_500) { GhostEspReports.recognises(it) }
if (GhostEspReports.recognises(banner)) { pollGhostEsp(buf); return }
+ // 4. ESP32 Marauder answers `help` with its command list (a Flipper Zero in
+ // USB-UART bridge mode passes it through from its ESP32 board).
+ if (MarauderReports.recognises(heard + banner)) { pollMarauder(buf); return }
+ if (MarauderReports.isFlipperCli(heard + banner)) {
+ onStatus("Flipper Zero connected - on the Flipper open GPIO > USB-UART Bridge so RF Sentinel can reach its ESP32 board (Marauder)")
+ // Wait for the bridge, asking `help` now and then (the Flipper's own command
+ // line just lists its commands) until Marauder answers through it.
+ while (!stopped) {
+ port.write("help\r\n")
+ if (MarauderReports.recognises(readFor(buf, 3_000) { MarauderReports.recognises(it) })) {
+ pollMarauder(buf); return
+ }
+ }
+ return
+ }
heard += banner
}
- // 4. OUI-Spy - or a quiet board: Flock-You and Sky Spy say nothing until they find
+ // 5. OUI-Spy - or a quiet board: Flock-You and Sky Spy say nothing until they find
// something, so keep listening rather than giving up on it.
readOuiSpy(heard, buf)
}
@@ -98,6 +114,74 @@ class EspReader(
runCatching { port.write("stopscan\r\n") }
}
+ /**
+ * ESP32 Marauder: alternates its two passive sniffers - `sniffbeacon` (access points,
+ * both bands on an ESP32-C5) and `sniffprobe` (client devices looking for networks) -
+ * and passes on what it hears in batches. Nothing else is sent.
+ */
+ private fun pollMarauder(buf: ByteArray) {
+ val seen = LinkedHashMap<String, EspSighting>()
+ val channels = HashSet<Int>()
+ // Devices heard this round (one beacon + one probe sniff), for the status counts.
+ val apMacs = HashSet<String>(); val clientMacs = HashSet<String>()
+ var fiveGhz = false
+ var hint = ""
+ val pending = StringBuilder()
+ fun status() = onStatus(
+ "Marauder · live · ${apMacs.size} networks, ${clientMacs.size} client devices" +
+ (if (fiveGhz) " · 2.4 + 5 GHz" else "") + hint
+ )
+ fun flush() {
+ if (seen.isEmpty()) return
+ onSightings(seen.values.toList())
+ seen.clear()
+ status()
+ }
+ fun sniff(command: String, ms: Long) {
+ port.write("$command\r\n")
+ val until = System.currentTimeMillis() + ms
+ var lastFlush = System.currentTimeMillis()
+ while (!stopped && System.currentTimeMillis() < until) {
+ val n = port.read(buf, 300)
+ if (n > 0) {
+ pending.append(String(buf, 0, n))
+ while (true) {
+ val nl = pending.indexOf('\n')
+ if (nl < 0) break
+ val s = MarauderReports.parse(pending.substring(0, nl))
+ pending.delete(0, nl + 1)
+ if (s == null) continue
+ if (s.client) clientMacs += s.mac else apMacs += s.mac
+ // Keep the strongest reading per device in each batch.
+ val prev = seen[s.mac]
+ if (prev == null || s.rssi > prev.rssi) seen[s.mac] = s
+ if (s.frequencyMhz >= 5000) fiveGhz = true
+ channels += s.frequencyMhz
+ }
+ if (pending.length > 16_384) pending.setLength(0)
+ }
+ if (System.currentTimeMillis() - lastFlush >= 2_000) { flush(); lastFlush = System.currentTimeMillis() }
+ }
+ flush()
+ port.write("stopscan\r\n")
+ readFor(buf, 500)
+ }
+ status()
+ var rounds = 0
+ while (!stopped) {
+ channels.clear()
+ sniff("sniffbeacon", 20_000)
+ if (stopped) break
+ sniff("sniffprobe", 10_000)
+ rounds++
+ // Marauder only hops channels with its ChanHop setting on; say so rather than change it.
+ hint = if (rounds >= 2 && channels.size == 1) " · stuck on one channel: turn on Channel Hop in Marauder's settings" else ""
+ status()
+ apMacs.clear(); clientMacs.clear()
+ }
+ runCatching { port.write("stopscan\r\n") }
+ }
+
/** Reads for up to [ms], stopping early once [done] is true for what was read. */
private fun readFor(buf: ByteArray, ms: Long, done: (String) -> Boolean = { false }): String {
val sb = StringBuilder()
diff --git a/app/src/main/java/com/rfsentinel/app/esp/EspReports.kt b/app/src/main/java/com/rfsentinel/app/esp/EspReports.kt
index d05f0aa..cd55426 100644
--- a/app/src/main/java/com/rfsentinel/app/esp/EspReports.kt
+++ b/app/src/main/java/com/rfsentinel/app/esp/EspReports.kt
@@ -24,7 +24,9 @@ data class EspSighting(
/** Drone position (OUI-Spy Sky Spy mode). */
val remoteId: RemoteId.Info? = null,
/** Matches the board itself reported. */
- val hits: List<Hit> = emptyList()
+ val hits: List<Hit> = emptyList(),
+ /** A Wi-Fi client device (heard sending probe requests), not an access point. */
+ val client: Boolean = false
)
/**
@@ -152,3 +154,50 @@ object GhostEspReports {
)
}
}
+
+/**
+ * ESP32 Marauder (justcallmekoko/ESP32Marauder) serial output, from its passive sniffers.
+ * `sniffbeacon`: `-55 Ch: 36 aa:bb:cc:dd:ee:ff ESSID: Name`;
+ * `sniffprobe`: `-60 Ch: 6 Client: aa:bb:cc:dd:ee:ff Requesting: Name`.
+ * Dual-band boards (ESP32-C5: Marauder v8, BFFB v2, T-Dongle C5, C5 DevKit) report 5 GHz channels too.
+ */
+object MarauderReports {
+
+ private val ANSI = Regex("""\u001B\[[0-9;]*m""")
+ private val BEACON = Regex("""^\s*(-?\d+)\s+Ch:\s*(\d+)\s+([0-9A-Fa-f]{2}(?::[0-9A-Fa-f]{2}){5})\s+ESSID:\s?(.*)$""")
+ private val PROBE = Regex("""^\s*(-?\d+)\s+Ch:\s*(\d+)\s+Client:\s*([0-9A-Fa-f]{2}(?::[0-9A-Fa-f]{2}){5})\s+Requesting:.*$""")
+
+ /** Marauder's `help` header, or its name in a boot banner. */
+ fun recognises(text: String): Boolean =
+ "============ Commands ============" in text || "sniffbeacon" in text || "Marauder" in text
+
+ /** The Flipper Zero's own command line (not in USB-UART bridge mode). */
+ fun isFlipperCli(text: String): Boolean =
+ "Flipper Zero Command Line" in text || "\n>: " in text || text.startsWith(">: ")
+
+ fun frequencyOf(ch: Int): Int = when {
+ ch == 14 -> 2484
+ ch in 1..13 -> 2407 + ch * 5
+ ch in 32..177 -> 5000 + ch * 5
+ else -> 0
+ }
+
+ fun parse(line: String): EspSighting? {
+ val t = ANSI.replace(line, "").trimEnd('\r', ' ')
+ BEACON.find(t)?.let { m ->
+ val ch = m.groupValues[2].toInt()
+ return EspSighting(
+ mac = m.groupValues[3].uppercase(), rssi = m.groupValues[1].toInt(), ble = false,
+ name = m.groupValues[4].trim().takeIf { it.isNotEmpty() && it.any { c -> c.code >= 0x20 } },
+ frequencyMhz = frequencyOf(ch)
+ )
+ }
+ PROBE.find(t)?.let { m ->
+ return EspSighting(
+ mac = m.groupValues[3].uppercase(), rssi = m.groupValues[1].toInt(), ble = false,
+ frequencyMhz = frequencyOf(m.groupValues[2].toInt()), client = true
+ )
+ }
+ return null
+ }
+}
diff --git a/app/src/main/java/com/rfsentinel/app/esp/SerialPort.kt b/app/src/main/java/com/rfsentinel/app/esp/SerialPort.kt
index d4cbdb8..f19168d 100644
--- a/app/src/main/java/com/rfsentinel/app/esp/SerialPort.kt
+++ b/app/src/main/java/com/rfsentinel/app/esp/SerialPort.kt
@@ -18,7 +18,8 @@ interface SerialPort {
companion object {
fun chipOf(vid: Int, pid: Int): Chip? = when {
- vid == 0x303A -> Chip.NATIVE_USB // Espressif native USB (S2, S3, C3, C6...)
+ vid == 0x303A -> Chip.NATIVE_USB // Espressif native USB (S2, S3, C3, C5, C6...)
+ vid == 0x0483 && pid == 0x5740 -> Chip.NATIVE_USB // Flipper Zero (USB-UART bridge to its ESP32 board)
vid == 0x10C4 && pid == 0xEA60 -> Chip.CP210X // Silicon Labs CP2102 / CP2104
vid == 0x1A86 && pid in setOf(0x7523, 0x5523, 0x55D4) -> Chip.CH34X // WCH CH340 / CH341 / CH9102
else -> null
diff --git a/app/src/main/java/com/rfsentinel/app/service/ScanForegroundService.kt b/app/src/main/java/com/rfsentinel/app/service/ScanForegroundService.kt
index a10bbd4..79af326 100644
--- a/app/src/main/java/com/rfsentinel/app/service/ScanForegroundService.kt
+++ b/app/src/main/java/com/rfsentinel/app/service/ScanForegroundService.kt
@@ -256,7 +256,7 @@ class ScanForegroundService : Service() {
// Re-evaluated on every start command, so Settings changes apply live.
if (Prefs.bleEnabled(this)) { bleEngine.stop(); startBle() } else stopBle()
if (Prefs.wifiEnabled(this)) startWifiPolling() else stopWifiPolling()
- // ESP32 boards on USB (OUI-Spy / GhostESP): their reports join the same pipeline.
+ // ESP32 boards on USB (OUI-Spy / GhostESP / Marauder): their reports join the same pipeline.
com.rfsentinel.app.esp.EspBoards.start(this) { list -> pipeline.post { list.forEach(::processEsp) } }
// A USB WiFi adapter in monitor mode (e.g. AWUS036ACS): access points and client devices.
com.rfsentinel.app.usb.UsbWifi.start(this) { list -> pipeline.post { list.forEach(::processUsbWifi) } }
@@ -506,7 +506,7 @@ class ScanForegroundService : Service() {
timestamp = now
) else Advert(
mac = e.mac, source = Advert.Source.WIFI, rssi = e.rssi, name = e.name,
- wifi = Advert.WifiInfo(e.frequencyMhz, e.capabilities, null, emptyList()), timestamp = now
+ wifi = Advert.WifiInfo(e.frequencyMhz, e.capabilities, null, emptyList(), client = e.client), timestamp = now
)
process(advert, e.remoteId)
}
diff --git a/app/src/main/java/com/rfsentinel/app/settings/SettingsActivity.kt b/app/src/main/java/com/rfsentinel/app/settings/SettingsActivity.kt
index f1744e9..099e0fb 100644
--- a/app/src/main/java/com/rfsentinel/app/settings/SettingsActivity.kt
+++ b/app/src/main/java/com/rfsentinel/app/settings/SettingsActivity.kt
@@ -130,7 +130,7 @@ class SettingsActivity : AppCompatActivity() {
binding.ignoredCamerasButton.visibility = if (n > 0) android.view.View.VISIBLE else android.view.View.GONE
}
- /** ESP32 boards on USB (OUI-Spy / GhostESP) and an OUI-SPY board over Bluetooth. */
+ /** ESP32 boards on USB (OUI-Spy / GhostESP / Marauder) and an OUI-SPY board over Bluetooth. */
/** Speed, voice and a test button for spoken alerts; changes apply right away. */
private fun setupVoiceControls() {
val voice = com.rfsentinel.app.util.Voice
@@ -185,7 +185,7 @@ class SettingsActivity : AppCompatActivity() {
private fun updateEspStatus() {
val s = com.rfsentinel.app.esp.EspBoards.status
- binding.espStatusText.text = "ESP32 on USB (OUI-Spy or GhostESP): " +
+ binding.espStatusText.text = "ESP32 on USB (OUI-Spy, GhostESP or Marauder; also through a Flipper Zero): " +
s.ifBlank { "plug one in with an OTG cable while scanning to add its detections" }
binding.usbWifiText.text = "USB WiFi adapter in monitor mode (RTL8811AU / 8821AU, e.g. ALFA AWUS036ACS): " +
com.rfsentinel.app.usb.UsbWifi.status.ifBlank { "plug one in with an OTG cable while scanning - longer range, and it hears devices connected to networks" }
diff --git a/app/src/main/java/com/rfsentinel/app/ui/SetupActivity.kt b/app/src/main/java/com/rfsentinel/app/ui/SetupActivity.kt
index 481c872..74f7e75 100644
--- a/app/src/main/java/com/rfsentinel/app/ui/SetupActivity.kt
+++ b/app/src/main/java/com/rfsentinel/app/ui/SetupActivity.kt
@@ -255,7 +255,7 @@ class SetupActivity : AppCompatActivity() {
switch("Alert when the serving cell tower changes (frequent while driving; useful when parked)", Prefs.cellChangeAlerts(this)) {
Prefs.setCellChangeAlerts(this, it)
}
- para("Extra hardware works on its own once plugged in while scanning: ESP32 boards (OUI-Spy, GhostESP) " +
+ para("Extra hardware works on its own once plugged in while scanning: ESP32 boards (OUI-Spy, GhostESP, Marauder - also ESP32-C5 boards for 5 GHz, and a Flipper Zero with its ESP32 board) " +
"and USB WiFi adapters such as the ALFA AWUS036ACS. An OUI-SPY board over Bluetooth is paired in Settings.", small = true)
}
diff --git a/app/src/test/java/com/rfsentinel/app/esp/EspReaderTest.kt b/app/src/test/java/com/rfsentinel/app/esp/EspReaderTest.kt
index d1e5855..55b8b0d 100644
--- a/app/src/test/java/com/rfsentinel/app/esp/EspReaderTest.kt
+++ b/app/src/test/java/com/rfsentinel/app/esp/EspReaderTest.kt
@@ -106,4 +106,31 @@ class EspReaderTest {
assertTrue(board.written.containsAll(listOf("help", "scanap", "stopscan", "list -a")))
assertTrue(seen.any { it.name == "Example Net" })
}
+
+ @Test
+ fun marauderIsIdentifiedAndOnlyItsPassiveSniffersAreUsed() {
+ val board = FakeBoard("") { cmd ->
+ when (cmd) {
+ "help" -> "============ Commands ============\nchannel [-s <channel>]\nsniffbeacon\n"
+ "sniffbeacon" -> "Starting Beacon sniff. Stop with stopscan\n" +
+ "-55 Ch: 36 34:53:d2:c4:5d:e6 ESSID: Example Net\n-70 Ch: 1 aa:bb:cc:dd:ee:01 ESSID: Other\n" +
+ "-50 Ch: 36 34:53:d2:c4:5d:e6 ESSID: Example Net\n"
+ else -> null
+ }
+ }
+ val (statuses, seen) = runFor(board, 9_000)
+ assertEquals(listOf("CMD:VERSION", "help", "sniffbeacon"), board.written.toList().take(3))
+ assertTrue(board.written.all { it in setOf("CMD:VERSION", "help", "sniffbeacon", "sniffprobe", "stopscan") })
+ assertEquals(2, seen.map { it.mac }.distinct().size)
+ assertEquals(-50, seen.first { it.mac == "34:53:D2:C4:5D:E6" }.rssi) // strongest kept
+ assertTrue(statuses.last().contains("2.4 + 5 GHz"))
+ }
+
+ @Test
+ fun aFlipperOutsideBridgeModeIsExplained() {
+ val board = FakeBoard("Welcome to Flipper Zero Command Line Interface!\n>: ") { null }
+ val (statuses, seen) = runFor(board, 8_500)
+ assertTrue(seen.isEmpty())
+ assertTrue(statuses.last().contains("USB-UART Bridge"))
+ }
}
diff --git a/app/src/test/java/com/rfsentinel/app/esp/EspReportsTest.kt b/app/src/test/java/com/rfsentinel/app/esp/EspReportsTest.kt
index 8015cc6..e7df628 100644
--- a/app/src/test/java/com/rfsentinel/app/esp/EspReportsTest.kt
+++ b/app/src/test/java/com/rfsentinel/app/esp/EspReportsTest.kt
@@ -72,4 +72,30 @@ class EspReportsTest {
assertEquals(SerialPort.Chip.CH34X, SerialPort.chipOf(0x1A86, 0x7523))
assertNull(SerialPort.chipOf(0x0BDA, 0x0811)) // not an ESP32 serial board
}
+
+ @Test
+ fun marauderBeaconAndProbeLines() {
+ val ap = MarauderReports.parse("-55 Ch: 36 34:53:d2:c4:5d:e6 ESSID: Example Net " + 13.toChar())!!
+ assertEquals("34:53:D2:C4:5D:E6", ap.mac)
+ assertEquals(-55, ap.rssi)
+ assertEquals(5180, ap.frequencyMhz)
+ assertEquals("Example Net", ap.name)
+ assertFalse(ap.client)
+ val hidden = MarauderReports.parse("-80 Ch: 6 aa:bb:cc:dd:ee:ff ESSID: ")!!
+ assertNull(hidden.name)
+ assertEquals(2437, hidden.frequencyMhz)
+ val probe = MarauderReports.parse("-60 Ch: 11 Client: 02:11:22:33:44:55 Requesting: Home")!!
+ assertTrue(probe.client)
+ assertNull(probe.name)
+ assertEquals(2462, probe.frequencyMhz)
+ assertNull(MarauderReports.parse("Beacon sniff"))
+ assertTrue(MarauderReports.recognises("============ Commands ============\nchannel [-s <channel>]"))
+ assertTrue(MarauderReports.isFlipperCli("Welcome to Flipper Zero Command Line Interface!\n>: "))
+ assertFalse(MarauderReports.isFlipperCli("-55 Ch: 1 aa:bb:cc:dd:ee:ff ESSID: x"))
+ }
+
+ @Test
+ fun flipperZeroIsASerialBoard() {
+ assertEquals(SerialPort.Chip.NATIVE_USB, SerialPort.chipOf(0x0483, 0x5740))
+ }
}