Improve BLE reconnect and Aris advertising
This commit is contained in:
@@ -157,7 +157,7 @@ final class BlePeripheralManager: NSObject, ObservableObject {
|
||||
return
|
||||
}
|
||||
peripheral.startAdvertising([
|
||||
CBAdvertisementDataLocalNameKey: "GlassNow",
|
||||
CBAdvertisementDataLocalNameKey: "Aris",
|
||||
CBAdvertisementDataServiceUUIDsKey: [Self.serviceUUID],
|
||||
])
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@ struct BleStatusView: View {
|
||||
var body: some View {
|
||||
VStack(alignment: .leading, spacing: 16) {
|
||||
VStack(alignment: .leading, spacing: 6) {
|
||||
Text("GlassNow BLE")
|
||||
Text("Aris BLE")
|
||||
.font(.title2.bold())
|
||||
Text("Bluetooth: \(bluetoothStateText)")
|
||||
.font(.subheadline)
|
||||
|
||||
Reference in New Issue
Block a user