OrganicVision
DocumentationApplication TourGet Involved

iPhone-to-iPad Networking

OrganicVision advertises _organicvision-v1._tcp with only display name, device class, protocol version, capability summary, and pairing availability. Network.framework performs Bonjour browsing, advertising, and bounded TCP delivery. Discovery never advertises session names, sensor data, recordings, or location.

After explicit pairing, Curve25519 key agreement derives a session key through HKDF-SHA256. ChaChaPoly provides authenticated encryption for every versioned application envelope. Network frames use a four-byte length prefix and reject oversized content before allocation. Control sequence numbers reject replay and out-of-order delivery. CryptoKit supplies all cryptographic primitives; OrganicVision does not implement custom ciphers.

The simulator uses SimulatedDiscoveryService and SimulatedNetworkLab, which demonstrate pairing, preview, telemetry, degradation, disconnect, reconnect, remote authorization, incompatibility, and revocation without relying on multi-simulator networking.

Recording is authoritative on iPhone. The Networking module imports neither CameraSources nor DatasetManager. Disconnecting changes connection state and writes a redacted network event through an injected logging boundary; it does not stop or mutate the recording.