Filtering out Espruino Devices

Posted on
  • I'd like to be able to do a BLE scan and separate Espruino from non-Espruino devices. Is there information in the BLE advertisement packet, or any other way, to do this?

  • You can do it a few ways:

    • Separate by the name - whether it starts with Puck.js
    • Separate by the UART UUID so only serial devices like Espruinos show up - although this can fail in high-traffic areas as the UUID is stored in a scan response packet
    • Add your own UUID (or the manufacturer code 0x590 that's registered for Espruino) to each Espruino you care about, and filter off of that.

    The Web IDE uses a combination of the first two (because the second isn't reliable enough).

    Hope that helps!

  • Thanks!

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Filtering out Espruino Devices

Posted by Avatar for user89263 @user89263

Actions