Oh I agree completely. Mostly I am testing to understand some behaviors I am seeing. For example, getPrimaryService in a connect sequence sometimes errors out immediately complaining of a disconnect. That doesn't seem right. So I run long tests trying to gauge how often that actually happens. Then I might change my code a little and run again to see if things improve. Your advertising method makes exceptional sense for your use case.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Oh I agree completely. Mostly I am testing to understand some behaviors I am seeing. For example, getPrimaryService in a connect sequence sometimes errors out immediately complaining of a disconnect. That doesn't seem right. So I run long tests trying to gauge how often that actually happens. Then I might change my code a little and run again to see if things improve. Your advertising method makes exceptional sense for your use case.