Skip to content

Connectors#214

Draft
DennisMoschina wants to merge 11 commits intoui-redesignfrom
connectors
Draft

Connectors#214
DennisMoschina wants to merge 11 commits intoui-redesignfrom
connectors

Conversation

@DennisMoschina
Copy link
Collaborator

Created a connector that exposes functionality via a web socket

- Added Command and RuntimeCommand classes to define command structure.
- Introduced various command implementations including CheckAndRequestPermissionsCommand, ConnectCommand, DisconnectCommand, and others for managing wearable connections and actions.
- Implemented parameter handling with CommandParam and utility functions for parameter validation.
- Added logging for command execution and error handling.
- Created device-specific commands inheriting from DeviceCommand for sensor management.
- Established IPC command list for default command registration.

refactor: Remove unused commands and clean up IPC command structure

feat: Refactor command structure and add invoke action command

feat: Enhance subscription management with createSubscriptionId and attachStreamSubscription methods
@github-actions
Copy link
Contributor

github-actions bot commented Feb 26, 2026

Visit the preview URL for this PR (updated for commit 5bc81e0):

https://open-earable-web--pr214-connectors-8pedk3u5.web.app

(expires Tue, 31 Mar 2026 15:50:26 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: c7397c11177c71d8d81172cea9365829823fb41c

@DennisMoschina
Copy link
Collaborator Author

TODO:

  • link documentation
  • show in app if connector is active
  • show meaningful ip address / remove host configuration
  • add button to reset defaults
  • Change name to Network Connector
  • Change branding to OpenWearable

- Added MinimumOSVersion key to AppFrameworkInfo.plist with value 13.0.
- Removed Profile.xcconfig file as it is no longer needed.
- Updated Podfile to comment out the platform version specification.
- Updated Podfile.lock to reflect changes in dependencies, including updates to SDWebImage and SwiftProtobuf.
- Modified project.pbxproj to reflect changes in build settings and file references.
- Updated Info.plist to include new keys for Bluetooth and network usage descriptions.
- Refactored ConnectorSettings to handle legacy loopback host.
- Changed default WebSocket IPC server host to 0.0.0.0 for better accessibility.
- Updated ConnectorsPage to use default WebSocket host and removed unnecessary IP address checks.
- Added Bluetooth and network permissions to macOS entitlements.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant