@mentra/bluetooth-sdk 0.1.2 → 0.1.4
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.
- package/README.md +75 -19
- package/android/src/main/java/com/mentra/bluetoothsdk/BluetoothSdkModule.kt +13 -13
- package/android/src/main/java/com/mentra/bluetoothsdk/Bridge.kt +42 -18
- package/android/src/main/java/com/mentra/bluetoothsdk/DeviceManager.kt +19 -21
- package/android/src/main/java/com/mentra/bluetoothsdk/DeviceStore.kt +4 -4
- package/android/src/main/java/com/mentra/bluetoothsdk/MentraBluetoothModels.kt +118 -103
- package/android/src/main/java/com/mentra/bluetoothsdk/MentraBluetoothSdk.kt +110 -38
- package/android/src/main/java/com/mentra/bluetoothsdk/controllers/ControllerManager.kt +4 -4
- package/android/src/main/java/com/mentra/bluetoothsdk/controllers/R1.kt +2 -2
- package/android/src/main/java/com/mentra/bluetoothsdk/services/PhoneMic.kt +6 -6
- package/android/src/main/java/com/mentra/bluetoothsdk/sgcs/G1.java +1 -1
- package/android/src/main/java/com/mentra/bluetoothsdk/sgcs/G2.kt +3 -3
- package/android/src/main/java/com/mentra/bluetoothsdk/sgcs/Mach1.java +1 -1
- package/android/src/main/java/com/mentra/bluetoothsdk/sgcs/MentraLive.java +18 -18
- package/android/src/main/java/com/mentra/bluetoothsdk/sgcs/MentraNex.kt +1 -1
- package/android/src/main/java/com/mentra/bluetoothsdk/sgcs/SGCManager.kt +4 -4
- package/android/src/main/java/com/mentra/bluetoothsdk/sgcs/Simulated.kt +2 -2
- package/android/src/main/java/com/mentra/bluetoothsdk/utils/Constants.kt +6 -6
- package/app.plugin.js +3 -1
- package/build/BluetoothSdk.types.d.ts +126 -27
- package/build/BluetoothSdk.types.d.ts.map +1 -1
- package/build/BluetoothSdk.types.js.map +1 -1
- package/build/_internal.d.ts +12 -0
- package/build/_internal.d.ts.map +1 -0
- package/build/_internal.js +11 -0
- package/build/_internal.js.map +1 -0
- package/build/{BluetoothSdkModule.d.ts → _private/BluetoothSdkModule.d.ts} +19 -8
- package/build/_private/BluetoothSdkModule.d.ts.map +1 -0
- package/build/{BluetoothSdkModule.js → _private/BluetoothSdkModule.js} +41 -26
- package/build/_private/BluetoothSdkModule.js.map +1 -0
- package/build/index.d.ts +4 -2
- package/build/index.d.ts.map +1 -1
- package/build/index.js +3 -4
- package/build/index.js.map +1 -1
- package/build/react/index.d.ts +5 -0
- package/build/react/index.d.ts.map +1 -0
- package/build/react/index.js +5 -0
- package/build/react/index.js.map +1 -0
- package/build/react/useBluetoothEvent.d.ts +6 -0
- package/build/react/useBluetoothEvent.d.ts.map +1 -0
- package/build/react/useBluetoothEvent.js +21 -0
- package/build/react/useBluetoothEvent.js.map +1 -0
- package/build/react/useBluetoothScan.d.ts +22 -0
- package/build/react/useBluetoothScan.d.ts.map +1 -0
- package/build/react/useBluetoothScan.js +135 -0
- package/build/react/useBluetoothScan.js.map +1 -0
- package/build/react/useBluetoothStatus.d.ts +16 -0
- package/build/react/useBluetoothStatus.d.ts.map +1 -0
- package/build/react/useBluetoothStatus.js +137 -0
- package/build/react/useBluetoothStatus.js.map +1 -0
- package/build/react/useGlassesConnection.d.ts +29 -0
- package/build/react/useGlassesConnection.d.ts.map +1 -0
- package/build/react/useGlassesConnection.js +140 -0
- package/build/react/useGlassesConnection.js.map +1 -0
- package/ios/BluetoothSdkModule.swift +14 -9
- package/ios/Source/Bridge.swift +44 -12
- package/ios/Source/DeviceManager.swift +27 -26
- package/ios/Source/DeviceStore.swift +4 -4
- package/ios/Source/MentraBluetoothSDK.swift +250 -132
- package/ios/Source/controllers/ControllerManager.swift +5 -5
- package/ios/Source/controllers/R1.swift +3 -3
- package/ios/Source/services/PhoneMic.swift +5 -5
- package/ios/Source/sgcs/Frame.swift +1 -1
- package/ios/Source/sgcs/G1.swift +1 -1
- package/ios/Source/sgcs/G2.swift +3 -3
- package/ios/Source/sgcs/Mach1.swift +1 -1
- package/ios/Source/sgcs/MentraLive.swift +31 -33
- package/ios/Source/sgcs/MentraNex.swift +2 -2
- package/ios/Source/sgcs/SGCManager.swift +5 -5
- package/ios/Source/sgcs/Simulated.swift +3 -3
- package/ios/Source/utils/Constants.swift +6 -6
- package/ios/Source/utils/JSCExperiment.swift +8 -8
- package/ios/Source/utils/TarBz2Extractor.swift +2 -2
- package/package.json +19 -1
- package/src/BluetoothSdk.types.ts +186 -28
- package/src/_internal.ts +11 -0
- package/src/{BluetoothSdkModule.ts → _private/BluetoothSdkModule.ts} +71 -38
- package/src/index.ts +80 -4
- package/src/react/index.ts +22 -0
- package/src/react/useBluetoothEvent.ts +38 -0
- package/src/react/useBluetoothScan.ts +173 -0
- package/src/react/useBluetoothStatus.ts +180 -0
- package/src/react/useGlassesConnection.ts +194 -0
- package/build/BluetoothSdkModule.d.ts.map +0 -1
- package/build/BluetoothSdkModule.js.map +0 -1
|
@@ -10,8 +10,8 @@ export type ButtonPressEvent = {
|
|
|
10
10
|
};
|
|
11
11
|
export type TouchEvent = {
|
|
12
12
|
type: "touch_event";
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
deviceModel: DeviceModel;
|
|
14
|
+
gestureName: string;
|
|
15
15
|
timestamp: number;
|
|
16
16
|
};
|
|
17
17
|
export type HeadUpEvent = {
|
|
@@ -48,7 +48,7 @@ export declare function isBusyGlassesConnectionStatus(status: GlassesConnectionS
|
|
|
48
48
|
export declare function createDisconnectedGlassesStatus(): Partial<GlassesStatus>;
|
|
49
49
|
/** K900 `sr_getvol` response (Mentra Live glasses media step volume 0–15). */
|
|
50
50
|
export type GlassesMediaVolumeGetResult = {
|
|
51
|
-
|
|
51
|
+
level: number;
|
|
52
52
|
statusCode: number;
|
|
53
53
|
};
|
|
54
54
|
/** K900 `sr_vol` acknowledgment. */
|
|
@@ -94,14 +94,14 @@ export type HotspotStatusChangeEvent = HotspotStatus & {
|
|
|
94
94
|
};
|
|
95
95
|
export type HotspotErrorEvent = {
|
|
96
96
|
type: "hotspot_error";
|
|
97
|
-
|
|
97
|
+
errorMessage: string;
|
|
98
98
|
timestamp: number;
|
|
99
99
|
};
|
|
100
100
|
export type PhotoResponseEvent = {
|
|
101
101
|
type: "photo_response";
|
|
102
102
|
state: "success";
|
|
103
103
|
requestId: string;
|
|
104
|
-
|
|
104
|
+
uploadUrl: string;
|
|
105
105
|
timestamp: number;
|
|
106
106
|
} | {
|
|
107
107
|
type: "photo_response";
|
|
@@ -116,12 +116,13 @@ export type GalleryStatusEvent = {
|
|
|
116
116
|
photos: number;
|
|
117
117
|
videos: number;
|
|
118
118
|
total: number;
|
|
119
|
-
|
|
120
|
-
|
|
119
|
+
totalSize?: number;
|
|
120
|
+
hasContent: boolean;
|
|
121
|
+
cameraBusy: boolean;
|
|
121
122
|
};
|
|
122
123
|
export type CompatibleGlassesSearchStopEvent = {
|
|
123
124
|
type: "compatible_glasses_search_stop";
|
|
124
|
-
|
|
125
|
+
deviceModel: DeviceModel;
|
|
125
126
|
};
|
|
126
127
|
export type HeartbeatSentEvent = {
|
|
127
128
|
type: "heartbeat_sent";
|
|
@@ -142,9 +143,7 @@ export type SwipeVolumeStatusEvent = {
|
|
|
142
143
|
};
|
|
143
144
|
export type SwitchStatusEvent = {
|
|
144
145
|
type: "switch_status";
|
|
145
|
-
switch_type?: number;
|
|
146
146
|
switchType?: number;
|
|
147
|
-
switch_value?: number;
|
|
148
147
|
switchValue?: number;
|
|
149
148
|
timestamp: number;
|
|
150
149
|
};
|
|
@@ -186,12 +185,10 @@ export type DashboardMenuItem = {
|
|
|
186
185
|
export type CameraFov = "standard" | "wide";
|
|
187
186
|
export type CameraFovSetting = {
|
|
188
187
|
fov: number;
|
|
189
|
-
|
|
188
|
+
roiPosition: number;
|
|
190
189
|
};
|
|
191
190
|
export type MicPreference = "auto" | "phone" | "glasses" | "bluetooth";
|
|
192
|
-
export type MicMode = "phone" | "glasses" | "
|
|
193
|
-
/** @deprecated Use {@link MicMode} for active/ranked mic modes or {@link MicPreference} for preferences. */
|
|
194
|
-
export type MicRanking = MicMode;
|
|
191
|
+
export type MicMode = "phone" | "glasses" | "bluetoothClassic" | "bluetooth";
|
|
195
192
|
export type StreamVideoConfig = {
|
|
196
193
|
width?: number;
|
|
197
194
|
height?: number;
|
|
@@ -210,7 +207,6 @@ export type StreamStartRequest = {
|
|
|
210
207
|
streamId?: string;
|
|
211
208
|
keepAlive?: boolean;
|
|
212
209
|
keepAliveIntervalSeconds?: number;
|
|
213
|
-
flash?: boolean;
|
|
214
210
|
sound?: boolean;
|
|
215
211
|
video?: StreamVideoConfig;
|
|
216
212
|
audio?: StreamAudioConfig;
|
|
@@ -226,11 +222,11 @@ export type PairFailureEvent = {
|
|
|
226
222
|
};
|
|
227
223
|
export type AudioPairingNeededEvent = {
|
|
228
224
|
type: "audio_pairing_needed";
|
|
229
|
-
|
|
225
|
+
deviceName: string;
|
|
230
226
|
};
|
|
231
227
|
export type AudioConnectedEvent = {
|
|
232
228
|
type: "audio_connected";
|
|
233
|
-
|
|
229
|
+
deviceName: string;
|
|
234
230
|
};
|
|
235
231
|
export type AudioDisconnectedEvent = {
|
|
236
232
|
type: "audio_disconnected";
|
|
@@ -361,7 +357,7 @@ export type MiniappSelectedEvent = {
|
|
|
361
357
|
type: "miniapp_selected";
|
|
362
358
|
packageName: string;
|
|
363
359
|
};
|
|
364
|
-
export type
|
|
360
|
+
export type BluetoothSdkInternalEvent = Parameters<BluetoothSdkModuleEvents[keyof BluetoothSdkModuleEvents]>[0];
|
|
365
361
|
export type BluetoothSdkModuleEvents = {
|
|
366
362
|
glasses_status: (changed: Partial<GlassesStatus>) => void;
|
|
367
363
|
bluetooth_status: (changed: Partial<BluetoothStatus>) => void;
|
|
@@ -407,6 +403,96 @@ export type BluetoothSdkModuleEvents = {
|
|
|
407
403
|
receive_command_from_ble: (event: BleCommandTraceEvent) => void;
|
|
408
404
|
miniapp_selected: (event: MiniappSelectedEvent) => void;
|
|
409
405
|
};
|
|
406
|
+
export type PublicGlassesStatus = Omit<GlassesStatus, "otaUpdateAvailable" | "otaProgress" | "otaInProgress" | "otaVersionUrl">;
|
|
407
|
+
export type PublicBluetoothStatus = Pick<BluetoothStatus, "searching" | "searchingController" | "systemMicUnavailable" | "micRanking" | "currentMic" | "searchResults" | "wifiScanResults" | "lastLog" | "otherBtConnected" | "galleryModeAuto">;
|
|
408
|
+
export type BluetoothSdkEventMap = {
|
|
409
|
+
glasses_status: Partial<PublicGlassesStatus>;
|
|
410
|
+
bluetooth_status: Partial<PublicBluetoothStatus>;
|
|
411
|
+
log: LogEvent;
|
|
412
|
+
device_discovered: Device;
|
|
413
|
+
default_device_changed: {
|
|
414
|
+
device?: Device;
|
|
415
|
+
};
|
|
416
|
+
glasses_not_ready: GlassesNotReadyEvent;
|
|
417
|
+
button_press: ButtonPressEvent;
|
|
418
|
+
touch_event: TouchEvent;
|
|
419
|
+
head_up: HeadUpEvent;
|
|
420
|
+
vad_status: VadStatusEvent;
|
|
421
|
+
battery_status: BatteryStatusEvent;
|
|
422
|
+
local_transcription: LocalTranscriptionEvent;
|
|
423
|
+
wifi_status_change: WifiStatusChangeEvent;
|
|
424
|
+
hotspot_status_change: HotspotStatusChangeEvent;
|
|
425
|
+
hotspot_error: HotspotErrorEvent;
|
|
426
|
+
photo_response: PhotoResponseEvent;
|
|
427
|
+
gallery_status: GalleryStatusEvent;
|
|
428
|
+
compatible_glasses_search_stop: CompatibleGlassesSearchStopEvent;
|
|
429
|
+
swipe_volume_status: SwipeVolumeStatusEvent;
|
|
430
|
+
switch_status: SwitchStatusEvent;
|
|
431
|
+
rgb_led_control_response: RgbLedControlResponseEvent;
|
|
432
|
+
pair_failure: PairFailureEvent;
|
|
433
|
+
audio_pairing_needed: AudioPairingNeededEvent;
|
|
434
|
+
audio_connected: AudioConnectedEvent;
|
|
435
|
+
audio_disconnected: AudioDisconnectedEvent;
|
|
436
|
+
mic_pcm: MicPcmEvent;
|
|
437
|
+
mic_lc3: MicLc3Event;
|
|
438
|
+
stream_status: StreamStatusEvent;
|
|
439
|
+
keep_alive_ack: KeepAliveAckEvent;
|
|
440
|
+
};
|
|
441
|
+
export type BluetoothSdkEventName = keyof BluetoothSdkEventMap;
|
|
442
|
+
export type BluetoothSdkEventListener<EventName extends BluetoothSdkEventName> = (event: BluetoothSdkEventMap[EventName]) => void;
|
|
443
|
+
export type BluetoothSdkSubscription = {
|
|
444
|
+
remove(): void;
|
|
445
|
+
};
|
|
446
|
+
export type BluetoothSdkEvent = BluetoothSdkEventMap[BluetoothSdkEventName];
|
|
447
|
+
export interface BluetoothSdkPublicModule {
|
|
448
|
+
addListener<EventName extends BluetoothSdkEventName>(eventName: EventName, listener: BluetoothSdkEventListener<EventName>): BluetoothSdkSubscription;
|
|
449
|
+
getGlassesStatus(): Promise<PublicGlassesStatus>;
|
|
450
|
+
getBluetoothStatus(): Promise<PublicBluetoothStatus>;
|
|
451
|
+
getDefaultDevice(): Promise<Device | null>;
|
|
452
|
+
setDefaultDevice(device: Device | null): Promise<void>;
|
|
453
|
+
clearDefaultDevice(): Promise<void>;
|
|
454
|
+
startScan(model: DeviceModel): Promise<void>;
|
|
455
|
+
stopScan(): Promise<void>;
|
|
456
|
+
scan(options: ScanOptions): Promise<Device[]>;
|
|
457
|
+
scan(model: DeviceModel, options?: ScanModelOptions): Promise<Device[]>;
|
|
458
|
+
connect(device: Device, options?: ConnectOptions): Promise<void>;
|
|
459
|
+
connectDefault(options?: ConnectOptions): Promise<void>;
|
|
460
|
+
cancelConnectionAttempt(): Promise<void>;
|
|
461
|
+
disconnect(): Promise<void>;
|
|
462
|
+
forget(): Promise<void>;
|
|
463
|
+
displayText(text: string, x?: number, y?: number, size?: number): Promise<void>;
|
|
464
|
+
clearDisplay(): Promise<void>;
|
|
465
|
+
showDashboard(): Promise<void>;
|
|
466
|
+
setDashboardPosition(height: number, depth: number): Promise<void>;
|
|
467
|
+
setHeadUpAngle(angleDegrees: number): Promise<void>;
|
|
468
|
+
setScreenDisabled(disabled: boolean): Promise<void>;
|
|
469
|
+
requestWifiScan(): Promise<void>;
|
|
470
|
+
sendWifiCredentials(ssid: string, password: string): Promise<void>;
|
|
471
|
+
forgetWifiNetwork(ssid: string): Promise<void>;
|
|
472
|
+
setHotspotState(enabled: boolean): Promise<void>;
|
|
473
|
+
setGalleryMode(mode: GalleryMode): Promise<void>;
|
|
474
|
+
setButtonPhotoSettings(size: ButtonPhotoSize): Promise<void>;
|
|
475
|
+
setButtonVideoRecordingSettings(width: number, height: number, frameRate: number): Promise<void>;
|
|
476
|
+
setButtonCameraLed(enabled: boolean): Promise<void>;
|
|
477
|
+
setButtonMaxRecordingTime(minutes: number): Promise<void>;
|
|
478
|
+
setCameraFov(fov: CameraFov): Promise<void>;
|
|
479
|
+
queryGalleryStatus(): Promise<void>;
|
|
480
|
+
requestPhoto(requestId: string, appId: string, size: PhotoSize, webhookUrl: string | null, authToken: string | null, compress: PhotoCompression, sound: boolean): Promise<void>;
|
|
481
|
+
startVideoRecording(requestId: string, save: boolean, sound: boolean): Promise<void>;
|
|
482
|
+
stopVideoRecording(requestId: string): Promise<void>;
|
|
483
|
+
startStream(params: StreamStartRequest): Promise<void>;
|
|
484
|
+
stopStream(): Promise<void>;
|
|
485
|
+
keepStreamAlive(params: StreamKeepAliveRequest): Promise<void>;
|
|
486
|
+
setMicState(enabled: boolean, useGlassesMic?: boolean, bypassVad?: boolean, sendTranscript?: boolean, sendLc3Data?: boolean): Promise<void>;
|
|
487
|
+
setPreferredMic(preferredMic: MicPreference): Promise<void>;
|
|
488
|
+
setOwnAppAudioPlaying(playing: boolean): Promise<void>;
|
|
489
|
+
getGlassesMediaVolume(): Promise<GlassesMediaVolumeGetResult>;
|
|
490
|
+
setGlassesMediaVolume(level: number): Promise<GlassesMediaVolumeSetResult>;
|
|
491
|
+
rgbLedControl(requestId: string, packageName: string | null, action: RgbLedAction, color: RgbLedColor | null, onDurationMs: number, offDurationMs: number, count: number): Promise<void>;
|
|
492
|
+
requestVersionInfo(): Promise<void>;
|
|
493
|
+
onGlassesStatus(callback: (changed: Partial<PublicGlassesStatus>) => void): () => void;
|
|
494
|
+
onBluetoothStatus(callback: (changed: Partial<PublicBluetoothStatus>) => void): () => void;
|
|
495
|
+
}
|
|
410
496
|
export type OtaStage = "download" | "install";
|
|
411
497
|
export type OtaProgressStatus = "STARTED" | "PROGRESS" | "FINISHED" | "FAILED";
|
|
412
498
|
export interface OtaStatus {
|
|
@@ -440,16 +526,16 @@ export interface OtaProgress {
|
|
|
440
526
|
export interface GlassesStatus {
|
|
441
527
|
connection: GlassesConnectionStatus;
|
|
442
528
|
micEnabled: boolean;
|
|
443
|
-
|
|
529
|
+
bluetoothClassicConnected: boolean;
|
|
444
530
|
signalStrength: number;
|
|
445
531
|
/** Milliseconds since epoch when signalStrength was last refreshed by the phone BLE stack. */
|
|
446
532
|
signalStrengthUpdatedAt: number;
|
|
447
533
|
deviceModel: string;
|
|
448
534
|
androidVersion: string;
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
535
|
+
firmwareVersion: string;
|
|
536
|
+
besFirmwareVersion: string;
|
|
537
|
+
mtkFirmwareVersion: string;
|
|
538
|
+
bluetoothMacAddress: string;
|
|
453
539
|
leftMacAddress: string;
|
|
454
540
|
rightMacAddress: string;
|
|
455
541
|
buildNumber: string;
|
|
@@ -495,9 +581,17 @@ export interface ConnectOptions {
|
|
|
495
581
|
saveAsDefault?: boolean;
|
|
496
582
|
cancelExistingConnectionAttempt?: boolean;
|
|
497
583
|
}
|
|
498
|
-
export
|
|
584
|
+
export type ScanResultsCallback = (devices: Device[]) => void;
|
|
585
|
+
export interface ScanOptions {
|
|
586
|
+
model: DeviceModel;
|
|
587
|
+
/** Defaults to 15000. */
|
|
499
588
|
timeoutMs?: number;
|
|
589
|
+
/** Alias for `timeoutMs`, useful when mirroring native examples. */
|
|
590
|
+
timeout?: number;
|
|
591
|
+
/** Called every time the discovered device list changes during the scan. */
|
|
592
|
+
onResults?: ScanResultsCallback;
|
|
500
593
|
}
|
|
594
|
+
export type ScanModelOptions = Omit<ScanOptions, "model">;
|
|
501
595
|
export interface WifiSearchResult {
|
|
502
596
|
ssid: string;
|
|
503
597
|
requiresPassword: boolean;
|
|
@@ -519,11 +613,16 @@ export interface BluetoothStatus {
|
|
|
519
613
|
systemMicUnavailable: boolean;
|
|
520
614
|
micRanking: MicMode[];
|
|
521
615
|
currentMic: MicMode | "" | null;
|
|
616
|
+
/**
|
|
617
|
+
* Nearby glasses in stable discovery order.
|
|
618
|
+
* Existing entries keep their array position as details refresh; new glasses append at the end,
|
|
619
|
+
* and removals should not reorder remaining entries.
|
|
620
|
+
*/
|
|
522
621
|
searchResults: Device[];
|
|
523
622
|
wifiScanResults: WifiSearchResult[];
|
|
524
623
|
lastLog: string[];
|
|
525
624
|
otherBtConnected: boolean;
|
|
526
|
-
|
|
625
|
+
galleryModeAuto: boolean;
|
|
527
626
|
}
|
|
528
627
|
export type BluetoothSettingsUpdate = Partial<{
|
|
529
628
|
auth_email: string;
|
|
@@ -540,12 +639,12 @@ export type BluetoothSettingsUpdate = Partial<{
|
|
|
540
639
|
dashboard_height: number;
|
|
541
640
|
dashboard_depth: number;
|
|
542
641
|
menu_apps: DashboardMenuItem[] | CoreDashboardMenuItem[] | Array<Record<string, unknown>> | null;
|
|
543
|
-
|
|
642
|
+
galleryModeAuto: boolean;
|
|
544
643
|
button_photo_size: ButtonPhotoSize;
|
|
545
644
|
button_video_settings: {
|
|
546
645
|
width: number;
|
|
547
646
|
height: number;
|
|
548
|
-
|
|
647
|
+
frameRate: number;
|
|
549
648
|
};
|
|
550
649
|
button_video_width: number;
|
|
551
650
|
button_video_height: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BluetoothSdk.types.d.ts","sourceRoot":"","sources":["../src/BluetoothSdk.types.ts"],"names":[],"mappings":"AACA,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,mBAAmB,CAAA;IACzB,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,gB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AAA;AACnG,CAAC;AAED,MAAM,UAAU,+BAA+B;IAC7C,OAAO;QACL,UAAU,EAAE,EAAC,KAAK,EAAE,cAAc,EAAC;QACnC,OAAO,EAAE,EAAC,KAAK,EAAE,UAAU,EAAC;QAC5B,IAAI,EAAE,EAAC,KAAK,EAAE,cAAc,EAAC;KAC9B,CAAA;AACH,CAAC;AA2BD,MAAM,UAAU,qBAAqB,CAAC,MAAkB;IACtD,OAAO,MAAM,CAAC,KAAK,KAAK,WAAW,CAAA;AACrC,CAAC;AAUD,MAAM,UAAU,sBAAsB,CAAC,MAAqB;IAC1D,OAAO,MAAM,CAAC,KAAK,KAAK,SAAS,CAAA;AACnC,CAAC;AA4FD,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,SAAS,EAAE,mBAAmB;IAC9B,EAAE,EAAE,mBAAmB;IACvB,EAAE,EAAE,mBAAmB;IACvB,UAAU,EAAE,aAAa;IACzB,SAAS,EAAE,gBAAgB;IAC3B,KAAK,EAAE,cAAc;IACrB,IAAI,EAAE,YAAY;IAClB,KAAK,EAAE,iBAAiB;IACxB,EAAE,EAAE,mBAAmB;CACf,CAAA","sourcesContent":["// Bluetooth SDK Event Types\nexport type GlassesNotReadyEvent = {\n type: \"glasses_not_ready\"\n message: string\n}\n\nexport type ButtonPressEvent = {\n type: \"button_press\"\n buttonId: string\n pressType: \"long\" | \"short\"\n timestamp: number\n}\n\nexport type TouchEvent = {\n type: \"touch_event\"\n device_model?: string\n gesture_name?: string\n timestamp: number\n}\n\nexport type HeadUpEvent = {\n up: boolean\n}\n\nexport type VadStatusEvent = {\n type: \"vad_status\"\n status: boolean\n}\n\nexport type BatteryStatusEvent = {\n type: \"battery_status\"\n level: number\n charging: boolean\n timestamp: number\n}\n\nexport type GlassesConnectionStatus =\n | {state: 'disconnected'}\n | {state: 'scanning'}\n | {state: 'connecting'}\n | {state: 'bonding'}\n | {state: 'connected'; fullyBooted: boolean}\n\nexport type ConnectedGlassesConnectionStatus = Extract<GlassesConnectionStatus, {state: 'connected'}>\n\nexport function isConnectedGlassesConnectionStatus(\n status: GlassesConnectionStatus,\n): status is ConnectedGlassesConnectionStatus {\n return status.state === 'connected'\n}\n\nexport function isReadyGlassesConnectionStatus(status: GlassesConnectionStatus): boolean {\n return status.state === 'connected' && status.fullyBooted\n}\n\nexport function isBusyGlassesConnectionStatus(status: GlassesConnectionStatus): boolean {\n return status.state === 'scanning' || status.state === 'connecting' || status.state === 'bonding'\n}\n\nexport function createDisconnectedGlassesStatus(): Partial<GlassesStatus> {\n return {\n connection: {state: 'disconnected'},\n hotspot: {state: 'disabled'},\n wifi: {state: 'disconnected'},\n }\n}\n\n/** K900 `sr_getvol` response (Mentra Live glasses media step volume 0–15). */\nexport type GlassesMediaVolumeGetResult = {\n vol: number\n statusCode: number\n}\n\n/** K900 `sr_vol` acknowledgment. */\nexport type GlassesMediaVolumeSetResult = {\n statusCode: number\n}\n\nexport type LocalTranscriptionEvent = {\n text: string\n isFinal?: boolean\n transcribeLanguage?: string\n}\n\nexport type LogEvent = {\n message: string\n}\n\nexport type WifiStatus = {state: 'disconnected'} | {state: 'connected'; ssid: string; localIp?: string}\n\nexport type ConnectedWifiStatus = Extract<WifiStatus, {state: 'connected'}>\n\nexport function isConnectedWifiStatus(status: WifiStatus): status is ConnectedWifiStatus {\n return status.state === 'connected'\n}\n\nexport type WifiStatusChangeEvent = WifiStatus & {\n type: \"wifi_status_change\"\n}\n\nexport type HotspotStatus = {state: 'disabled'} | {state: 'enabled'; ssid: string; password: string; localIp: string}\n\nexport type EnabledHotspotStatus = Extract<HotspotStatus, {state: 'enabled'}>\n\nexport function isEnabledHotspotStatus(status: HotspotStatus): status is EnabledHotspotStatus {\n return status.state === 'enabled'\n}\n\nexport type HotspotStatusChangeEvent = HotspotStatus & {\n type: \"hotspot_status_change\"\n}\n\nexport type HotspotErrorEvent = {\n type: \"hotspot_error\"\n error_message: string\n timestamp: number\n}\n\nexport type PhotoResponseEvent =\n | {\n type: \"photo_response\"\n state: \"success\"\n requestId: string\n photoUrl: string\n timestamp: number\n }\n | {\n type: \"photo_response\"\n state: \"error\"\n requestId: string\n timestamp: number\n errorCode?: string\n errorMessage: string\n }\n\nexport type GalleryStatusEvent = {\n type: \"gallery_status\"\n photos: number\n videos: number\n total: number\n has_content: boolean\n camera_busy: boolean\n}\n\nexport type CompatibleGlassesSearchStopEvent = {\n type: \"compatible_glasses_search_stop\"\n device_model: DeviceModel\n}\n\nexport type HeartbeatSentEvent = {\n type: \"heartbeat_sent\"\n heartbeat_sent: {\n timestamp: number\n }\n}\n\nexport type HeartbeatReceivedEvent = {\n type: \"heartbeat_received\"\n heartbeat_received: {\n timestamp: number\n }\n}\n\nexport type SwipeVolumeStatusEvent = {\n type: \"swipe_volume_status\"\n enabled: boolean\n timestamp: number\n}\n\nexport type SwitchStatusEvent = {\n type: \"switch_status\"\n switch_type?: number\n switchType?: number\n switch_value?: number\n switchValue?: number\n timestamp: number\n}\n\nexport type RgbLedControlResponseEvent =\n | {\n type: \"rgb_led_control_response\"\n state: \"success\"\n requestId: string\n }\n | {\n type: \"rgb_led_control_response\"\n state: \"error\"\n requestId: string\n errorCode: string\n }\n\nexport type RgbLedAction = \"on\" | \"off\"\nexport type RgbLedColor = \"red\" | \"green\" | \"blue\" | \"orange\" | \"white\"\n/** `\"auto\"` enables local button photo/video capture; `\"manual\"` reports button events without local gallery capture. */\nexport type GalleryMode = \"auto\" | \"manual\"\nexport type PhotoSize = \"small\" | \"medium\" | \"large\" | \"full\"\nexport type ButtonPhotoSize = \"small\" | \"medium\" | \"large\"\nexport type PhotoCompression = \"none\" | \"medium\" | \"heavy\"\nexport const DeviceModels = {\n Simulated: \"Simulated Glasses\",\n G1: \"Even Realities G1\",\n G2: \"Even Realities G2\",\n MentraLive: \"Mentra Live\",\n MentraNex: \"Mentra Display\",\n Mach1: \"Mentra Mach1\",\n Z100: \"Vuzix Z100\",\n Frame: \"Brilliant Frame\",\n R1: \"Even Realities R1\",\n} as const\n\nexport type DeviceModel = (typeof DeviceModels)[keyof typeof DeviceModels]\nexport type ObservableStoreCategory = \"glasses\" | \"bluetooth\" | \"core\"\n\nexport type DashboardMenuItem = {\n title: string\n packageName: string\n values?: Record<string, unknown>\n}\n\nexport type CameraFov = \"standard\" | \"wide\"\n\nexport type CameraFovSetting = {\n fov: number\n roi_position: number\n}\n\nexport type MicPreference = \"auto\" | \"phone\" | \"glasses\" | \"bluetooth\"\nexport type MicMode = \"phone\" | \"glasses\" | \"btclassic\" | \"bt\"\n/** @deprecated Use {@link MicMode} for active/ranked mic modes or {@link MicPreference} for preferences. */\nexport type MicRanking = MicMode\n\nexport type StreamVideoConfig = {\n width?: number\n height?: number\n bitrate?: number\n frameRate?: number\n}\n\nexport type StreamAudioConfig = {\n bitrate?: number\n sampleRate?: number\n echoCancellation?: boolean\n noiseSuppression?: boolean\n}\n\nexport type StreamStartRequest = {\n type?: \"start_stream\"\n streamUrl: string\n streamId?: string\n keepAlive?: boolean\n keepAliveIntervalSeconds?: number\n flash?: boolean\n sound?: boolean\n video?: StreamVideoConfig\n audio?: StreamAudioConfig\n}\n\nexport type StreamKeepAliveRequest = {\n type?: \"keep_stream_alive\"\n streamId: string\n ackId: string\n}\n\nexport type PairFailureEvent = {\n type: \"pair_failure\"\n error: string\n}\n\nexport type AudioPairingNeededEvent = {\n type: \"audio_pairing_needed\"\n device_name: string\n}\n\nexport type AudioConnectedEvent = {\n type: \"audio_connected\"\n device_name: string\n}\n\nexport type AudioDisconnectedEvent = {\n type: \"audio_disconnected\"\n}\n\nexport type SaveSettingEvent = {\n type: \"save_setting\"\n key: string\n value: any\n}\n\nexport type WsTextEvent = {\n type: \"ws_text\"\n text: string\n}\n\nexport type WsBinEvent = {\n type: \"ws_bin\"\n base64: string\n}\n\nexport type MicPcmEvent = {\n type: \"mic_pcm\"\n pcm: ArrayBuffer\n}\n\nexport type MicLc3Event = {\n type: \"mic_lc3\"\n lc3: ArrayBuffer\n}\n\nexport type StreamStatusLifecycleState = \"initializing\" | \"streaming\" | \"stopping\" | \"stopped\"\nexport type StreamStatusReconnectState = \"reconnecting\" | \"reconnected\" | \"reconnect_failed\"\nexport type StreamStatusState = StreamStatusLifecycleState | StreamStatusReconnectState | \"error\"\n\nexport type StreamStatusEvent =\n | {\n type: \"stream_status\"\n kind: \"lifecycle\"\n status: StreamStatusLifecycleState\n streamId?: string\n timestamp?: number\n }\n | {\n type: \"stream_status\"\n kind: \"reconnect\"\n status: \"reconnecting\"\n streamId?: string\n attempt: number\n maxAttempts: number\n reason: string\n timestamp?: number\n }\n | {\n type: \"stream_status\"\n kind: \"reconnect\"\n status: \"reconnected\"\n streamId?: string\n attempt: number\n timestamp?: number\n }\n | {\n type: \"stream_status\"\n kind: \"reconnect\"\n status: \"reconnect_failed\"\n streamId?: string\n maxAttempts: number\n timestamp?: number\n }\n | {\n type: \"stream_status\"\n kind: \"error\"\n status: \"error\"\n streamId?: string\n errorDetails: string\n timestamp?: number\n }\n | {\n type: \"stream_status\"\n kind: \"snapshot\"\n status: \"streaming\" | \"reconnecting\" | \"stopped\"\n streaming: boolean\n reconnecting: boolean\n streamId?: string\n attempt?: number\n timestamp?: number\n }\n\nexport type KeepAliveAckEvent = {\n type: \"keep_alive_ack\"\n streamId: string\n ackId: string\n timestamp?: number\n}\n\nexport type MtkUpdateCompleteEvent = {\n type: \"mtk_update_complete\"\n message: string\n timestamp: number\n}\n\nexport type OtaUpdateAvailableEvent = {\n type: \"ota_update_available\"\n version_code?: number\n version_name?: string\n updates?: string[]\n total_size?: number\n cache_ready?: boolean\n}\n\n/** @deprecated Glasses no longer emit ota_progress; use {@link OtaStatusEvent} and legacy store mapping. */\nexport type OtaProgressEvent = {\n type: \"ota_progress\"\n stage?: OtaStage\n status?: OtaProgressStatus\n progress?: number\n bytes_downloaded?: number\n total_bytes?: number\n current_update?: string\n error_message?: string\n}\n\nexport type OtaStartAckEvent = {\n type: \"ota_start_ack\"\n timestamp: number\n}\n\nexport type OtaStatusEvent = {\n type: \"ota_status\"\n session_id: string\n total_steps: number\n current_step: number\n step_type: 'apk' | 'mtk' | 'bes'\n phase: 'download' | 'install'\n step_percent: number\n overall_percent: number\n status: 'in_progress' | 'step_complete' | 'complete' | 'failed' | 'idle'\n error_message?: string\n}\n\n/** Nex BLE protobuf trace (NexEventUtils); payload matches native Map keys. */\nexport type BleCommandTraceEvent = {\n command: string\n commandText: string\n timestamp: number\n}\n\nexport type MiniappSelectedEvent = {\n type: \"miniapp_selected\"\n packageName: string\n}\n\n// Union type of all Bluetooth SDK events\nexport type BluetoothSdkEvent = Parameters<BluetoothSdkModuleEvents[keyof BluetoothSdkModuleEvents]>[0]\n\nexport type BluetoothSdkModuleEvents = {\n glasses_status: (changed: Partial<GlassesStatus>) => void\n bluetooth_status: (changed: Partial<BluetoothStatus>) => void\n log: (event: LogEvent) => void\n device_discovered: (device: Device) => void\n default_device_changed: (event: {device?: Device}) => void\n // Individual event handlers\n glasses_not_ready: (event: GlassesNotReadyEvent) => void\n button_press: (event: ButtonPressEvent) => void\n touch_event: (event: TouchEvent) => void\n head_up: (event: HeadUpEvent) => void\n vad_status: (event: VadStatusEvent) => void\n battery_status: (event: BatteryStatusEvent) => void\n local_transcription: (event: LocalTranscriptionEvent) => void\n wifi_status_change: (event: WifiStatusChangeEvent) => void\n hotspot_status_change: (event: HotspotStatusChangeEvent) => void\n hotspot_error: (event: HotspotErrorEvent) => void\n photo_response: (event: PhotoResponseEvent) => void\n gallery_status: (event: GalleryStatusEvent) => void\n compatible_glasses_search_stop: (event: CompatibleGlassesSearchStopEvent) => void\n heartbeat_sent: (event: HeartbeatSentEvent) => void\n heartbeat_received: (event: HeartbeatReceivedEvent) => void\n swipe_volume_status: (event: SwipeVolumeStatusEvent) => void\n switch_status: (event: SwitchStatusEvent) => void\n rgb_led_control_response: (event: RgbLedControlResponseEvent) => void\n pair_failure: (event: PairFailureEvent) => void\n audio_pairing_needed: (event: AudioPairingNeededEvent) => void\n audio_connected: (event: AudioConnectedEvent) => void\n audio_disconnected: (event: AudioDisconnectedEvent) => void\n save_setting: (event: SaveSettingEvent) => void\n ws_text: (event: WsTextEvent) => void\n ws_bin: (event: WsBinEvent) => void\n mic_pcm: (event: MicPcmEvent) => void\n mic_lc3: (event: MicLc3Event) => void\n stream_status: (event: StreamStatusEvent) => void\n keep_alive_ack: (event: KeepAliveAckEvent) => void\n mtk_update_complete: (event: MtkUpdateCompleteEvent) => void\n ota_update_available: (event: OtaUpdateAvailableEvent) => void\n ota_start_ack: (event: OtaStartAckEvent) => void\n ota_status: (event: OtaStatusEvent) => void\n send_command_to_ble: (event: BleCommandTraceEvent) => void\n receive_command_from_ble: (event: BleCommandTraceEvent) => void\n miniapp_selected: (event: MiniappSelectedEvent) => void\n}\n\n// OTA update status types\nexport type OtaStage = \"download\" | \"install\"\nexport type OtaProgressStatus = \"STARTED\" | \"PROGRESS\" | \"FINISHED\" | \"FAILED\"\n\nexport interface OtaStatus {\n sessionId: string\n totalSteps: number\n currentStep: number\n stepType: 'apk' | 'mtk' | 'bes'\n phase: 'download' | 'install'\n stepPercent: number\n overallPercent: number\n status: 'in_progress' | 'step_complete' | 'complete' | 'failed' | 'idle'\n error?: string\n}\n\nexport interface OtaUpdateInfo {\n available: boolean\n versionCode: number\n versionName: string\n updates: string[] // [\"apk\", \"mtk\", \"bes\"]\n totalSize: number\n cacheReady?: boolean\n}\n\nexport interface OtaProgress {\n stage: OtaStage\n status: OtaProgressStatus\n progress: number\n bytesDownloaded: number\n totalBytes: number\n currentUpdate: string\n errorMessage?: string\n}\n\nexport interface GlassesStatus {\n // state:\n connection: GlassesConnectionStatus\n micEnabled: boolean\n btcConnected: boolean\n signalStrength: number\n /** Milliseconds since epoch when signalStrength was last refreshed by the phone BLE stack. */\n signalStrengthUpdatedAt: number\n // device info\n deviceModel: string\n androidVersion: string\n fwVersion: string\n besFwVersion: string\n mtkFwVersion: string\n btMacAddress: string\n leftMacAddress: string\n rightMacAddress: string\n buildNumber: string\n otaVersionUrl: string\n appVersion: string\n bluetoothName: string\n serialNumber: string\n style: string\n color: string\n // wifi info\n wifi: WifiStatus\n // battery info\n batteryLevel: number\n charging: boolean\n caseBatteryLevel: number\n caseCharging: boolean\n caseOpen: boolean\n caseRemoved: boolean\n // hotspot info\n hotspot: HotspotStatus\n // OTA update info\n otaUpdateAvailable: OtaUpdateInfo | null\n otaProgress: OtaProgress | null\n otaInProgress: boolean\n // ring info\n controllerConnected: boolean\n controllerFullyBooted: boolean\n controllerMacAddress: string\n controllerBatteryLevel: number\n controllerSignalStrength: number\n}\n\nexport interface CoreDashboardMenuItem {\n name: string\n packageName: string\n running: boolean\n}\n\nexport interface CoreSettings {\n menu_apps: CoreDashboardMenuItem[]\n}\n\nexport interface Device {\n id: string\n model: DeviceModel\n name: string\n address?: string\n rssi?: number\n}\n\nexport interface ConnectOptions {\n saveAsDefault?: boolean\n cancelExistingConnectionAttempt?: boolean\n}\n\nexport interface ConnectFirstOptions extends ConnectOptions {\n timeoutMs?: number\n}\n\nexport interface WifiSearchResult {\n ssid: string\n requiresPassword: boolean\n signalStrength: number\n /** Frequency in MHz (from glasses scan). 5 GHz band is typically 5170–5825. Omitted if unknown. */\n frequency?: number\n}\n\nexport interface BluetoothStatus {\n // state:\n searching: boolean\n searchingController: boolean\n default_wearable?: DeviceModel | \"\"\n pending_wearable?: DeviceModel | \"\"\n device_name?: string\n device_address?: string\n default_controller?: DeviceModel | \"\"\n pending_controller?: DeviceModel | \"\"\n controller_device_name?: string\n controller_address?: string\n systemMicUnavailable: boolean\n micRanking: MicMode[]\n currentMic: MicMode | \"\" | null\n searchResults: Device[]\n wifiScanResults: WifiSearchResult[]\n lastLog: string[]\n otherBtConnected: boolean\n // desired settings the SDK sends to compatible connected glasses:\n gallery_mode: boolean\n}\n\nexport type BluetoothSettingsUpdate = Partial<{\n auth_email: string\n core_token: string\n sensing_enabled: boolean\n power_saving_mode: boolean\n lc3_frame_size: number\n preferred_mic: MicPreference\n screen_disabled: boolean\n contextual_dashboard: boolean\n head_up_angle: number\n brightness: number\n auto_brightness: boolean\n dashboard_height: number\n dashboard_depth: number\n menu_apps: DashboardMenuItem[] | CoreDashboardMenuItem[] | Array<Record<string, unknown>> | null\n gallery_mode: boolean\n button_photo_size: ButtonPhotoSize\n button_video_settings: {width: number; height: number; fps: number}\n button_video_width: number\n button_video_height: number\n button_video_fps: number\n button_camera_led: boolean\n button_max_recording_time: number\n camera_fov: CameraFovSetting\n should_send_pcm: boolean\n should_send_lc3: boolean\n should_send_transcript: boolean\n bypass_vad: boolean\n offline_mode: boolean\n offline_captions_running: boolean\n local_stt_fallback_active: boolean\n pending_wearable: DeviceModel | \"\"\n default_wearable: DeviceModel | \"\"\n device_name: string\n device_address: string\n default_controller: DeviceModel | \"\"\n pending_controller: DeviceModel | \"\"\n controller_device_name: string\n controller_address: string\n}>\n"]}
|
|
1
|
+
{"version":3,"file":"BluetoothSdk.types.js","sourceRoot":"","sources":["../src/BluetoothSdk.types.ts"],"names":[],"mappings":"AA6CA,MAAM,UAAU,kCAAkC,CAChD,MAA+B;IAE/B,OAAO,MAAM,CAAC,KAAK,KAAK,WAAW,CAAA;AACrC,CAAC;AAED,MAAM,UAAU,8BAA8B,CAAC,MAA+B;IAC5E,OAAO,MAAM,CAAC,KAAK,KAAK,WAAW,IAAI,MAAM,CAAC,WAAW,CAAA;AAC3D,CAAC;AAED,MAAM,UAAU,6BAA6B,CAAC,MAA+B;IAC3E,OAAO,MAAM,CAAC,KAAK,KAAK,UAAU,IAAI,MAAM,CAAC,KAAK,KAAK,YAAY,IAAI,MAAM,CAAC,KAAK,KAAK,SAAS,CAAA;AACnG,CAAC;AAED,MAAM,UAAU,+BAA+B;IAC7C,OAAO;QACL,UAAU,EAAE,EAAC,KAAK,EAAE,cAAc,EAAC;QACnC,OAAO,EAAE,EAAC,KAAK,EAAE,UAAU,EAAC;QAC5B,IAAI,EAAE,EAAC,KAAK,EAAE,cAAc,EAAC;KAC9B,CAAA;AACH,CAAC;AA2BD,MAAM,UAAU,qBAAqB,CAAC,MAAkB;IACtD,OAAO,MAAM,CAAC,KAAK,KAAK,WAAW,CAAA;AACrC,CAAC;AAUD,MAAM,UAAU,sBAAsB,CAAC,MAAqB;IAC1D,OAAO,MAAM,CAAC,KAAK,KAAK,SAAS,CAAA;AACnC,CAAC;AA2FD,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,SAAS,EAAE,mBAAmB;IAC9B,EAAE,EAAE,mBAAmB;IACvB,EAAE,EAAE,mBAAmB;IACvB,UAAU,EAAE,aAAa;IACzB,SAAS,EAAE,gBAAgB;IAC3B,KAAK,EAAE,cAAc;IACrB,IAAI,EAAE,YAAY;IAClB,KAAK,EAAE,iBAAiB;IACxB,EAAE,EAAE,mBAAmB;CACf,CAAA","sourcesContent":["// Bluetooth SDK Event Types\nexport type GlassesNotReadyEvent = {\n type: \"glasses_not_ready\"\n message: string\n}\n\nexport type ButtonPressEvent = {\n type: \"button_press\"\n buttonId: string\n pressType: \"long\" | \"short\"\n timestamp: number\n}\n\nexport type TouchEvent = {\n type: \"touch_event\"\n deviceModel: DeviceModel\n gestureName: string\n timestamp: number\n}\n\nexport type HeadUpEvent = {\n up: boolean\n}\n\nexport type VadStatusEvent = {\n type: \"vad_status\"\n status: boolean\n}\n\nexport type BatteryStatusEvent = {\n type: \"battery_status\"\n level: number\n charging: boolean\n timestamp: number\n}\n\nexport type GlassesConnectionStatus =\n | {state: 'disconnected'}\n | {state: 'scanning'}\n | {state: 'connecting'}\n | {state: 'bonding'}\n | {state: 'connected'; fullyBooted: boolean}\n\nexport type ConnectedGlassesConnectionStatus = Extract<GlassesConnectionStatus, {state: 'connected'}>\n\nexport function isConnectedGlassesConnectionStatus(\n status: GlassesConnectionStatus,\n): status is ConnectedGlassesConnectionStatus {\n return status.state === 'connected'\n}\n\nexport function isReadyGlassesConnectionStatus(status: GlassesConnectionStatus): boolean {\n return status.state === 'connected' && status.fullyBooted\n}\n\nexport function isBusyGlassesConnectionStatus(status: GlassesConnectionStatus): boolean {\n return status.state === 'scanning' || status.state === 'connecting' || status.state === 'bonding'\n}\n\nexport function createDisconnectedGlassesStatus(): Partial<GlassesStatus> {\n return {\n connection: {state: 'disconnected'},\n hotspot: {state: 'disabled'},\n wifi: {state: 'disconnected'},\n }\n}\n\n/** K900 `sr_getvol` response (Mentra Live glasses media step volume 0–15). */\nexport type GlassesMediaVolumeGetResult = {\n level: number\n statusCode: number\n}\n\n/** K900 `sr_vol` acknowledgment. */\nexport type GlassesMediaVolumeSetResult = {\n statusCode: number\n}\n\nexport type LocalTranscriptionEvent = {\n text: string\n isFinal?: boolean\n transcribeLanguage?: string\n}\n\nexport type LogEvent = {\n message: string\n}\n\nexport type WifiStatus = {state: 'disconnected'} | {state: 'connected'; ssid: string; localIp?: string}\n\nexport type ConnectedWifiStatus = Extract<WifiStatus, {state: 'connected'}>\n\nexport function isConnectedWifiStatus(status: WifiStatus): status is ConnectedWifiStatus {\n return status.state === 'connected'\n}\n\nexport type WifiStatusChangeEvent = WifiStatus & {\n type: \"wifi_status_change\"\n}\n\nexport type HotspotStatus = {state: 'disabled'} | {state: 'enabled'; ssid: string; password: string; localIp: string}\n\nexport type EnabledHotspotStatus = Extract<HotspotStatus, {state: 'enabled'}>\n\nexport function isEnabledHotspotStatus(status: HotspotStatus): status is EnabledHotspotStatus {\n return status.state === 'enabled'\n}\n\nexport type HotspotStatusChangeEvent = HotspotStatus & {\n type: \"hotspot_status_change\"\n}\n\nexport type HotspotErrorEvent = {\n type: \"hotspot_error\"\n errorMessage: string\n timestamp: number\n}\n\nexport type PhotoResponseEvent =\n | {\n type: \"photo_response\"\n state: \"success\"\n requestId: string\n uploadUrl: string\n timestamp: number\n }\n | {\n type: \"photo_response\"\n state: \"error\"\n requestId: string\n timestamp: number\n errorCode?: string\n errorMessage: string\n }\n\nexport type GalleryStatusEvent = {\n type: \"gallery_status\"\n photos: number\n videos: number\n total: number\n totalSize?: number\n hasContent: boolean\n cameraBusy: boolean\n}\n\nexport type CompatibleGlassesSearchStopEvent = {\n type: \"compatible_glasses_search_stop\"\n deviceModel: DeviceModel\n}\n\nexport type HeartbeatSentEvent = {\n type: \"heartbeat_sent\"\n heartbeat_sent: {\n timestamp: number\n }\n}\n\nexport type HeartbeatReceivedEvent = {\n type: \"heartbeat_received\"\n heartbeat_received: {\n timestamp: number\n }\n}\n\nexport type SwipeVolumeStatusEvent = {\n type: \"swipe_volume_status\"\n enabled: boolean\n timestamp: number\n}\n\nexport type SwitchStatusEvent = {\n type: \"switch_status\"\n switchType?: number\n switchValue?: number\n timestamp: number\n}\n\nexport type RgbLedControlResponseEvent =\n | {\n type: \"rgb_led_control_response\"\n state: \"success\"\n requestId: string\n }\n | {\n type: \"rgb_led_control_response\"\n state: \"error\"\n requestId: string\n errorCode: string\n }\n\nexport type RgbLedAction = \"on\" | \"off\"\nexport type RgbLedColor = \"red\" | \"green\" | \"blue\" | \"orange\" | \"white\"\n/** `\"auto\"` enables local button photo/video capture; `\"manual\"` reports button events without local gallery capture. */\nexport type GalleryMode = \"auto\" | \"manual\"\nexport type PhotoSize = \"small\" | \"medium\" | \"large\" | \"full\"\nexport type ButtonPhotoSize = \"small\" | \"medium\" | \"large\"\nexport type PhotoCompression = \"none\" | \"medium\" | \"heavy\"\nexport const DeviceModels = {\n Simulated: \"Simulated Glasses\",\n G1: \"Even Realities G1\",\n G2: \"Even Realities G2\",\n MentraLive: \"Mentra Live\",\n MentraNex: \"Mentra Display\",\n Mach1: \"Mentra Mach1\",\n Z100: \"Vuzix Z100\",\n Frame: \"Brilliant Frame\",\n R1: \"Even Realities R1\",\n} as const\n\nexport type DeviceModel = (typeof DeviceModels)[keyof typeof DeviceModels]\nexport type ObservableStoreCategory = \"glasses\" | \"bluetooth\" | \"core\"\n\nexport type DashboardMenuItem = {\n title: string\n packageName: string\n values?: Record<string, unknown>\n}\n\nexport type CameraFov = \"standard\" | \"wide\"\n\nexport type CameraFovSetting = {\n fov: number\n roiPosition: number\n}\n\nexport type MicPreference = \"auto\" | \"phone\" | \"glasses\" | \"bluetooth\"\nexport type MicMode = \"phone\" | \"glasses\" | \"bluetoothClassic\" | \"bluetooth\"\n\nexport type StreamVideoConfig = {\n width?: number\n height?: number\n bitrate?: number\n frameRate?: number\n}\n\nexport type StreamAudioConfig = {\n bitrate?: number\n sampleRate?: number\n echoCancellation?: boolean\n noiseSuppression?: boolean\n}\n\nexport type StreamStartRequest = {\n type?: \"start_stream\"\n streamUrl: string\n streamId?: string\n keepAlive?: boolean\n keepAliveIntervalSeconds?: number\n sound?: boolean\n video?: StreamVideoConfig\n audio?: StreamAudioConfig\n}\n\nexport type StreamKeepAliveRequest = {\n type?: \"keep_stream_alive\"\n streamId: string\n ackId: string\n}\n\nexport type PairFailureEvent = {\n type: \"pair_failure\"\n error: string\n}\n\nexport type AudioPairingNeededEvent = {\n type: \"audio_pairing_needed\"\n deviceName: string\n}\n\nexport type AudioConnectedEvent = {\n type: \"audio_connected\"\n deviceName: string\n}\n\nexport type AudioDisconnectedEvent = {\n type: \"audio_disconnected\"\n}\n\nexport type SaveSettingEvent = {\n type: \"save_setting\"\n key: string\n value: any\n}\n\nexport type WsTextEvent = {\n type: \"ws_text\"\n text: string\n}\n\nexport type WsBinEvent = {\n type: \"ws_bin\"\n base64: string\n}\n\nexport type MicPcmEvent = {\n type: \"mic_pcm\"\n pcm: ArrayBuffer\n}\n\nexport type MicLc3Event = {\n type: \"mic_lc3\"\n lc3: ArrayBuffer\n}\n\nexport type StreamStatusLifecycleState = \"initializing\" | \"streaming\" | \"stopping\" | \"stopped\"\nexport type StreamStatusReconnectState = \"reconnecting\" | \"reconnected\" | \"reconnect_failed\"\nexport type StreamStatusState = StreamStatusLifecycleState | StreamStatusReconnectState | \"error\"\n\nexport type StreamStatusEvent =\n | {\n type: \"stream_status\"\n kind: \"lifecycle\"\n status: StreamStatusLifecycleState\n streamId?: string\n timestamp?: number\n }\n | {\n type: \"stream_status\"\n kind: \"reconnect\"\n status: \"reconnecting\"\n streamId?: string\n attempt: number\n maxAttempts: number\n reason: string\n timestamp?: number\n }\n | {\n type: \"stream_status\"\n kind: \"reconnect\"\n status: \"reconnected\"\n streamId?: string\n attempt: number\n timestamp?: number\n }\n | {\n type: \"stream_status\"\n kind: \"reconnect\"\n status: \"reconnect_failed\"\n streamId?: string\n maxAttempts: number\n timestamp?: number\n }\n | {\n type: \"stream_status\"\n kind: \"error\"\n status: \"error\"\n streamId?: string\n errorDetails: string\n timestamp?: number\n }\n | {\n type: \"stream_status\"\n kind: \"snapshot\"\n status: \"streaming\" | \"reconnecting\" | \"stopped\"\n streaming: boolean\n reconnecting: boolean\n streamId?: string\n attempt?: number\n timestamp?: number\n }\n\nexport type KeepAliveAckEvent = {\n type: \"keep_alive_ack\"\n streamId: string\n ackId: string\n timestamp?: number\n}\n\nexport type MtkUpdateCompleteEvent = {\n type: \"mtk_update_complete\"\n message: string\n timestamp: number\n}\n\nexport type OtaUpdateAvailableEvent = {\n type: \"ota_update_available\"\n version_code?: number\n version_name?: string\n updates?: string[]\n total_size?: number\n cache_ready?: boolean\n}\n\n/** @deprecated Glasses no longer emit ota_progress; use {@link OtaStatusEvent} and legacy store mapping. */\nexport type OtaProgressEvent = {\n type: \"ota_progress\"\n stage?: OtaStage\n status?: OtaProgressStatus\n progress?: number\n bytes_downloaded?: number\n total_bytes?: number\n current_update?: string\n error_message?: string\n}\n\nexport type OtaStartAckEvent = {\n type: \"ota_start_ack\"\n timestamp: number\n}\n\nexport type OtaStatusEvent = {\n type: \"ota_status\"\n session_id: string\n total_steps: number\n current_step: number\n step_type: 'apk' | 'mtk' | 'bes'\n phase: 'download' | 'install'\n step_percent: number\n overall_percent: number\n status: 'in_progress' | 'step_complete' | 'complete' | 'failed' | 'idle'\n error_message?: string\n}\n\n/** Nex BLE protobuf trace (NexEventUtils); payload matches native Map keys. */\nexport type BleCommandTraceEvent = {\n command: string\n commandText: string\n timestamp: number\n}\n\nexport type MiniappSelectedEvent = {\n type: \"miniapp_selected\"\n packageName: string\n}\n\n// Union type of all native/internal Bluetooth SDK events.\nexport type BluetoothSdkInternalEvent = Parameters<BluetoothSdkModuleEvents[keyof BluetoothSdkModuleEvents]>[0]\n\nexport type BluetoothSdkModuleEvents = {\n glasses_status: (changed: Partial<GlassesStatus>) => void\n bluetooth_status: (changed: Partial<BluetoothStatus>) => void\n log: (event: LogEvent) => void\n device_discovered: (device: Device) => void\n default_device_changed: (event: {device?: Device}) => void\n // Individual event handlers\n glasses_not_ready: (event: GlassesNotReadyEvent) => void\n button_press: (event: ButtonPressEvent) => void\n touch_event: (event: TouchEvent) => void\n head_up: (event: HeadUpEvent) => void\n vad_status: (event: VadStatusEvent) => void\n battery_status: (event: BatteryStatusEvent) => void\n local_transcription: (event: LocalTranscriptionEvent) => void\n wifi_status_change: (event: WifiStatusChangeEvent) => void\n hotspot_status_change: (event: HotspotStatusChangeEvent) => void\n hotspot_error: (event: HotspotErrorEvent) => void\n photo_response: (event: PhotoResponseEvent) => void\n gallery_status: (event: GalleryStatusEvent) => void\n compatible_glasses_search_stop: (event: CompatibleGlassesSearchStopEvent) => void\n heartbeat_sent: (event: HeartbeatSentEvent) => void\n heartbeat_received: (event: HeartbeatReceivedEvent) => void\n swipe_volume_status: (event: SwipeVolumeStatusEvent) => void\n switch_status: (event: SwitchStatusEvent) => void\n rgb_led_control_response: (event: RgbLedControlResponseEvent) => void\n pair_failure: (event: PairFailureEvent) => void\n audio_pairing_needed: (event: AudioPairingNeededEvent) => void\n audio_connected: (event: AudioConnectedEvent) => void\n audio_disconnected: (event: AudioDisconnectedEvent) => void\n save_setting: (event: SaveSettingEvent) => void\n ws_text: (event: WsTextEvent) => void\n ws_bin: (event: WsBinEvent) => void\n mic_pcm: (event: MicPcmEvent) => void\n mic_lc3: (event: MicLc3Event) => void\n stream_status: (event: StreamStatusEvent) => void\n keep_alive_ack: (event: KeepAliveAckEvent) => void\n mtk_update_complete: (event: MtkUpdateCompleteEvent) => void\n ota_update_available: (event: OtaUpdateAvailableEvent) => void\n ota_start_ack: (event: OtaStartAckEvent) => void\n ota_status: (event: OtaStatusEvent) => void\n send_command_to_ble: (event: BleCommandTraceEvent) => void\n receive_command_from_ble: (event: BleCommandTraceEvent) => void\n miniapp_selected: (event: MiniappSelectedEvent) => void\n}\n\nexport type PublicGlassesStatus = Omit<\n GlassesStatus,\n \"otaUpdateAvailable\" | \"otaProgress\" | \"otaInProgress\" | \"otaVersionUrl\"\n>\n\nexport type PublicBluetoothStatus = Pick<\n BluetoothStatus,\n | \"searching\"\n | \"searchingController\"\n | \"systemMicUnavailable\"\n | \"micRanking\"\n | \"currentMic\"\n | \"searchResults\"\n | \"wifiScanResults\"\n | \"lastLog\"\n | \"otherBtConnected\"\n | \"galleryModeAuto\"\n>\n\nexport type BluetoothSdkEventMap = {\n glasses_status: Partial<PublicGlassesStatus>\n bluetooth_status: Partial<PublicBluetoothStatus>\n log: LogEvent\n device_discovered: Device\n default_device_changed: {device?: Device}\n glasses_not_ready: GlassesNotReadyEvent\n button_press: ButtonPressEvent\n touch_event: TouchEvent\n head_up: HeadUpEvent\n vad_status: VadStatusEvent\n battery_status: BatteryStatusEvent\n local_transcription: LocalTranscriptionEvent\n wifi_status_change: WifiStatusChangeEvent\n hotspot_status_change: HotspotStatusChangeEvent\n hotspot_error: HotspotErrorEvent\n photo_response: PhotoResponseEvent\n gallery_status: GalleryStatusEvent\n compatible_glasses_search_stop: CompatibleGlassesSearchStopEvent\n swipe_volume_status: SwipeVolumeStatusEvent\n switch_status: SwitchStatusEvent\n rgb_led_control_response: RgbLedControlResponseEvent\n pair_failure: PairFailureEvent\n audio_pairing_needed: AudioPairingNeededEvent\n audio_connected: AudioConnectedEvent\n audio_disconnected: AudioDisconnectedEvent\n mic_pcm: MicPcmEvent\n mic_lc3: MicLc3Event\n stream_status: StreamStatusEvent\n keep_alive_ack: KeepAliveAckEvent\n}\n\nexport type BluetoothSdkEventName = keyof BluetoothSdkEventMap\n\nexport type BluetoothSdkEventListener<EventName extends BluetoothSdkEventName> = (\n event: BluetoothSdkEventMap[EventName],\n) => void\n\nexport type BluetoothSdkSubscription = {\n remove(): void\n}\n\nexport type BluetoothSdkEvent = BluetoothSdkEventMap[BluetoothSdkEventName]\n\nexport interface BluetoothSdkPublicModule {\n addListener<EventName extends BluetoothSdkEventName>(\n eventName: EventName,\n listener: BluetoothSdkEventListener<EventName>,\n ): BluetoothSdkSubscription\n\n getGlassesStatus(): Promise<PublicGlassesStatus>\n getBluetoothStatus(): Promise<PublicBluetoothStatus>\n getDefaultDevice(): Promise<Device | null>\n setDefaultDevice(device: Device | null): Promise<void>\n clearDefaultDevice(): Promise<void>\n\n startScan(model: DeviceModel): Promise<void>\n stopScan(): Promise<void>\n scan(options: ScanOptions): Promise<Device[]>\n scan(model: DeviceModel, options?: ScanModelOptions): Promise<Device[]>\n connect(device: Device, options?: ConnectOptions): Promise<void>\n connectDefault(options?: ConnectOptions): Promise<void>\n cancelConnectionAttempt(): Promise<void>\n disconnect(): Promise<void>\n forget(): Promise<void>\n\n displayText(text: string, x?: number, y?: number, size?: number): Promise<void>\n clearDisplay(): Promise<void>\n showDashboard(): Promise<void>\n setDashboardPosition(height: number, depth: number): Promise<void>\n setHeadUpAngle(angleDegrees: number): Promise<void>\n setScreenDisabled(disabled: boolean): Promise<void>\n\n requestWifiScan(): Promise<void>\n sendWifiCredentials(ssid: string, password: string): Promise<void>\n forgetWifiNetwork(ssid: string): Promise<void>\n setHotspotState(enabled: boolean): Promise<void>\n\n setGalleryMode(mode: GalleryMode): Promise<void>\n setButtonPhotoSettings(size: ButtonPhotoSize): Promise<void>\n setButtonVideoRecordingSettings(width: number, height: number, frameRate: number): Promise<void>\n setButtonCameraLed(enabled: boolean): Promise<void>\n setButtonMaxRecordingTime(minutes: number): Promise<void>\n setCameraFov(fov: CameraFov): Promise<void>\n queryGalleryStatus(): Promise<void>\n requestPhoto(\n requestId: string,\n appId: string,\n size: PhotoSize,\n webhookUrl: string | null,\n authToken: string | null,\n compress: PhotoCompression,\n sound: boolean,\n ): Promise<void>\n startVideoRecording(requestId: string, save: boolean, sound: boolean): Promise<void>\n stopVideoRecording(requestId: string): Promise<void>\n\n startStream(params: StreamStartRequest): Promise<void>\n stopStream(): Promise<void>\n keepStreamAlive(params: StreamKeepAliveRequest): Promise<void>\n\n setMicState(\n enabled: boolean,\n useGlassesMic?: boolean,\n bypassVad?: boolean,\n sendTranscript?: boolean,\n sendLc3Data?: boolean,\n ): Promise<void>\n setPreferredMic(preferredMic: MicPreference): Promise<void>\n setOwnAppAudioPlaying(playing: boolean): Promise<void>\n getGlassesMediaVolume(): Promise<GlassesMediaVolumeGetResult>\n setGlassesMediaVolume(level: number): Promise<GlassesMediaVolumeSetResult>\n\n rgbLedControl(\n requestId: string,\n packageName: string | null,\n action: RgbLedAction,\n color: RgbLedColor | null,\n onDurationMs: number,\n offDurationMs: number,\n count: number,\n ): Promise<void>\n\n requestVersionInfo(): Promise<void>\n onGlassesStatus(callback: (changed: Partial<PublicGlassesStatus>) => void): () => void\n onBluetoothStatus(callback: (changed: Partial<PublicBluetoothStatus>) => void): () => void\n}\n\n// OTA update status types\nexport type OtaStage = \"download\" | \"install\"\nexport type OtaProgressStatus = \"STARTED\" | \"PROGRESS\" | \"FINISHED\" | \"FAILED\"\n\nexport interface OtaStatus {\n sessionId: string\n totalSteps: number\n currentStep: number\n stepType: 'apk' | 'mtk' | 'bes'\n phase: 'download' | 'install'\n stepPercent: number\n overallPercent: number\n status: 'in_progress' | 'step_complete' | 'complete' | 'failed' | 'idle'\n error?: string\n}\n\nexport interface OtaUpdateInfo {\n available: boolean\n versionCode: number\n versionName: string\n updates: string[] // [\"apk\", \"mtk\", \"bes\"]\n totalSize: number\n cacheReady?: boolean\n}\n\nexport interface OtaProgress {\n stage: OtaStage\n status: OtaProgressStatus\n progress: number\n bytesDownloaded: number\n totalBytes: number\n currentUpdate: string\n errorMessage?: string\n}\n\nexport interface GlassesStatus {\n // state:\n connection: GlassesConnectionStatus\n micEnabled: boolean\n bluetoothClassicConnected: boolean\n signalStrength: number\n /** Milliseconds since epoch when signalStrength was last refreshed by the phone BLE stack. */\n signalStrengthUpdatedAt: number\n // device info\n deviceModel: string\n androidVersion: string\n firmwareVersion: string\n besFirmwareVersion: string\n mtkFirmwareVersion: string\n bluetoothMacAddress: string\n leftMacAddress: string\n rightMacAddress: string\n buildNumber: string\n otaVersionUrl: string\n appVersion: string\n bluetoothName: string\n serialNumber: string\n style: string\n color: string\n // wifi info\n wifi: WifiStatus\n // battery info\n batteryLevel: number\n charging: boolean\n caseBatteryLevel: number\n caseCharging: boolean\n caseOpen: boolean\n caseRemoved: boolean\n // hotspot info\n hotspot: HotspotStatus\n // OTA update info\n otaUpdateAvailable: OtaUpdateInfo | null\n otaProgress: OtaProgress | null\n otaInProgress: boolean\n // ring info\n controllerConnected: boolean\n controllerFullyBooted: boolean\n controllerMacAddress: string\n controllerBatteryLevel: number\n controllerSignalStrength: number\n}\n\nexport interface CoreDashboardMenuItem {\n name: string\n packageName: string\n running: boolean\n}\n\nexport interface CoreSettings {\n menu_apps: CoreDashboardMenuItem[]\n}\n\nexport interface Device {\n id: string\n model: DeviceModel\n name: string\n address?: string\n rssi?: number\n}\n\nexport interface ConnectOptions {\n saveAsDefault?: boolean\n cancelExistingConnectionAttempt?: boolean\n}\n\nexport type ScanResultsCallback = (devices: Device[]) => void\n\nexport interface ScanOptions {\n model: DeviceModel\n /** Defaults to 15000. */\n timeoutMs?: number\n /** Alias for `timeoutMs`, useful when mirroring native examples. */\n timeout?: number\n /** Called every time the discovered device list changes during the scan. */\n onResults?: ScanResultsCallback\n}\n\nexport type ScanModelOptions = Omit<ScanOptions, \"model\">\n\nexport interface WifiSearchResult {\n ssid: string\n requiresPassword: boolean\n signalStrength: number\n /** Frequency in MHz (from glasses scan). 5 GHz band is typically 5170–5825. Omitted if unknown. */\n frequency?: number\n}\n\nexport interface BluetoothStatus {\n // state:\n searching: boolean\n searchingController: boolean\n default_wearable?: DeviceModel | \"\"\n pending_wearable?: DeviceModel | \"\"\n device_name?: string\n device_address?: string\n default_controller?: DeviceModel | \"\"\n pending_controller?: DeviceModel | \"\"\n controller_device_name?: string\n controller_address?: string\n systemMicUnavailable: boolean\n micRanking: MicMode[]\n currentMic: MicMode | \"\" | null\n /**\n * Nearby glasses in stable discovery order.\n * Existing entries keep their array position as details refresh; new glasses append at the end,\n * and removals should not reorder remaining entries.\n */\n searchResults: Device[]\n wifiScanResults: WifiSearchResult[]\n lastLog: string[]\n otherBtConnected: boolean\n // desired settings the SDK sends to compatible connected glasses:\n galleryModeAuto: boolean\n}\n\nexport type BluetoothSettingsUpdate = Partial<{\n auth_email: string\n core_token: string\n sensing_enabled: boolean\n power_saving_mode: boolean\n lc3_frame_size: number\n preferred_mic: MicPreference\n screen_disabled: boolean\n contextual_dashboard: boolean\n head_up_angle: number\n brightness: number\n auto_brightness: boolean\n dashboard_height: number\n dashboard_depth: number\n menu_apps: DashboardMenuItem[] | CoreDashboardMenuItem[] | Array<Record<string, unknown>> | null\n galleryModeAuto: boolean\n button_photo_size: ButtonPhotoSize\n button_video_settings: {width: number; height: number; frameRate: number}\n button_video_width: number\n button_video_height: number\n button_video_fps: number\n button_camera_led: boolean\n button_max_recording_time: number\n camera_fov: CameraFovSetting\n should_send_pcm: boolean\n should_send_lc3: boolean\n should_send_transcript: boolean\n bypass_vad: boolean\n offline_mode: boolean\n offline_captions_running: boolean\n local_stt_fallback_active: boolean\n pending_wearable: DeviceModel | \"\"\n default_wearable: DeviceModel | \"\"\n device_name: string\n device_address: string\n default_controller: DeviceModel | \"\"\n pending_controller: DeviceModel | \"\"\n controller_device_name: string\n controller_address: string\n}>\n"]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MentraOS-only compatibility entrypoint.
|
|
3
|
+
*
|
|
4
|
+
* Partner apps should import from `@mentra/bluetooth-sdk`. This file is not a
|
|
5
|
+
* package export; MentraOS resolves it through its local
|
|
6
|
+
* `@mentra/bluetooth-sdk-internal` alias while the app is migrated onto the
|
|
7
|
+
* public SDK surface.
|
|
8
|
+
*/
|
|
9
|
+
export { default } from "./_private/BluetoothSdkModule";
|
|
10
|
+
export type { BluetoothSdkInternalModule } from "./_private/BluetoothSdkModule";
|
|
11
|
+
export * from "./BluetoothSdk.types";
|
|
12
|
+
//# sourceMappingURL=_internal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_internal.d.ts","sourceRoot":"","sources":["../src/_internal.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAC,OAAO,EAAC,MAAM,+BAA+B,CAAA;AACrD,YAAY,EAAC,0BAA0B,EAAC,MAAM,+BAA+B,CAAA;AAC7E,cAAc,sBAAsB,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MentraOS-only compatibility entrypoint.
|
|
3
|
+
*
|
|
4
|
+
* Partner apps should import from `@mentra/bluetooth-sdk`. This file is not a
|
|
5
|
+
* package export; MentraOS resolves it through its local
|
|
6
|
+
* `@mentra/bluetooth-sdk-internal` alias while the app is migrated onto the
|
|
7
|
+
* public SDK surface.
|
|
8
|
+
*/
|
|
9
|
+
export { default } from "./_private/BluetoothSdkModule";
|
|
10
|
+
export * from "./BluetoothSdk.types";
|
|
11
|
+
//# sourceMappingURL=_internal.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_internal.js","sourceRoot":"","sources":["../src/_internal.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,EAAC,OAAO,EAAC,MAAM,+BAA+B,CAAA;AAErD,cAAc,sBAAsB,CAAA","sourcesContent":["/**\n * MentraOS-only compatibility entrypoint.\n *\n * Partner apps should import from `@mentra/bluetooth-sdk`. This file is not a\n * package export; MentraOS resolves it through its local\n * `@mentra/bluetooth-sdk-internal` alias while the app is migrated onto the\n * public SDK surface.\n */\nexport {default} from \"./_private/BluetoothSdkModule\"\nexport type {BluetoothSdkInternalModule} from \"./_private/BluetoothSdkModule\"\nexport * from \"./BluetoothSdk.types\"\n"]}
|
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
import { NativeModule } from "expo";
|
|
2
|
-
import { BluetoothSettingsUpdate, BluetoothSdkModuleEvents, BluetoothStatus, ButtonPhotoSize, CameraFov,
|
|
2
|
+
import { BluetoothSettingsUpdate, BluetoothSdkPublicModule, BluetoothSdkModuleEvents, BluetoothStatus, ButtonPhotoSize, CameraFov, ConnectOptions, DashboardMenuItem, Device, DeviceModel, GalleryMode, GlassesMediaVolumeGetResult, GlassesMediaVolumeSetResult, GlassesStatus, MicPreference, ObservableStoreCategory, PhotoCompression, PhotoSize, RgbLedAction, RgbLedColor, ScanModelOptions, ScanOptions, StreamKeepAliveRequest, StreamStartRequest } from "../BluetoothSdk.types";
|
|
3
|
+
/**
|
|
4
|
+
* Private React Native native-module facade.
|
|
5
|
+
*
|
|
6
|
+
* This file intentionally lives under `_private` so the package root can expose
|
|
7
|
+
* a small SDK surface while MentraOS uses its monorepo-only internal alias
|
|
8
|
+
* during migration.
|
|
9
|
+
*/
|
|
3
10
|
type GlassesListener = (changed: Partial<GlassesStatus>) => void;
|
|
4
11
|
type BluetoothStatusListener = (changed: Partial<BluetoothStatus>) => void;
|
|
5
|
-
declare class
|
|
12
|
+
declare class BluetoothSdkNativeModule extends NativeModule<BluetoothSdkModuleEvents> {
|
|
6
13
|
getGlassesStatus(): Promise<GlassesStatus>;
|
|
7
14
|
getBluetoothStatus(): Promise<BluetoothStatus>;
|
|
8
15
|
getDefaultDevice(): Promise<Device | null>;
|
|
@@ -16,7 +23,9 @@ declare class BluetoothSdkModule extends NativeModule<BluetoothSdkModuleEvents>
|
|
|
16
23
|
setDefaultDevice(device: Device | null): Promise<void>;
|
|
17
24
|
clearDefaultDevice(): Promise<void>;
|
|
18
25
|
startScan(model: DeviceModel): Promise<void>;
|
|
19
|
-
|
|
26
|
+
stopScan(): Promise<void>;
|
|
27
|
+
scan(options: ScanOptions): Promise<Device[]>;
|
|
28
|
+
scan(model: DeviceModel, options?: ScanModelOptions): Promise<Device[]>;
|
|
20
29
|
connect(device: Device, options?: ConnectOptions): Promise<void>;
|
|
21
30
|
connectWithOptions(device: Device, options: Required<ConnectOptions>): Promise<void>;
|
|
22
31
|
cancelConnectionAttempt(): Promise<void>;
|
|
@@ -45,16 +54,16 @@ declare class BluetoothSdkModule extends NativeModule<BluetoothSdkModuleEvents>
|
|
|
45
54
|
logCurrentWifiFrequency(): Promise<void>;
|
|
46
55
|
setGalleryMode(mode: GalleryMode): Promise<void>;
|
|
47
56
|
setButtonPhotoSettings(size: ButtonPhotoSize): Promise<void>;
|
|
48
|
-
setButtonVideoRecordingSettings(width: number, height: number,
|
|
57
|
+
setButtonVideoRecordingSettings(width: number, height: number, frameRate: number): Promise<void>;
|
|
49
58
|
setButtonCameraLed(enabled: boolean): Promise<void>;
|
|
50
59
|
setButtonMaxRecordingTime(minutes: number): Promise<void>;
|
|
51
60
|
setCameraFov(fov: CameraFov): Promise<void>;
|
|
52
61
|
queryGalleryStatus(): Promise<void>;
|
|
53
|
-
|
|
62
|
+
requestPhoto(requestId: string, appId: string, size: PhotoSize, webhookUrl: string | null, authToken: string | null, compress: PhotoCompression, sound: boolean): Promise<void>;
|
|
54
63
|
sendOtaStart(): Promise<void>;
|
|
55
64
|
sendOtaQueryStatus(): Promise<void>;
|
|
56
65
|
requestVersionInfo(): Promise<void>;
|
|
57
|
-
startVideoRecording(requestId: string, save: boolean,
|
|
66
|
+
startVideoRecording(requestId: string, save: boolean, sound: boolean): Promise<void>;
|
|
58
67
|
stopVideoRecording(requestId: string): Promise<void>;
|
|
59
68
|
startStream(params: StreamStartRequest): Promise<void>;
|
|
60
69
|
stopStream(): Promise<void>;
|
|
@@ -67,7 +76,7 @@ declare class BluetoothSdkModule extends NativeModule<BluetoothSdkModuleEvents>
|
|
|
67
76
|
getGlassesMediaVolume(): Promise<GlassesMediaVolumeGetResult>;
|
|
68
77
|
/** Mentra Live only: K900 `cs_vol` / `sr_vol`; level clamped 0–15 on native. */
|
|
69
78
|
setGlassesMediaVolume(level: number): Promise<GlassesMediaVolumeSetResult>;
|
|
70
|
-
rgbLedControl(requestId: string, packageName: string | null, action: RgbLedAction, color: RgbLedColor | null,
|
|
79
|
+
rgbLedControl(requestId: string, packageName: string | null, action: RgbLedAction, color: RgbLedColor | null, onDurationMs: number, offDurationMs: number, count: number): Promise<void>;
|
|
71
80
|
setSttModelDetails(path: string, languageCode: string): Promise<void>;
|
|
72
81
|
getSttModelPath(): Promise<string>;
|
|
73
82
|
checkSttModelAvailable(): Promise<boolean>;
|
|
@@ -79,6 +88,8 @@ declare class BluetoothSdkModule extends NativeModule<BluetoothSdkModuleEvents>
|
|
|
79
88
|
onBluetoothStatus(callback: BluetoothStatusListener): () => void;
|
|
80
89
|
getMemoryMB(): number;
|
|
81
90
|
}
|
|
82
|
-
|
|
91
|
+
export type BluetoothSdkInternalModule = BluetoothSdkNativeModule;
|
|
92
|
+
declare const NativeBluetoothSdkModule: BluetoothSdkNativeModule;
|
|
83
93
|
export default NativeBluetoothSdkModule;
|
|
94
|
+
export declare const BluetoothSdk: BluetoothSdkPublicModule;
|
|
84
95
|
//# sourceMappingURL=BluetoothSdkModule.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BluetoothSdkModule.d.ts","sourceRoot":"","sources":["../../src/_private/BluetoothSdkModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAsB,MAAM,MAAM,CAAA;AAEtD,OAAO,EACL,uBAAuB,EACvB,wBAAwB,EACxB,wBAAwB,EACxB,eAAe,EACf,eAAe,EACf,SAAS,EAET,cAAc,EACd,iBAAiB,EACjB,MAAM,EACN,WAAW,EACX,WAAW,EACX,2BAA2B,EAC3B,2BAA2B,EAC3B,aAAa,EACb,aAAa,EACb,uBAAuB,EACvB,gBAAgB,EAChB,SAAS,EACT,YAAY,EACZ,WAAW,EACX,gBAAgB,EAChB,WAAW,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