(data)
| 3430 | ctx.beginPath(); ctx.moveTo(x, yR); ctx.lineTo(x, baseY); ctx.stroke(); |
| 3431 | ctx.fillStyle = col; ctx.beginPath(); ctx.arc(x, yR, 4, 0, 2 * Math.PI); ctx.fill(); |
| 3432 | ctx.strokeStyle = '#fff'; ctx.lineWidth = 1; ctx.stroke(); |
| 3433 | const nm = sel.vendor || sel.addr || sel.short_addr; |
| 3434 | ctx.fillStyle = '#fff'; ctx.font = 'bold 10px sans-serif'; ctx.textAlign = 'left'; |
| 3435 | ctx.fillText(`${(nm || '').slice(0, 20)} ${sel.proto} ch${sel.channel} ${sel.rssi} dBm`, r24.x0 + 3, yR - 5); |
| 3436 | } |
| 3437 | } |
| 3438 | |
| 3439 | // Draw the BLE advertising-channel markers (37/38/39) and a band-wide |
| 3440 | // "BT hopping activity" strip onto the 2.4 GHz segment of the spectrum. This is |
no test coverage detected