@mentra/bluetooth-sdk 3.5.0-dev.1309 → 3.5.0-dev.1311

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,9 +3,9 @@ package com.mentra.bluetoothsdk
3
3
  /** Generated by release CI. Do not edit in a release checkout. */
4
4
  internal object GeneratedReleaseMetadata {
5
5
  const val FAMILY_BASE_VERSION: String = "3.5.0"
6
- const val RELEASE_IDENTITY: String = "3.5.0-dev.1309"
7
- const val RELEASE_SET_ID: String = "mentra-3.5.0-dev.1309"
8
- const val SOURCE_COMMIT: String = "7188808115197f675b5665797f6681e782ee222c"
9
- const val OTA_MANIFEST_URL: String = "https://artifactscdn.mentraglass.com/Mentra-Community/MentraOS/releases/mentra-builds-v3.5.0/mentra-live-ota-3.5.0-dev.1309.json"
10
- const val OTA_MANIFEST_SHA256: String = "469b27f58d0a3fee62053f7f8636f8651e4c98618a0ad26ac3d6bbae7ed83707"
6
+ const val RELEASE_IDENTITY: String = "3.5.0-dev.1311"
7
+ const val RELEASE_SET_ID: String = "mentra-3.5.0-dev.1311"
8
+ const val SOURCE_COMMIT: String = "a4f1b9da0a49d9acfd9bed5b061ce6005813f416"
9
+ const val OTA_MANIFEST_URL: String = "https://artifactscdn.mentraglass.com/Mentra-Community/MentraOS/releases/mentra-builds-v3.5.0/mentra-live-ota-3.5.0-dev.1311.json"
10
+ const val OTA_MANIFEST_SHA256: String = "178d6608735b53e4cb06547922dad336328597ba56eb24c3222fac0d7f732581"
11
11
  }
@@ -4,9 +4,9 @@ package com.mentra.bluetoothsdk.hotspot
4
4
  * Typed failures for a scoped SoftAP join.
5
5
  *
6
6
  * A denied local-network permission must surface as a distinct, immediate error rather than a
7
- * 30-second hang that looks like a flaky hotspot. `ACCESS_LOCAL_NETWORK` sits in the nearby-devices
8
- * group, so it is often already granted during development and easy to miss until a user without it
9
- * hits a silent timeout.
7
+ * join that never completes, which looks like a flaky hotspot. `ACCESS_LOCAL_NETWORK` sits in the
8
+ * nearby-devices group, so it is often already granted during development and easy to miss until a
9
+ * user without it hits it.
10
10
  */
11
11
  sealed class ScopedNetworkError(val code: String, message: String) : Exception(message) {
12
12
 
@@ -17,14 +17,14 @@ sealed class ScopedNetworkError(val code: String, message: String) : Exception(m
17
17
  "Local network permission not granted: $permission",
18
18
  )
19
19
 
20
- /** No usable network arrived before the request timeout. */
21
- class Timeout(val ssid: String, val timeoutMs: Int) :
22
- ScopedNetworkError(CODE_TIMEOUT, "Timed out joining $ssid after ${timeoutMs}ms")
20
+ /** The join was released by its owner before a usable network arrived. */
21
+ class Cancelled(val ssid: String) :
22
+ ScopedNetworkError(CODE_CANCELLED, "Joining $ssid was cancelled")
23
23
 
24
24
  /**
25
25
  * The framework reported it cannot provide this network at all.
26
26
  *
27
- * WifiNetworkSpecifier does not keep scanning for the request timeout. If the glasses AP is
27
+ * WifiNetworkSpecifier does not keep scanning until this arrives. If the glasses AP is
28
28
  * not in the current scan — or the user dismissed the system join sheet — this arrives in
29
29
  * well under a second.
30
30
  */
@@ -80,7 +80,7 @@ sealed class ScopedNetworkError(val code: String, message: String) : Exception(m
80
80
 
81
81
  companion object {
82
82
  const val CODE_PERMISSION_DENIED = "SOFTAP_PERMISSION_DENIED"
83
- const val CODE_TIMEOUT = "SOFTAP_JOIN_TIMEOUT"
83
+ const val CODE_CANCELLED = "SOFTAP_JOIN_CANCELLED"
84
84
  const val CODE_UNAVAILABLE = "SOFTAP_UNAVAILABLE"
85
85
  const val CODE_LOST = "SOFTAP_NETWORK_LOST"
86
86
  const val CODE_REQUEST_FAILED = "SOFTAP_REQUEST_FAILED"
@@ -90,10 +90,9 @@ sealed class ScopedNetworkError(val code: String, message: String) : Exception(m
90
90
  const val CODE_VPN_ACTIVE = "SOFTAP_VPN_ACTIVE"
91
91
 
92
92
  /** Map a terminal state-machine failure onto the typed error the call path reports. */
93
- fun from(failure: ScopedNetworkState.Failure, ssid: String, timeoutMs: Int): ScopedNetworkError? =
93
+ fun from(failure: ScopedNetworkState.Failure, ssid: String): ScopedNetworkError? =
94
94
  when (failure) {
95
95
  ScopedNetworkState.Failure.NONE -> null
96
- ScopedNetworkState.Failure.TIMEOUT -> Timeout(ssid, timeoutMs)
97
96
  ScopedNetworkState.Failure.UNAVAILABLE -> Unavailable(ssid)
98
97
  ScopedNetworkState.Failure.LOST -> Lost(ssid)
99
98
  ScopedNetworkState.Failure.PERMISSION_DENIED -> PermissionDenied(LOCAL_NETWORK_PERMISSION)
@@ -20,7 +20,6 @@ data class ScopedNetworkRequestSpec(
20
20
  val passphrase: String,
21
21
  val transportTypes: Set<Int>,
22
22
  val removedCapabilities: Set<Int>,
23
- val timeoutMs: Int,
24
23
  ) {
25
24
  /** True when the request cannot be satisfied by, or promoted to, an internet-bearing network. */
26
25
  val avoidsInternetCapability: Boolean
@@ -30,24 +29,16 @@ data class ScopedNetworkRequestSpec(
30
29
  get() = passphrase.isNotEmpty()
31
30
 
32
31
  companion object {
33
- /**
34
- * Android caps `requestNetwork` timeouts well above this; 30 s matches the value the
35
- * Bluetooth SDK already uses for the same hotspot and is long enough for a cold AP start.
36
- */
37
- const val DEFAULT_TIMEOUT_MS = 30_000
38
-
39
32
  /** The canonical SoftAP request. Every caller should go through this. */
40
33
  fun forSoftAp(
41
34
  ssid: String,
42
35
  passphrase: String,
43
- timeoutMs: Int = DEFAULT_TIMEOUT_MS,
44
36
  ): ScopedNetworkRequestSpec =
45
37
  ScopedNetworkRequestSpec(
46
38
  ssid = ssid,
47
39
  passphrase = passphrase,
48
40
  transportTypes = setOf(NetworkCapabilities.TRANSPORT_WIFI),
49
41
  removedCapabilities = setOf(NetworkCapabilities.NET_CAPABILITY_INTERNET),
50
- timeoutMs = timeoutMs,
51
42
  )
52
43
  }
53
44
  }
@@ -4,7 +4,7 @@ package com.mentra.bluetoothsdk.hotspot
4
4
  * Pure lifecycle state machine for a scoped SoftAP network join.
5
5
  *
6
6
  * Split from the Android shell so the awkward parts — duplicate callbacks, callbacks arriving after
7
- * a cancel, a timeout racing a late `onAvailable` — are unit testable without a device. The shell
7
+ * a cancel racing a late `onAvailable` — are unit testable without a device. The shell
8
8
  * ([ScopedSoftApNetwork]) owns `ConnectivityManager` and forwards raw callbacks in here.
9
9
  *
10
10
  * `ConnectivityManager` gives no ordering or at-most-once guarantee: `onAvailable` can fire more
@@ -23,14 +23,13 @@ class ScopedNetworkState {
23
23
  /** Network joined and usable. */
24
24
  AVAILABLE,
25
25
 
26
- /** Terminal for this generation: released, lost, timed out, or failed. */
26
+ /** Terminal for this generation: released, lost, or failed. */
27
27
  LOST,
28
28
  }
29
29
 
30
30
  /** Why a join ended without producing a usable network. */
31
31
  enum class Failure {
32
32
  NONE,
33
- TIMEOUT,
34
33
  UNAVAILABLE,
35
34
  LOST,
36
35
  PERMISSION_DENIED,
@@ -77,15 +76,6 @@ class ScopedNetworkState {
77
76
  return true
78
77
  }
79
78
 
80
- /** The request timed out before a usable network arrived. Ignored once available. */
81
- fun onTimeout(callbackGeneration: Int): Boolean {
82
- if (callbackGeneration != generation) return false
83
- if (phase != Phase.REQUESTING) return false
84
- phase = Phase.LOST
85
- failure = Failure.TIMEOUT
86
- return true
87
- }
88
-
89
79
  /** The framework reported the network cannot be provided. */
90
80
  fun onUnavailable(callbackGeneration: Int): Boolean {
91
81
  if (!accepts(callbackGeneration)) return false
@@ -12,7 +12,6 @@ import android.net.wifi.WifiNetworkSpecifier
12
12
  import android.os.Build
13
13
  import java.net.Inet4Address
14
14
  import java.util.concurrent.CountDownLatch
15
- import java.util.concurrent.TimeUnit
16
15
 
17
16
  /**
18
17
  * Joins the glasses' SoftAP as a scoped, internet-less network and keeps the [Network] handle
@@ -249,7 +248,6 @@ class ScopedSoftApNetwork(private val context: Context) {
249
248
  SoftApTrace.stage(
250
249
  "scoped_join_requested",
251
250
  "ssid" to ssid,
252
- "timeoutMs" to requestSpec.timeoutMs,
253
251
  "avoidsInternetCapability" to requestSpec.avoidsInternetCapability,
254
252
  )
255
253
  val startedAtMs = System.currentTimeMillis()
@@ -350,7 +348,10 @@ class ScopedSoftApNetwork(private val context: Context) {
350
348
  synchronized(lock) { callback = networkCallback }
351
349
 
352
350
  try {
353
- manager.requestNetwork(request(requestSpec), networkCallback, requestSpec.timeoutMs)
351
+ // No timeout: Android's "Connect to device?" prompt stays up only while the request
352
+ // does, and a person may take as long as they like to answer it. The engine keeps the
353
+ // glasses AP up meanwhile. The join ends on joining, a refusal, or release().
354
+ manager.requestNetwork(request(requestSpec), networkCallback)
354
355
  } catch (error: SecurityException) {
355
356
  synchronized(lock) { state.onRequestFailed(generation, permissionDenied = true) }
356
357
  clearCallback(networkCallback)
@@ -363,11 +364,7 @@ class ScopedSoftApNetwork(private val context: Context) {
363
364
  throw ScopedNetworkError.RequestFailed(error.message ?: "unknown")
364
365
  }
365
366
 
366
- // requestNetwork's own timeout fires onUnavailable, but a slightly longer await guards
367
- // against never being called back at all.
368
- val awaited =
369
- ready.await(requestSpec.timeoutMs.toLong() + AWAIT_GRACE_MS, TimeUnit.MILLISECONDS)
370
- if (!awaited) synchronized(lock) { state.onTimeout(generation) }
367
+ ready.await()
371
368
 
372
369
  val joinedNetwork =
373
370
  synchronized(lock) {
@@ -382,9 +379,8 @@ class ScopedSoftApNetwork(private val context: Context) {
382
379
  }
383
380
 
384
381
  throw synchronized(lock) {
385
- val failure =
386
- ScopedNetworkError.from(state.failure, ssid, requestSpec.timeoutMs)
387
- ?: ScopedNetworkError.Timeout(ssid, requestSpec.timeoutMs)
382
+ // A release() wakes the wait with no failure recorded.
383
+ val failure = ScopedNetworkError.from(state.failure, ssid) ?: ScopedNetworkError.Cancelled(ssid)
388
384
  releaseLocked()
389
385
  failure
390
386
  }
@@ -557,8 +553,6 @@ class ScopedSoftApNetwork(private val context: Context) {
557
553
  targetSdkInt < LOCAL_NETWORK_ENFORCED_SDK ||
558
554
  permissionGranted()
559
555
 
560
- private const val AWAIT_GRACE_MS = 2_000L
561
-
562
556
  /** How long we hold the scoped-join step open for the user to flip the Wi-Fi toggle. */
563
557
  const val WIFI_ENABLE_WAIT_MS = 90_000L
564
558
  const val WIFI_ENABLE_POLL_MS = 300L
@@ -8,37 +8,28 @@ class ScopedNetworkErrorTest {
8
8
 
9
9
  @Test
10
10
  fun `no failure maps to no error`() {
11
- assertThat(ScopedNetworkError.from(Failure.NONE, "ssid", 30_000)).isNull()
11
+ assertThat(ScopedNetworkError.from(Failure.NONE, "ssid")).isNull()
12
12
  }
13
13
 
14
14
  @Test
15
15
  fun `each failure maps to its typed error and stable code`() {
16
- assertThat(ScopedNetworkError.from(Failure.TIMEOUT, "ap", 30_000))
17
- .isInstanceOf(ScopedNetworkError.Timeout::class.java)
18
- .extracting("code")
19
- .isEqualTo(ScopedNetworkError.CODE_TIMEOUT)
20
-
21
- assertThat(ScopedNetworkError.from(Failure.UNAVAILABLE, "ap", 30_000))
16
+ assertThat(ScopedNetworkError.from(Failure.UNAVAILABLE, "ap"))
22
17
  .isInstanceOf(ScopedNetworkError.Unavailable::class.java)
23
18
 
24
- assertThat(ScopedNetworkError.from(Failure.LOST, "ap", 30_000))
19
+ assertThat(ScopedNetworkError.from(Failure.LOST, "ap"))
25
20
  .isInstanceOf(ScopedNetworkError.Lost::class.java)
26
21
 
27
- assertThat(ScopedNetworkError.from(Failure.REQUEST_FAILED, "ap", 30_000))
22
+ assertThat(ScopedNetworkError.from(Failure.REQUEST_FAILED, "ap"))
28
23
  .isInstanceOf(ScopedNetworkError.RequestFailed::class.java)
29
24
  }
30
25
 
31
- /**
32
- * A denied permission must be its own error, not a timeout: otherwise it looks like a flaky
33
- * hotspot and costs 30 seconds before failing.
34
- */
26
+ /** A denied permission must be its own error: otherwise it looks like a flaky hotspot. */
35
27
  @Test
36
- fun `permission denial is distinct from a timeout`() {
37
- val denied = ScopedNetworkError.from(Failure.PERMISSION_DENIED, "ap", 30_000)
28
+ fun `permission denial is its own error`() {
29
+ val denied = ScopedNetworkError.from(Failure.PERMISSION_DENIED, "ap")
38
30
 
39
31
  assertThat(denied).isInstanceOf(ScopedNetworkError.PermissionDenied::class.java)
40
32
  assertThat(denied?.code).isEqualTo(ScopedNetworkError.CODE_PERMISSION_DENIED)
41
- assertThat(denied?.code).isNotEqualTo(ScopedNetworkError.CODE_TIMEOUT)
42
33
  }
43
34
 
44
35
  @Test
@@ -46,7 +37,7 @@ class ScopedNetworkErrorTest {
46
37
  val codes =
47
38
  listOf(
48
39
  ScopedNetworkError.CODE_PERMISSION_DENIED,
49
- ScopedNetworkError.CODE_TIMEOUT,
40
+ ScopedNetworkError.CODE_CANCELLED,
50
41
  ScopedNetworkError.CODE_UNAVAILABLE,
51
42
  ScopedNetworkError.CODE_LOST,
52
43
  ScopedNetworkError.CODE_REQUEST_FAILED,
@@ -62,9 +53,7 @@ class ScopedNetworkErrorTest {
62
53
 
63
54
  @Test
64
55
  fun `messages name the ssid so a log line is actionable`() {
65
- assertThat(ScopedNetworkError.Timeout("MentraLive-1234", 30_000).message)
66
- .contains("MentraLive-1234")
67
- .contains("30000")
56
+ assertThat(ScopedNetworkError.Cancelled("MentraLive-1234").message).contains("MentraLive-1234")
68
57
  assertThat(ScopedNetworkError.Lost("MentraLive-1234").message).contains("MentraLive-1234")
69
58
  }
70
59
 
@@ -62,28 +62,6 @@ class ScopedNetworkLifecycleTest {
62
62
  assertThat(state.onLost(generation)).isFalse()
63
63
  }
64
64
 
65
- @Test
66
- fun `timeout while still requesting fails as TIMEOUT`() {
67
- val state = ScopedNetworkState()
68
- val generation = state.startRequest()
69
-
70
- assertThat(state.onTimeout(generation)).isTrue()
71
- assertThat(state.phase).isEqualTo(Phase.LOST)
72
- assertThat(state.failure).isEqualTo(Failure.TIMEOUT)
73
- }
74
-
75
- /** The join succeeded just before the watchdog fired; the network must stay usable. */
76
- @Test
77
- fun `a timeout arriving after onAvailable is ignored`() {
78
- val state = ScopedNetworkState()
79
- val generation = state.startRequest()
80
- state.onAvailable(generation)
81
-
82
- assertThat(state.onTimeout(generation)).isFalse()
83
- assertThat(state.phase).isEqualTo(Phase.AVAILABLE)
84
- assertThat(state.failure).isEqualTo(Failure.NONE)
85
- }
86
-
87
65
  @Test
88
66
  fun `onUnavailable fails as UNAVAILABLE`() {
89
67
  val state = ScopedNetworkState()
@@ -125,7 +103,6 @@ class ScopedNetworkLifecycleTest {
125
103
  assertThat(state.onAvailable(first)).isFalse()
126
104
  assertThat(state.onLost(first)).isFalse()
127
105
  assertThat(state.onUnavailable(first)).isFalse()
128
- assertThat(state.onTimeout(first)).isFalse()
129
106
  assertThat(state.phase).isEqualTo(Phase.REQUESTING)
130
107
 
131
108
  assertThat(state.onAvailable(second)).isTrue()
@@ -40,18 +40,6 @@ class ScopedNetworkRequestSpecTest {
40
40
  assertThat(ScopedNetworkRequestSpec.forSoftAp("Open-AP", "").hasPassphrase).isFalse()
41
41
  }
42
42
 
43
- @Test
44
- fun `the default timeout matches the bluetooth sdk hotspot join`() {
45
- assertThat(ScopedNetworkRequestSpec.forSoftAp("x", "y").timeoutMs).isEqualTo(30_000)
46
- assertThat(ScopedNetworkRequestSpec.DEFAULT_TIMEOUT_MS).isEqualTo(30_000)
47
- }
48
-
49
- @Test
50
- fun `the timeout is overridable`() {
51
- assertThat(ScopedNetworkRequestSpec.forSoftAp("x", "y", timeoutMs = 5_000).timeoutMs)
52
- .isEqualTo(5_000)
53
- }
54
-
55
43
  /** A spec that kept the internet capability must not read as safe. */
56
44
  @Test
57
45
  fun `avoidsInternetCapability is false when the capability is not removed`() {
@@ -61,7 +49,6 @@ class ScopedNetworkRequestSpecTest {
61
49
  passphrase = "y",
62
50
  transportTypes = setOf(NetworkCapabilities.TRANSPORT_WIFI),
63
51
  removedCapabilities = emptySet(),
64
- timeoutMs = 1_000,
65
52
  )
66
53
 
67
54
  assertThat(unsafe.avoidsInternetCapability).isFalse()
@@ -1,10 +1,10 @@
1
1
  export const BLUETOOTH_SDK_RELEASE_METADATA = Object.freeze({
2
2
  "schemaVersion": 1,
3
3
  "familyBaseVersion": "3.5.0",
4
- "releaseIdentity": "3.5.0-dev.1309",
5
- "releaseSetId": "mentra-3.5.0-dev.1309",
6
- "sourceCommit": "7188808115197f675b5665797f6681e782ee222c",
7
- "otaManifestUrl": "https://artifactscdn.mentraglass.com/Mentra-Community/MentraOS/releases/mentra-builds-v3.5.0/mentra-live-ota-3.5.0-dev.1309.json",
8
- "otaManifestSha256": "469b27f58d0a3fee62053f7f8636f8651e4c98618a0ad26ac3d6bbae7ed83707"
4
+ "releaseIdentity": "3.5.0-dev.1311",
5
+ "releaseSetId": "mentra-3.5.0-dev.1311",
6
+ "sourceCommit": "a4f1b9da0a49d9acfd9bed5b061ce6005813f416",
7
+ "otaManifestUrl": "https://artifactscdn.mentraglass.com/Mentra-Community/MentraOS/releases/mentra-builds-v3.5.0/mentra-live-ota-3.5.0-dev.1311.json",
8
+ "otaManifestSha256": "178d6608735b53e4cb06547922dad336328597ba56eb24c3222fac0d7f732581"
9
9
  });
10
10
  //# sourceMappingURL=releaseMetadata.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"releaseMetadata.js","sourceRoot":"","sources":["../../src/generated/releaseMetadata.ts"],"names":[],"mappings":"AAWA,MAAM,CAAC,MAAM,8BAA8B,GAA0C,MAAM,CAAC,MAAM,CAAC;IACjG,eAAe,EAAE,CAAC;IAClB,mBAAmB,EAAE,OAAO;IAC5B,iBAAiB,EAAE,gBAAgB;IACnC,cAAc,EAAE,uBAAuB;IACvC,cAAc,EAAE,0CAA0C;IAC1D,gBAAgB,EAAE,kIAAkI;IACpJ,mBAAmB,EAAE,kEAAkE;CACxF,CAAC,CAAA","sourcesContent":["/** Generated by release CI. Do not edit in a release checkout. */\nexport interface BluetoothSdkReleaseMetadata {\n schemaVersion: 1\n familyBaseVersion: string | null\n releaseIdentity: string | null\n releaseSetId: string | null\n sourceCommit: string | null\n otaManifestUrl: string | null\n otaManifestSha256: string | null\n}\n\nexport const BLUETOOTH_SDK_RELEASE_METADATA: Readonly<BluetoothSdkReleaseMetadata> = Object.freeze({\n \"schemaVersion\": 1,\n \"familyBaseVersion\": \"3.5.0\",\n \"releaseIdentity\": \"3.5.0-dev.1309\",\n \"releaseSetId\": \"mentra-3.5.0-dev.1309\",\n \"sourceCommit\": \"7188808115197f675b5665797f6681e782ee222c\",\n \"otaManifestUrl\": \"https://artifactscdn.mentraglass.com/Mentra-Community/MentraOS/releases/mentra-builds-v3.5.0/mentra-live-ota-3.5.0-dev.1309.json\",\n \"otaManifestSha256\": \"469b27f58d0a3fee62053f7f8636f8651e4c98618a0ad26ac3d6bbae7ed83707\"\n})\n"]}
1
+ {"version":3,"file":"releaseMetadata.js","sourceRoot":"","sources":["../../src/generated/releaseMetadata.ts"],"names":[],"mappings":"AAWA,MAAM,CAAC,MAAM,8BAA8B,GAA0C,MAAM,CAAC,MAAM,CAAC;IACjG,eAAe,EAAE,CAAC;IAClB,mBAAmB,EAAE,OAAO;IAC5B,iBAAiB,EAAE,gBAAgB;IACnC,cAAc,EAAE,uBAAuB;IACvC,cAAc,EAAE,0CAA0C;IAC1D,gBAAgB,EAAE,kIAAkI;IACpJ,mBAAmB,EAAE,kEAAkE;CACxF,CAAC,CAAA","sourcesContent":["/** Generated by release CI. Do not edit in a release checkout. */\nexport interface BluetoothSdkReleaseMetadata {\n schemaVersion: 1\n familyBaseVersion: string | null\n releaseIdentity: string | null\n releaseSetId: string | null\n sourceCommit: string | null\n otaManifestUrl: string | null\n otaManifestSha256: string | null\n}\n\nexport const BLUETOOTH_SDK_RELEASE_METADATA: Readonly<BluetoothSdkReleaseMetadata> = Object.freeze({\n \"schemaVersion\": 1,\n \"familyBaseVersion\": \"3.5.0\",\n \"releaseIdentity\": \"3.5.0-dev.1311\",\n \"releaseSetId\": \"mentra-3.5.0-dev.1311\",\n \"sourceCommit\": \"a4f1b9da0a49d9acfd9bed5b061ce6005813f416\",\n \"otaManifestUrl\": \"https://artifactscdn.mentraglass.com/Mentra-Community/MentraOS/releases/mentra-builds-v3.5.0/mentra-live-ota-3.5.0-dev.1311.json\",\n \"otaManifestSha256\": \"178d6608735b53e4cb06547922dad336328597ba56eb24c3222fac0d7f732581\"\n})\n"]}
@@ -16,7 +16,7 @@ enum BluetoothSdkDefaults {
16
16
  /// 20-minute unworn power-off on every pair the app touches.
17
17
  static let autoPowerOffEnabled = false
18
18
  private static let infoSdkVersionKey = "MentraBluetoothSdkVersion"
19
- private static let swiftPackageSdkVersion = "3.5.0-dev.1309"
19
+ private static let swiftPackageSdkVersion = "3.5.0-dev.1311"
20
20
  private static let swiftPackageSdkVersionPlaceholder = "__MENTRA" + "_BLUETOOTH_SDK_VERSION__"
21
21
 
22
22
  private static func normalizedSdkVersion(_ value: String?) -> String? {
@@ -3,9 +3,9 @@ import Foundation
3
3
  /// Generated by release CI. Do not edit in a release checkout.
4
4
  enum GeneratedReleaseMetadata {
5
5
  static let familyBaseVersion = "3.5.0"
6
- static let releaseIdentity = "3.5.0-dev.1309"
7
- static let releaseSetId = "mentra-3.5.0-dev.1309"
8
- static let sourceCommit = "7188808115197f675b5665797f6681e782ee222c"
9
- static let otaManifestUrl = "https://artifactscdn.mentraglass.com/Mentra-Community/MentraOS/releases/mentra-builds-v3.5.0/mentra-live-ota-3.5.0-dev.1309.json"
10
- static let otaManifestSha256 = "469b27f58d0a3fee62053f7f8636f8651e4c98618a0ad26ac3d6bbae7ed83707"
6
+ static let releaseIdentity = "3.5.0-dev.1311"
7
+ static let releaseSetId = "mentra-3.5.0-dev.1311"
8
+ static let sourceCommit = "a4f1b9da0a49d9acfd9bed5b061ce6005813f416"
9
+ static let otaManifestUrl = "https://artifactscdn.mentraglass.com/Mentra-Community/MentraOS/releases/mentra-builds-v3.5.0/mentra-live-ota-3.5.0-dev.1311.json"
10
+ static let otaManifestSha256 = "178d6608735b53e4cb06547922dad336328597ba56eb24c3222fac0d7f732581"
11
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mentra/bluetooth-sdk",
3
- "version": "3.5.0-dev.1309",
3
+ "version": "3.5.0-dev.1311",
4
4
  "description": "SDK for communicating with smart glasses",
5
5
  "main": "build/index.js",
6
6
  "react-native": "src/index.ts",
@@ -115,7 +115,7 @@
115
115
  "registry": "https://registry.npmjs.org/"
116
116
  },
117
117
  "dependencies": {
118
- "@mentra/cloud-protocol": "3.5.0-dev.1309"
118
+ "@mentra/cloud-protocol": "3.5.0-dev.1311"
119
119
  },
120
120
  "devDependencies": {
121
121
  "@types/node": "^25.9.3",
@@ -12,9 +12,9 @@ export interface BluetoothSdkReleaseMetadata {
12
12
  export const BLUETOOTH_SDK_RELEASE_METADATA: Readonly<BluetoothSdkReleaseMetadata> = Object.freeze({
13
13
  "schemaVersion": 1,
14
14
  "familyBaseVersion": "3.5.0",
15
- "releaseIdentity": "3.5.0-dev.1309",
16
- "releaseSetId": "mentra-3.5.0-dev.1309",
17
- "sourceCommit": "7188808115197f675b5665797f6681e782ee222c",
18
- "otaManifestUrl": "https://artifactscdn.mentraglass.com/Mentra-Community/MentraOS/releases/mentra-builds-v3.5.0/mentra-live-ota-3.5.0-dev.1309.json",
19
- "otaManifestSha256": "469b27f58d0a3fee62053f7f8636f8651e4c98618a0ad26ac3d6bbae7ed83707"
15
+ "releaseIdentity": "3.5.0-dev.1311",
16
+ "releaseSetId": "mentra-3.5.0-dev.1311",
17
+ "sourceCommit": "a4f1b9da0a49d9acfd9bed5b061ce6005813f416",
18
+ "otaManifestUrl": "https://artifactscdn.mentraglass.com/Mentra-Community/MentraOS/releases/mentra-builds-v3.5.0/mentra-live-ota-3.5.0-dev.1311.json",
19
+ "otaManifestSha256": "178d6608735b53e4cb06547922dad336328597ba56eb24c3222fac0d7f732581"
20
20
  })