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

Method completeName

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

Source from the content-addressed store, hash-verified

377 }
378 }
379 get completeName() {
380 const index = this.findIndex(GAP.ADType.COMPLETE_LOCAL_NAME);
381 if (-1 != index) {
382 return this.#getStringType(index);
383 }
384 }
385 get shortName() {
386 const index = this.findIndex(GAP.ADType.SHORTENED_LOCAL_NAME);
387 if (-1 != index)

Callers

nothing calls this directly

Calls 2

findIndexMethod · 0.95
#getStringTypeMethod · 0.95

Tested by

no test coverage detected