()
| 369 | return this.#buffer; |
| 370 | } |
| 371 | get appearance() { |
| 372 | const index = this.findIndex(GAP.ADType.APPEARANCE); |
| 373 | if (-1 != index) { |
| 374 | let start = index + 2; |
| 375 | const data = this.#data; |
| 376 | return (data[start] | (data[start+1] << 8)); |
| 377 | } |
| 378 | } |
| 379 | get completeName() { |
| 380 | const index = this.findIndex(GAP.ADType.COMPLETE_LOCAL_NAME); |
| 381 | if (-1 != index) { |