@glassly/bluetooth-sdk 0.1.0-dev.114 → 0.1.0-dev.116

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.glassly.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 = "0.1.0"
6
- const val RELEASE_IDENTITY: String = "0.1.0-dev.114"
7
- const val RELEASE_SET_ID: String = "glassly-0.1.0-dev.114"
8
- const val SOURCE_COMMIT: String = "17263133b35c04f044ba0d3acd9f80efc81999d4"
6
+ const val RELEASE_IDENTITY: String = "0.1.0-dev.116"
7
+ const val RELEASE_SET_ID: String = "glassly-0.1.0-dev.116"
8
+ const val SOURCE_COMMIT: String = "44f00017e6ef71e4355e46e1539e88a668759315"
9
9
  const val OTA_MANIFEST_URL: String = ""
10
10
  const val OTA_MANIFEST_SHA256: String = ""
11
11
  }
@@ -1578,13 +1578,6 @@ class G2 : SGCManager() {
1578
1578
  supportsCfwSceneRendering &&
1579
1579
  listOf("scene17", "shapes16", "anim18", "texcache12", "teximg13", "font15").all { it in cfwFeatures }
1580
1580
 
1581
- /**
1582
- * TEXT_INLINE records (contract revision 19; no token, the capability
1583
- * response must fit one BLE frame): default text drawn by the glasses' font.
1584
- */
1585
- private val supportsCfwInlineText: Boolean
1586
- get() = cfwProtocolVersion >= 19
1587
-
1588
1581
  /** The on-glass slot table must be re-SET on the next vector frame. */
1589
1582
  private var cfwSceneInvalid = true
1590
1583
 
@@ -3111,10 +3104,9 @@ class G2 : SGCManager() {
3111
3104
  }
3112
3105
  if (cfwLastBoxes != boxes) cfwSceneInvalid = true
3113
3106
  val invalidate = cfwSceneInvalid
3114
- val inlineText = supportsCfwInlineText
3115
3107
  val encoded =
3116
3108
  kotlinx.coroutines.withContext(Dispatchers.Default) {
3117
- G2CfwRenderer.encodeVector(frame, boxes, cfwCacheGeneration, invalidate, inlineText)
3109
+ G2CfwRenderer.encodeVector(frame, boxes, cfwCacheGeneration, invalidate, inlineText = true)
3118
3110
  }
3119
3111
  if (encoded == null) {
3120
3112
  Bridge.log("G2: vector scene does not fit; using the raster path for this frame")
@@ -1,9 +1,9 @@
1
1
  export const BLUETOOTH_SDK_RELEASE_METADATA = Object.freeze({
2
2
  "schemaVersion": 1,
3
3
  "familyBaseVersion": "0.1.0",
4
- "releaseIdentity": "0.1.0-dev.114",
5
- "releaseSetId": "glassly-0.1.0-dev.114",
6
- "sourceCommit": "17263133b35c04f044ba0d3acd9f80efc81999d4",
4
+ "releaseIdentity": "0.1.0-dev.116",
5
+ "releaseSetId": "glassly-0.1.0-dev.116",
6
+ "sourceCommit": "44f00017e6ef71e4355e46e1539e88a668759315",
7
7
  "otaManifestUrl": null,
8
8
  "otaManifestSha256": null
9
9
  });
@@ -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,eAAe;IAClC,cAAc,EAAE,uBAAuB;IACvC,cAAc,EAAE,0CAA0C;IAC1D,gBAAgB,EAAE,IAAI;IACtB,mBAAmB,EAAE,IAAI;CAC1B,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\": \"0.1.0\",\n \"releaseIdentity\": \"0.1.0-dev.114\",\n \"releaseSetId\": \"glassly-0.1.0-dev.114\",\n \"sourceCommit\": \"17263133b35c04f044ba0d3acd9f80efc81999d4\",\n \"otaManifestUrl\": null,\n \"otaManifestSha256\": null\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,eAAe;IAClC,cAAc,EAAE,uBAAuB;IACvC,cAAc,EAAE,0CAA0C;IAC1D,gBAAgB,EAAE,IAAI;IACtB,mBAAmB,EAAE,IAAI;CAC1B,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\": \"0.1.0\",\n \"releaseIdentity\": \"0.1.0-dev.116\",\n \"releaseSetId\": \"glassly-0.1.0-dev.116\",\n \"sourceCommit\": \"44f00017e6ef71e4355e46e1539e88a668759315\",\n \"otaManifestUrl\": null,\n \"otaManifestSha256\": null\n})\n"]}
@@ -11,7 +11,7 @@ enum BluetoothSdkDefaults {
11
11
  static let voiceActivityDetectionEnabled = false
12
12
  static let loudnessGateEnabled = true
13
13
  private static let infoSdkVersionKey = "BluetoothSdkVersion"
14
- private static let swiftPackageSdkVersion = "0.1.0-dev.114"
14
+ private static let swiftPackageSdkVersion = "0.1.0-dev.116"
15
15
  private static let swiftPackageSdkVersionPlaceholder = "__GLASSLY" + "_BLUETOOTH_SDK_VERSION__"
16
16
 
17
17
  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 = "0.1.0"
6
- static let releaseIdentity = "0.1.0-dev.114"
7
- static let releaseSetId = "glassly-0.1.0-dev.114"
8
- static let sourceCommit = "17263133b35c04f044ba0d3acd9f80efc81999d4"
6
+ static let releaseIdentity = "0.1.0-dev.116"
7
+ static let releaseSetId = "glassly-0.1.0-dev.116"
8
+ static let sourceCommit = "44f00017e6ef71e4355e46e1539e88a668759315"
9
9
  static let otaManifestUrl = ""
10
10
  static let otaManifestSha256 = ""
11
11
  }
@@ -1810,12 +1810,6 @@ final class G2: NSObject, SGCManager {
1810
1810
  .allSatisfy(cfwFeatures.contains)
1811
1811
  }
1812
1812
 
1813
- /// TEXT_INLINE records (contract revision 19; no token, the capability
1814
- /// response must fit one BLE frame): default text drawn by the glasses' font.
1815
- private var supportsCfwInlineText: Bool {
1816
- cfwProtocolVersion >= 19
1817
- }
1818
-
1819
1813
  /// The on-glass slot table must be re-SET on the next vector frame.
1820
1814
  private var cfwSceneInvalid = true
1821
1815
 
@@ -3133,7 +3127,7 @@ final class G2: NSObject, SGCManager {
3133
3127
  if cfwLastBoxes != boxes { cfwSceneInvalid = true }
3134
3128
  guard let encoded = await cfwRenderer.encodeVector(
3135
3129
  frame, boxes: boxes, cacheGeneration: cfwCacheGeneration, invalidate: cfwSceneInvalid,
3136
- inlineText: supportsCfwInlineText
3130
+ inlineText: true
3137
3131
  ) else {
3138
3132
  Bridge.log("G2: vector scene does not fit; using the raster path for this frame")
3139
3133
  cfwSceneInvalid = true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glassly/bluetooth-sdk",
3
- "version": "0.1.0-dev.114",
3
+ "version": "0.1.0-dev.116",
4
4
  "description": "SDK for communicating with smart glasses",
5
5
  "main": "build/index.js",
6
6
  "react-native": "src/index.ts",
@@ -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": "0.1.0",
15
- "releaseIdentity": "0.1.0-dev.114",
16
- "releaseSetId": "glassly-0.1.0-dev.114",
17
- "sourceCommit": "17263133b35c04f044ba0d3acd9f80efc81999d4",
15
+ "releaseIdentity": "0.1.0-dev.116",
16
+ "releaseSetId": "glassly-0.1.0-dev.116",
17
+ "sourceCommit": "44f00017e6ef71e4355e46e1539e88a668759315",
18
18
  "otaManifestUrl": null,
19
19
  "otaManifestSha256": null
20
20
  })