Speaking of the quality of Apple's Private Cloud Compute modelā¦
š«„
Hereās the super high level summary of the Meta Ray-Banās Bluetooth protocol (DataX/Airshield framework), based on traffic capture, decompiling the Meta Wearable SDK, and disassembling the Meta AI app:
To connect:
Get PSM (port) for the L2cap connection by looking at BLE service ID FD5F and characteristic 05ACBE9F-6F61-4CA9-80BF-C8BBB52991C0
this is 4 bytes - the last 2 bytes (little endian) is the PSM
Open L2cap connection
Datax sends messages on āchannelsā; each channel is connected to a āserviceā
Both the phone and the device do this handshake:
This is all done in native code even in the Android phone app/SDK. Once the initial connection is open, though, other services are implemented in Java on the Android Meta AI app and SDK.
For pairing in the Meta AI App, the phone app sends IdentityRequest after opening the connection.
When I tested connecting to the device, the device also opens:
The SDK doesnāt have the applinks service (not sure if the phone app does), but does have code for handing CONSTELLATIONAUTH, including sending app manifests - this is probably how it checks if the SDK app is allowed.
RE: https://mas.to/@TechConnectify/115985224639778868
Holy shit. Bravo.
This ā ALL of it ā is worth your time.
After the Swift SDK for Android, Swift in the browser with ElementaryUI š¤©
The best time to learn Swift was eleven years ago. The second best is now š