-
Notifications
You must be signed in to change notification settings - Fork 0
tools: support RPCs over Bluetooth #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Send `ClientNotification`'s instead of `PacketReceived`'s to allow the protocol to be extended to more than raw ePackets. Signed-off-by: Jordan Yates <jordan@embeint.com>
Expect `GatewayRequest`'s to be sent to gateway tools, not `PacketOutput`'s. Signed-off-by: Jordan Yates <jordan@embeint.com>
Split the concepts of a packet a user wants sent and a packet with a complete route to the destination. Signed-off-by: Jordan Yates <jordan@embeint.com>
Construct `PacketOutput` by the final destination ID and requested auth level, not the complete route to get there. Signed-off-by: Jordan Yates <jordan@embeint.com>
Split the handling of individual requests into seperate functions. Signed-off-by: Jordan Yates <jordan@embeint.com>
Add an initial interface for requesting a connection context for communications with external devices. Signed-off-by: Jordan Yates <jordan@embeint.com>
Claim a connection context before attempting to run commands. Signed-off-by: Jordan Yates <jordan@embeint.com>
Store the current Bluetooth device address in the database for external lookup. Signed-off-by: Jordan Yates <jordan@embeint.com>
Remove the old address type that was not properly removed. Signed-off-by: Jordan Yates <jordan@embeint.com>
Detect the value (UINT32_MAX) when the time has never been synced and print a different string instead. Signed-off-by: Jordan Yates <jordan@embeint.com>
Store a persistent sequence number for communications with a device over GATT. Signed-off-by: Jordan Yates <jordan@embeint.com>
Add the define for the ePacket to forward type. Signed-off-by: Jordan Yates <jordan@embeint.com>
Add a conversion function to go from a `BluetoothLeAddr` to a ctype structure suitable for routing information. Signed-off-by: Jordan Yates <jordan@embeint.com>
Support serialization of packets that need to be forwarded over Bluetooth GATT. Signed-off-by: Jordan Yates <jordan@embeint.com>
Support creating a connection context with Bluetooth devices, and forwarding requested packets over the link. Signed-off-by: Jordan Yates <jordan@embeint.com>
Use connection contexts, which enables the tool to now send commands to Bluetooth devices in addition to serial gateways. Signed-off-by: Jordan Yates <jordan@embeint.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Wide ranging changes to support RPCs over Bluetooth GATT.