We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 084a8c5 commit 2852115Copy full SHA for 2852115
esp32-led-blink-sdk/main/NimBLE.swift
@@ -63,7 +63,7 @@ public struct GAP: ~Copyable {
63
public func startAdvertising(
64
addressType: LowEnergyAddressType = .public,
65
address: BluetoothAddress? = nil,
66
- parameters: ble_gap_adv_params = ble_gap_adv_params()
+ parameters: ble_gap_adv_params = ble_gap_adv_params(conn_mode: UInt8(BLE_GAP_CONN_MODE_NON), disc_mode: UInt8(BLE_GAP_DISC_MODE_GEN), itvl_min: 0, itvl_max: 0, channel_map: 0, filter_policy: 0, high_duty_cycle: 0)
67
) throws(NimBLEError) {
68
var address = ble_addr_t(
69
type: 0,
0 commit comments