.advertise Property
Function: |
Setting this property to 1 — YES will start the advertising service on the BLE interface. Setting the property to 0 — NO halts BLE advertising. |
Type: |
Enum (no_yes, byte) |
Value Range: |
0 — NO (default): The advertising service is disabled. 1 — YES: The advertising service is enabled. |
See Also: |
Details
The value of this property can only be set to 1 — YES when the BLE interface is enabled (bt.enabled = 1 — YES, i.e., bt.enable was previously called).
The value of this property is reset to 0 — NO if the BLE interface becomes disabled (bt.enabled = 0 — NO) for any reason.