Skip to content
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

RequestId/responseTo in device protocol #187

Merged
merged 6 commits into from
Aug 27, 2018
Merged

RequestId/responseTo in device protocol #187

merged 6 commits into from
Aug 27, 2018

Conversation

jonnor
Copy link
Member

@jonnor jonnor commented Aug 18, 2018

Ref flowbased/fbp-protocol#60

Device communication level

  • API for getting error/success of graph/network changes
  • Check errors and reply with error message
  • FBCS: Read out requestId and set responseTo
  • Tests for device communication

@jonnor jonnor force-pushed the fbp-responses branch 2 times, most recently from ffcd7cf to 0b0748a Compare August 18, 2018 20:38
@jonnor jonnor force-pushed the fbp-responses branch 5 times, most recently from 361885e to 492e6bb Compare August 19, 2018 21:12
A clear distinction in the host<->device protocol
between request/response, and events (spontaneously created by runtime)

Breaking protocol change:
- Command size is increased from 8 bytes to 10 bytes
- The first byte is now the request/response identifier, or 0 for events
- PacketSent event no longer contains target node/port
- PacketSent and SendPacket events have space for all 4 bytes of data
- Magic string changed
@jonnor jonnor changed the title (WIP) Support requestId/responseTo RequestId/responseTo in device protocol Aug 27, 2018
@jonnor jonnor merged commit 8e6efb0 into master Aug 27, 2018
@jonnor jonnor deleted the fbp-responses branch August 27, 2018 20:55
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