Skip to content

Conversation

JordanYates
Copy link
Contributor

Wide ranging changes to support RPCs over Bluetooth GATT.

Send `ClientNotification`'s instead of `PacketReceived`'s to allow the
protocol to be extended to more than raw ePackets.

Signed-off-by: Jordan Yates <[email protected]>
Expect `GatewayRequest`'s to be sent to gateway tools, not
`PacketOutput`'s.

Signed-off-by: Jordan Yates <[email protected]>
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 <[email protected]>
Construct `PacketOutput` by the final destination ID and requested auth
level, not the complete route to get there.

Signed-off-by: Jordan Yates <[email protected]>
Split the handling of individual requests into seperate functions.

Signed-off-by: Jordan Yates <[email protected]>
Add an initial interface for requesting a connection context for
communications with external devices.

Signed-off-by: Jordan Yates <[email protected]>
Claim a connection context before attempting to run commands.

Signed-off-by: Jordan Yates <[email protected]>
Store the current Bluetooth device address in the database for external
lookup.

Signed-off-by: Jordan Yates <[email protected]>
Remove the old address type that was not properly removed.

Signed-off-by: Jordan Yates <[email protected]>
Detect the value (UINT32_MAX) when the time has never been synced and
print a different string instead.

Signed-off-by: Jordan Yates <[email protected]>
Store a persistent sequence number for communications with a device
over GATT.

Signed-off-by: Jordan Yates <[email protected]>
Add the define for the ePacket to forward type.

Signed-off-by: Jordan Yates <[email protected]>
Add a conversion function to go from a `BluetoothLeAddr` to a ctype
structure suitable for routing information.

Signed-off-by: Jordan Yates <[email protected]>
Support serialization of packets that need to be forwarded over
Bluetooth GATT.

Signed-off-by: Jordan Yates <[email protected]>
Support creating a connection context with Bluetooth devices, and
forwarding requested packets over the link.

Signed-off-by: Jordan Yates <[email protected]>
Use connection contexts, which enables the tool to now send commands
to Bluetooth devices in addition to serial gateways.

Signed-off-by: Jordan Yates <[email protected]>
@JordanYates JordanYates merged commit 070c15d into main Nov 27, 2024
8 checks passed
@JordanYates JordanYates deleted the feature/gateway_comms branch December 18, 2024 10:23
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