Class BleAdvertisementBuilder
Constructors
constructor
-
Parameters
-
-
Default value extendedFlg: boolean = false
Methods
build
-
Returns number[]
convertUuid
- convertUuid(uuid: UUID): any
-
Parameters
Returns any
getRow
- getRow(type: number): number[]
-
Parameters
Returns number[]
setBrEdrNotSupportedFlag
- setBrEdrNotSupportedFlag(): void
-
Returns void
setCompleteLocalName
- setCompleteLocalName(name: string): void
-
Parameters
Returns void
setIbeaconData
- setIbeaconData(uuid: UUID, major: number, minor: number, txPower: number): void
-
Parameters
-
-
major: number
-
minor: number
-
txPower: number
Returns void
setLeBrEdrControllerFlag
- setLeBrEdrControllerFlag(): void
-
Returns void
setLeBrEdrHostFlag
- setLeBrEdrHostFlag(): void
-
Returns void
setLeGeneralDiscoverableModeFlag
- setLeGeneralDiscoverableModeFlag(): void
-
Returns void
setLeLimitedDiscoverableModeFlag
- setLeLimitedDiscoverableModeFlag(): void
-
Returns void
setManufacturerSpecificData
- setManufacturerSpecificData(companyCode: number, data: number[]): void
-
Parameters
-
companyCode: number
-
data: number[]
Returns void
setRow
- setRow(type: number, data: number[]): void
-
Parameters
-
type: number
-
data: number[]
Returns void
setServiceData
- setServiceData(uuid: number, data: number[]): void
-
Parameters
-
uuid: number
-
data: number[]
Returns void
setShortenedLocalName
- setShortenedLocalName(name: string): void
-
Parameters
Returns void
setStringData
- setStringData(type: number, string: string): void
-
Parameters
-
type: number
-
string: string
Returns void
setUuid
- setUuid(uuid: UUID): void
-
Parameters
Returns void