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

Firmware implementation of OpenBenchmark API v0.0.1. #470

Open
wants to merge 42 commits into
base: develop
Choose a base branch
from

Conversation

malishav
Copy link
Contributor

@malishav malishav commented Mar 23, 2019

This PR implements the firmware components of the OpenBenchmark API and their interface with the OpenVisualizer. The PR:

  • introduces a CoAP app called cbenchmark that can be triggered over serial to send packets and that reacts to the CoAP packets adhering to the OpenBenchmark API.
  • Implements the RFC7967 CoAP No Response option in order to enable CoAP requests without a corresponding response being generated by the network
  • Generation of asynchronous events over serial with the parameters as needed by OpenBenchmark platform
    -Extends the radio.h API in order to provide support for configuring TX power. This is a necessary extension in order to enable an external agent, e.g. OpenVisualizer through CLI or OpenBenchmark platform, to configure the TX power of a given mote. New radio_setTxPower API is implemented for CC2420, AT86RF231, and CC2538 -based boards. Mock up functions are added for other radio chips that are not supported at the moment.
  • Adds support for CCM at iotlab-m3 nodes and their derivatives. It implements the CCM using hardware acceleration available in the AT86RF231 chip. While the CCM implementation passes all the unit tests available, its performance is bad due to the SPI transfer. For CCM to complete on a 127-byte frame, it takes ~5ms, making it impossible to use it for link-layer security processing. The provided CCM implementation enables the secure join protocol to complete, so it is therefore deemed useful.
  • Removes the trailing whitespaces in all touched files.

The PR resolves the following issues:

@malishav malishav force-pushed the develop_FW-808 branch 3 times, most recently from 2283091 to e98ad71 Compare March 31, 2019 21:29
@malishav malishav changed the title WIP: Implement OpenBenchmark API v0.0.1 OV-7. Implement OpenBenchmark API v0.0.1. Mar 31, 2019
@malishav malishav changed the title OV-7. Implement OpenBenchmark API v0.0.1. OV-7. Firmware implementation of OpenBenchmark API v0.0.1. Apr 1, 2019
@malishav malishav changed the title OV-7. Firmware implementation of OpenBenchmark API v0.0.1. Firmware implementation of OpenBenchmark API v0.0.1. Apr 1, 2019
malishav added 22 commits July 17, 2019 17:55
Packet token in the responses is the token from the request, with the
last byte incremented by one.
@changtengfei
Copy link
Member

Can one of the admins verify this patch?

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.

2 participants