Go to file
Hasnain Virk 9a77b5d05f FRMPayload size validity
It was pointed out in #7432 and #7232 that the stack was comparing frame payload size
with the allowed payload size in a wrong manner in shcedule_tx().
We must strip the overhead from the frame before comparison.

We did have a similar check in prepare_ongoing_tx() API which would correctly analyse
the situation but a check was needed in schedule_tx() as well. The reason is that the
schedule_tx() API can be called automatically by the stack if the user intiated requested
was not promptly entertained because of duty cycle restriction. Now, the datarate can change
here (for CONFIRMED messages if the ack was not received after retries max out). That's why
a test for validity was needed.

We now perform a comparison using _ongoing_tx_message structure which contains the actual
FRMPayload size.

For proprietary type of messages only MHDR and Port field is used so we shouldn't add MAC commands
and other overhead into them.

In order to have consistent frame overhead, we have opted to always include Port field in the
frame.
2018-07-12 13:28:15 +03:00
.github Merge pull request #6728 from 0xc0170/fix-issue-template 2018-05-07 10:38:49 -05:00
TESTS Merge pull request #7364 from 0xc0170/fix_storage_rtos 2018-07-05 14:29:46 -05:00
cmsis Add volatile modifier for CP15 accessors 2018-06-07 16:47:12 +09:00
drivers Improve efficiency and formatting of ITM output 2018-07-04 10:16:28 +03:00
events Introduce API to query how much time is left for delayed event 2018-05-18 12:55:06 +03:00
features FRMPayload size validity 2018-07-12 13:28:15 +03:00
hal Improve efficiency and formatting of ITM output 2018-07-04 10:16:28 +03:00
platform Remove error reporting for release builds 2018-07-06 10:15:07 -05:00
rtos Add _RTX_ define where it's needed and used 2018-07-11 13:49:57 +01:00
targets Merge pull request #7365 from jeromecoutant/PR_RTC_SHADOW 2018-07-11 21:29:02 -05:00
tools Partial revert of "CMSIS/RTX: Adapt Mbed OS to CMSIS/RTX device support scheme" 2018-07-11 13:49:57 +01:00
.astyleignore AStyle: ignore hal storage abstraction 2018-06-29 10:36:36 +01:00
.astylerc AStyle: fix indentation for longer lines 2018-05-24 14:15:52 +01:00
.coveragerc Exclude libraries and tests from coverage numbers 2017-09-25 11:51:31 -05:00
.gitattributes Added .gitattributes for automatic LF line ending conversion 2013-08-08 13:19:34 +03:00
.gitignore BLE: Initialize the pal in GenericSecurityManager 2018-03-23 12:06:08 +00:00
.pylintrc Add pylint configuration file 2016-08-16 11:48:45 -05:00
.travis.yml Moved the sourcing of the astyle archive to AWS from SourceForge. 2018-06-26 10:54:57 -05:00
CONTRIBUTING.md Update link in CONTRIBUTING.md 2017-06-09 16:38:38 -05:00
DOXYGEN_FRONTPAGE.md Very minimal text 2016-08-04 14:09:59 +01:00
Jenkinsfile Jenkinsfile: remove client app test temporarily 2017-06-01 12:15:09 +01:00
LICENSE Add Apache v2 LICENSE file 2013-08-06 12:05:04 +01:00
LICENSE-BSD-3-Clause Adding license text and BSD-Clause 3 2018-02-09 11:00:56 -06:00
README.md Simple typo fix in the README.md 2018-01-08 19:50:18 +00:00
doxyfile_options Remove FEATURE_LWIP. The LwIP stack is enabled on all builds now 2018-06-21 11:00:00 +03:00
doxygen_options.json Remove FEATURE_LWIP. The LwIP stack is enabled on all builds now 2018-06-21 11:00:00 +03:00
logo.png Readme updates for style and branding 2017-12-04 14:59:16 -06:00
mbed.h Add stats header file to mbed.h 2018-05-09 10:24:28 -05:00
requirements.txt Added missing six requirement 2018-05-11 14:25:27 -05:00

README.md

Mbed OS

Build status release Build status master Tools coverage status PR progress

Arm Mbed OS is an open source embedded operating system designed specifically for the "things" in the Internet of Things. It includes all the features you need to develop a connected product based on an Arm Cortex-M microcontroller, including security, connectivity, an RTOS and drivers for sensors and I/O devices.

Mbed OS provides a platform that includes:

  • Security foundations.
  • Cloud management services.
  • Drivers for sensors, I/O devices and connectivity.

Release notes

The release notes detail the current release. You can also find information about previous versions.

Getting started for developers

We have a developer website for asking questions, engaging with others, finding information on boards and components, using an online IDE and compiler, reading the documentation and learning about what's new and what's coming next in Mbed OS.

Getting started for contributors

We also have a contributing and publishing guide that covers licensing, contributor agreements and style guidelines.