Skip to content

Platform architecture

Distinguish native glasses plugins, phone Web plugins, the desktop simulator and physical-device runtimes.

Where your code runs#

Glasses C plugins and phone Web plugins run in their respective hosts. Paired applications exchange data through PhoneSDK, the App Bridge and Bluetooth. Use Studio for integration testing during development, then verify on a real phone and glasses.

Where each part of an application runsGlasses C source is compiled into a GMP and executed by the glasses firmware. A Web project is packaged as an MMPKG and runs in the App WebView. Studio provides the desktop host and simulator; on physical devices, the App connects to the glasses over Bluetooth.MEMOMIND / PLATFORM RUNTIMESWhere each part of an application runsGlasses · C / GlassSDKSource andmanifestGlasses UI and inputlogicCompile as GMPRISC-V toolchainCall public HostAPIsExecuted byglasses firmwareFlash: code /read-only constantsRAM: writable data /heapPhone · Web / PhoneSDKHTML / CSS / JSPhone page andbusiness logicPack as MMPKGInclude pages,resources andmanifestExecuted in AppWebViewPhoneSDK → AppBridgeAccess glassescapabilities overBluetoothStudio provides desktop preview and a GMP simulator. Web-only applications use the App'sdefault bridge GMP; supply your own GMP for custom glasses logic.
Where each part of an application runsGlasses C source is compiled into a GMP and executed by the glasses firmware. A Web project is packaged as an MMPKG and runs in the App WebView. Studio provides the desktop host and simulator; on physical devices, the App connects to the glasses over Bluetooth.MEMOMIND / PLATFORM RUNTIMESWhere each part of anapplication runsGlasses · C / GlassSDKSource and manifestGlasses UI and input logicCompile as GMPRISC-V toolchainCall public Host APIsExecuted by glassesfirmwareFlash: code / read-onlyconstantsRAM: writable data / heapPhone · Web / PhoneSDKHTML / CSS / JSPhone page and businesslogicPack as MMPKGInclude pages, resourcesand manifestExecuted in App WebViewPhoneSDK → App BridgeAccess glasses capabilitiesover BluetoothStudio provides desktop preview and aGMP simulator. Web-only applicationsuse the App's default bridge GMP;supply your own GMP for customglasses logic.
The glasses and phone each have their own runtime host. Studio provides corresponding desktop environments.

Keep these boundaries clear#

NameMeaning
Glasses Host APIThe C function table in gm_plugin.h. GMP calls capabilities through this table rather than linking directly to private firmware symbols.
Web BridgeThe JavaScript APIs in PhoneSDK. The SDK handles the handshake with App/Studio; access to capabilities requires declarations and authorization.
LAN installation serviceStudio temporarily serves the ZIP from the computer. The QR code represents only the current LAN download address.
Device test recordsRecord the ZIP used, device versions and actual results. A test record does not run GCC on your computer and is not a phone Bluetooth installer.

Explore the details#