mergBLEDidDiscoverPeripheral

Typemessage
DictionaryLCS
LibraryLiveCode Script
Syntax
mergBLEDidDiscoverPeripheral <pUUID>, <pName>, <pRSSI>, <pTx>, <pServiceUUIDs>, <pManufacturerData>
Associationsmergble
Summary

Sent when a peripheral is discovered

Introduced8.0
OSios, mac
Platformsdesktop, mobile
Parameters
NameTypeDescription
pUUID

The peripheral UUID

pName

The name of the peripheral

pRSSI

A number, in decibels, that indicates the RSSI of the peripheral while it is currently connected. You can use a connected peripheral‰??s RSSI property to determine the peripheral‰??s proximity.

pTx

A number containing the transmit power of a peripheral. This key and value are available if the broadcaster (peripheral) provides its Tx power level in its advertising packet. Using the RSSI value and the Tx power level, it is possible to calculate path loss.

pServiceUUIDs

A list of service UUIDs the peripheral is advertising

pManufacturerData

The binary manufacturer data of the peripheral

Description

Sent when a peripheral is discovered

Tagsexternals