frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Stress-Testing 100 Bluetooth Beacons (So the Team Can Sleep Well at Night)

https://dunkels.com/adam/stress-testing-next-generation-beacons/
28•adunk•4mo ago

Comments

mannyv•4mo ago
Pretty basic fluff piece. More detail would have been nice. This is a blog post that's like "look, we test but have no idea what we're doing."

Questions:

1. What happened to throughput when lots of devices were present? There's only so much airtime, and generally speaking wireless performance craps out when there are lots of devices.

2. Since they're using a normal phone as their base station, how do different phones perform in their environment? Using normal phones mean they can't tune the bluetooth stack behavior.

3. Using the same sets of chipsets for testing is great, but you should use many different chipsets because that's what you see in reality. Also putting them in one place is unrealistic.

4. Do they have a/b firmware with auto fail back on failure? How about signed firmware?

5. How are they going to manage their devices in production? Hospital IT is a combination of lax security for users but strict security for vendors. Will you be able to poke a hole? And the idea of using any phone, while appealing, will probably need to be heavily vetted.

6. Since the devices are two-way, how are you securing the devices against fuzzing etc? BT stacks can have all kids of issues. That's not including the stuff you guys write. Since it's BT, how are you doing client auth? And is data encrypted between the device and base station (ie: the phone with the app)? Where does that key come from?

Blah blah blah. What about provisioning? Remote management?

And 100 devices is probably not be enough. I see at least 20 devices around me right now on BLE, and I'm just at home. In a mall there are probably hundreds at any given spot. In your target environment, who knows?

thinkcontext•4mo ago
> 3. Using the same sets of chipsets for testing is great, but you should use many different chipsets because that's what you see in reality.

Agreed, this issue really jumped out at me as well.

jononor•4mo ago
I would have loved more nitty gritty details also. But to conclude that they "have no idea what they are doing" seems to be an uncharitable take... The described system seems like a useful test bed, and I did not see anything that claimed this covers all the tests such a system should have.
dazhbog•4mo ago
Is this THE Adam Dunkels? Nice to see him on the front page! He made protothreads, uIP/lwIP, contiki.. wizard material basically
stefan_•4mo ago
Indeed the Adam Dunkels, poor guy, trying to have IoT take off for 25 years and they just keep making the hardware bigger obsoleting his previous genius.
seanalltogether•4mo ago
One thing about bluetooth and phones that I really wish that apple/google/bluetooth group could resolve is a way for a device to advertise that it needs attention and then bubble that up to the nearest phone that is registered for that Service UUID.

The blog illustrates the feature of scanning bluetooth devices around you and pushing data to the cloud when needed, but right now that background scan is really not optimal for both ios and android. Android requires a manual scan process every 15 minutes or so based on background task intervals, and iOS only alerts you to ble scans when you turn on the screen of your phone. Android will cause you to burn battery constantly checking on devices, but iOS will cause you to miss them entirely unless you unlock your phone alot.

Right now we have a simple use case of updating the clocks on our devices that would be a whole lot easier if the devices could simply advertise they need attention after XX hours, and that ran a background service for our app to do it when needed, and avoid the whole periodic scanning.

HeyLaughingBoy•4mo ago
I haven't touched BLE in a while, so maybe I don't understand exactly what you're looking for. But I think it can be done by having the devices change their advertising data to indicate that they need service. The background service could listen (passively, no scan needed) to advertising data and only after it sees that a device needs to be updated, connect to it and do the update.

Putting "live" data into the advertising packet used to be a way for BLE fitness devices to be active in a Group Fitness environment where scanning and connecting to 30+ devices is not feasible. I think that BLE 5 has a better way of doing that now.

jononor•4mo ago
Yep, the advertising packets can be used for things like this. And frequently are in IoT settings. Typically by using the AD type Manufacturer Specific (0xFF). BLE 5.x makes it possible to have many more bytes of advertisement data, including longer packets and chains of packets. Otherwise the mechanisms stayed the same as in 4.x. Which is good, as BLE 4.x only hardware/software is still around...
joezydeco•4mo ago
Question for author: I've used those 16-port USB hubs in some projects and it's really a nice thing to be able to address a device on a particular position in that hub.

But in a typical Linux situation you're at the mercy of the host controller in your PC which can be one of a hundred mystery parts, so the ports enumerate with different IDs between machines. We've had to decipher port numbers by hand every time we deploy on a different system.

Do you know of any abstraction library that can simplify that at all?

jononor•4mo ago
There is topological naming available about USB ports from the Linux kernel. So one can find what device was connected to which hubs, and which root hub that hub was on, etc. See lsusb -t, and the device paths exposed in udev. Old blogpost of mine about it: https://www.jonnor.com/tag/usb/
jwr•4mo ago
Incidentally, these powered USB hubs are pure gold if you do any embedded development.

Plenty of USB-A ports (of which MacBook Pro owners get exactly zero, because courage, and Tim Cook doesn't have any USB-A devices) — absolute requirement for any embedded development. Powered, so you can run plenty of stuff without additional power supplies. And individual button for switching ports ON/OFF, which is a godsend when you need to reset a device or test a reconnection.

smackeyacky•4mo ago
Only 100? Amateurs.
pajamasam•4mo ago
Quite strange reading about beacons for "proximity marketing" right after the Why Self-host? article that emphasises privacy.

I turned myself into an AI-generated deathbot – here's what I found

https://www.bbc.com/news/articles/c93wjywz5p5o
1•cmsefton•1m ago•0 comments

Management style doesn't predict survival

https://orchidfiles.com/management-style-doesnt-predict-survival/
1•theorchid•2m ago•0 comments

One Generation Runs the Country. The Next Cashed in on Crypto

https://www.wsj.com/finance/currencies/trump-sons-crypto-billions-1e7f1414
1•impish9208•3m ago•1 comments

"I Was Wrong": Why the Civil War Is Running Late [video][2h21m]

https://www.youtube.com/watch?v=RDmkKZ7vAkI
1•Bender•5m ago•0 comments

Show HN: A sandboxed execution environment for AI agents via WASM

https://github.com/Parassharmaa/agent-sandbox
1•paraaz•7m ago•0 comments

Wine-Staging 11.2 Brings More Patches to Help Adobe Photoshop on Linux

https://www.phoronix.com/news/Wine-Staging-11.2
2•doener•7m ago•0 comments

The Nature of the Beast

https://cinemasojourns.com/2026/02/07/the-nature-of-the-beast/
1•jjgreen•8m ago•0 comments

From Prediction to Compilation: A Manifesto for Intrinsically Reliable AI

1•JanusPater•8m ago•0 comments

Show HN: Curated list of 1000 open source alternatives to proprietary software

https://opensrc.me
1•ZenithSoftware•10m ago•0 comments

AI's Real Problem Is Illegitimacy, Not Hallucination

1•JanusPater•11m ago•1 comments

'I fell into it': ex-criminal hackers urge UK pupils to use web skills for good

https://www.theguardian.com/technology/2026/feb/08/i-fell-into-it-ex-criminal-hackers-urge-manche...
1•robaato•12m ago•0 comments

Why 175-Year-Old Glassmaker Corning Is Suddenly an AI Superstar

https://www.wsj.com/tech/corning-fiber-optics-ai-e045ba3b
1•bookofjoe•12m ago•1 comments

Keeping WSL Alive

https://shift1w.com/blog/keeping-wsl-alive/
1•jakesocks•14m ago•0 comments

Unlocking core memories with GoldSrc engine and CS 1.6 (2025)

https://www.danielbrendel.com/blog/43-unlocking-core-memories-with-goldsrc-engine
2•foxiel•14m ago•0 comments

Gtrace an advanced network path analysis tool

https://github.com/hervehildenbrand/gtrace
2•jimaek•14m ago•0 comments

America does not trust Putin or Trump

https://re-russia.net/en/review/809/
1•mnky9800n•18m ago•0 comments

Let's Do Music in Linux [video]

https://www.youtube.com/watch?v=IHgsOdoLuBU
1•mariuz•19m ago•0 comments

"Nothing" is the secret to structuring your work

https://www.vangemert.dev/blog/nothing
1•spmvg•23m ago•0 comments

AI Makes the Easy Part Easier and the Hard Part Harder

https://www.blundergoat.com/articles/ai-makes-the-easy-part-easier-and-the-hard-part-harder
1•birdculture•24m ago•0 comments

Show HN: Fine-tuned Qwen2.5-7B on 100 films for probabilistic story graphs

https://cinegraphs.ai/
1•graphpilled•25m ago•1 comments

A failed wantrepreneur's view on common startup advice

https://developerwithacat.com/blog/202602/startup-advice/
1•mmarian•25m ago•0 comments

Show HN: BestClaw Simple OpenClaw/MoltBot for non tech people

https://bestclaw.host/
2•nihey•25m ago•0 comments

AI is making me anxious and stupid

https://tom.so/posts/ai-is-making-me-anxious-and-stupid
1•tomupom•29m ago•0 comments

Show HN: Real-time path tracing of medical CT volumes in the browser via WebGPU

https://grenzwert.net/
2•MickGorobets•32m ago•1 comments

United States – Crypto Scam Help – Intelligence Cyber Wizard Safe Guide

1•Forensics•35m ago•0 comments

What to Do After a Crypto Scam (USA) Intelligence Cyber Wizard Explained

1•Forensics•36m ago•0 comments

The Physics of 588: A 17.64μm Isolation Barrier Strategy for 5nm Process

https://github.com/eggpine84-del/NHE-CODING
1•eggpine84•36m ago•0 comments

My Eighth Year as a Bootstrapped Founder

https://mtlynch.io/bootstrapped-founder-year-8/
1•mtlynch•38m ago•0 comments

Data Modelling Open Source

https://github.com/sqlmodel/sqlmodel
2•Sean766•40m ago•0 comments

Mid-life transitions

https://blogs.gnome.org/chergert/2026/02/06/mid-life-transitions/
2•pabs3•40m ago•0 comments