MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / shortName

Method shortName

modules/network/ble/btutils.js:385–389  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

383 }
384 }
385 get shortName() {
386 const index = this.findIndex(GAP.ADType.SHORTENED_LOCAL_NAME);
387 if (-1 != index)
388 return this.#getStringType(index);
389 }
390 get manufacturerSpecific() {
391 const index = this.findIndex(GAP.ADType.MANUFACTURER_SPECIFIC_DATA);
392 if (-1 != index) {

Callers

nothing calls this directly

Calls 2

findIndexMethod · 0.95
#getStringTypeMethod · 0.95

Tested by

no test coverage detected