Cruz Monrreal
74f572356d
Merge pull request #9335 from naveenkaje/fix_thred_mle_warning
...
thread_mle_message_handler: fix build warning
2019-01-17 21:51:37 -06:00
Naveen Kaje
ef8589888b
thread_mle_message_handler: fix build warning
...
Fix the following build warning found when building with
ARMC6 toolchain for NRF52_DK with mbed cli version 1.8.3
[Warning] thread_mle_message_handler.c@762,0: #188-D: enumerated type mixed with another type
[Warning] thread_mle_message_handler.c@834,0: #188-D: enumerated type mixed with another type
2019-01-10 07:47:31 -06:00
Mahesh Mahadevan
585a4b6ddd
Add nanostack support for KW41Z
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-01-09 07:43:41 -06:00
Kari Haapalehto
7068e456dd
Correcting the error-case trace from mesh-api interfaces
2019-01-07 10:48:46 +02:00
Antti Kauppila
bc76c2a2f5
36510 test build fixed
2019-01-03 19:53:17 +02:00
Antti Kauppila
02b0f79e15
mbed.h includes removed
2018-12-28 14:36:10 +02:00
Cruz Monrreal
8bd9772d5d
Merge pull request #8975 from KariHaapalehto/fix_valid_mac_address
...
Initialize the interface at the construction
2018-12-18 13:22:30 -06:00
Alastair D'Silva
d527585394
Align prototype & implementation of enet_tasklet_disconnect & friends
...
Rework of #8698
Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
2018-12-14 22:19:39 +11:00
Mel W
8de7a36061
Capitalization and punctuation
2018-12-12 11:38:10 +02:00
Kari Haapalehto
7e7af773ea
Modify enet_tasklet.h
...
Change enet_tasklet_network_init() and enet_tasklet_disconnect()
declarations to match code. Also add document enet_tasklet.h functions
2018-12-10 15:49:47 +02:00
Kari Haapalehto
f7de4a4a0f
Initialize the interface at the construction and make sure
...
that it's done only once.
2018-12-05 14:44:27 +02:00
Kari Haapalehto
6d8320fd8c
Coverity fixes.
...
These issues has been found by coverity.
2018-12-04 15:32:02 +02:00
Martin Kojtal
bf36ff77c1
Merge pull request #8855 from michalpasztamobica/warnings_fix
...
Fix compilation warnings (apart from nanostack)
2018-12-03 13:31:55 +01:00
Cruz Monrreal
92a0e48435
Merge pull request #8817 from KariHaapalehto/ethernet_cable_status_callback_correction
...
Correct network status callbacks with ethernet and nanostack
2018-11-30 17:55:15 -06:00
Michal Paszta
e101943cce
Fix compilation warnings (apart from nanostack)
2018-11-26 14:27:48 +01:00
Martin Kojtal
95b1e75202
Merge branch 'dtls' of https://github.com/SeppoTakalo/mbed-os into dev_rollup
2018-11-23 18:36:55 +00:00
Martin Kojtal
f1f64266c0
Merge pull request #8600 from KariHaapalehto/wisuninterface_created
...
Wi-SUN interface implementation.
2018-11-22 10:55:58 +01:00
Kari Haapalehto
26beb983d4
Correct network status callbacks with Nanostack.
...
Ethernet-tasklet needs to be registered for emac link state changes.
Ethernet-tasklet will then handle ethernet cable connection/disconnection events.
2018-11-21 10:27:52 +02:00
Michal Paszta
392bccf835
Add unit tests for TLSSocket and TLSSocketWrapper
...
This also includes their Datagram counterparts: DTLSSocket and DTLSSocketWrapper.
Coverage missing for timer-related functionality, but this would require more advanced stub development.
The extra (d)tls_test_config.h is necessary for successful compilation without HW support for the mbedtls features in unittests.
I reused the mbedtls stub found in features/nanostack/coap-service/test/coap-service/unittest/stub/mbedtls_stub.c and amended it slightly with a few missing functions.
2018-11-19 15:19:49 +02:00
Cruz Monrreal II
49b940c9a7
Merge branch 'prepare_for_mbedos511' of ssh://github.com/artokin/mbed-os into rollup-b.1
2018-11-15 18:26:12 -06:00
Martin Kojtal
3f9d1a9271
nanostack eventloop: fix coding style
2018-11-15 07:20:13 +00:00
Martin Kojtal
eec4e1329a
nanostack interface: fix coding style
2018-11-15 07:20:12 +00:00
Martin Kojtal
29a1149bd6
nanostakc cmsis rtos: fix coding style
2018-11-15 07:20:12 +00:00
Martin Kojtal
3aab38140a
nanostack mesh: fix coding style
2018-11-15 07:20:12 +00:00
Arto Kinnunen
d879422f5e
Merge commit '77818568c6d9389ef1eb82e40ebfbbf26626c9d3' into mbedos511
...
* commit '77818568c6d9389ef1eb82e40ebfbbf26626c9d3':
Squashed 'features/nanostack/sal-stack-nanostack/' changes from ccd30a3..513a38e
2018-11-10 20:16:03 +02:00
Arto Kinnunen
e1ef0e4347
Merge commit 'e6a851f0a7310462f5f65e9f7955f9fdc71b84f0' into mbedos511
...
* commit 'e6a851f0a7310462f5f65e9f7955f9fdc71b84f0':
Squashed 'features/nanostack/coap-service/' changes from bc331ca..c45afcd
2018-11-09 16:40:43 +02:00
Arto Kinnunen
9e661a9846
Merge commit '623607c9da4ccd5cc1d3d75ff185b3f8d29a473b' as 'features/nanostack/sal-stack-nanostack-eventloop'
2018-11-09 15:31:56 +02:00
Arto Kinnunen
2457efc20a
Remove sal-stack-nanostack-eventloop
2018-11-09 15:29:30 +02:00
Kari Haapalehto
6163e6f425
Review changes corrected
2018-11-08 14:50:54 +02:00
Cruz Monrreal II
75368766f7
Merge branch 'fix_compile_warning' of ssh://github.com/KariHaapalehto/mbed-os into rollup
2018-11-06 21:29:08 -06:00
Arto Kinnunen
ef39a19ba9
Merge commit '6dd01c679db4deb0a4a2c55832f3abe7b19bc51b' into mbedos511
...
* commit '6dd01c679db4deb0a4a2c55832f3abe7b19bc51b':
Squashed 'features/nanostack/sal-stack-nanostack/' changes from 2535a6c..ccd30a3
2018-11-05 17:08:28 +02:00
Arto Kinnunen
3c37456f4c
Merge commit '6a6dc452aa482a87421de660b3c57590cd43d6fa' into mbedos511
...
* commit '6a6dc452aa482a87421de660b3c57590cd43d6fa':
Squashed 'features/nanostack/coap-service/' changes from cbe656a..bc331ca
2018-11-05 14:22:43 +02:00
Kari Haapalehto
4aaf013b0e
Fix memory leak
2018-11-05 13:09:56 +02:00
Kari Haapalehto
c7afb91f62
Fix compile warning about initializing and variable order
2018-11-05 12:45:53 +02:00
Kari Haapalehto
4440612d42
This is a initial version of Wi-Sun interface implementation.
...
To get Wi-Sun mesh network working, also nanostack with Wi-Sun support
is needed. ws_empty_functions.c and ws_management_api.h are temporary
included here, so that wisun_tasklet will compiled without problems.
They will replaced with the official versions with next nanostack release.
2018-10-31 15:48:33 +02:00
deepikabhavnani
451cf7ccb3
Add required namespace instead of relying on mbed.h
...
mbed.h has 'using namespace mbed;', hence some of the files skip
adding required namespace to the code, it is always good to specify the
namespace around the elements in header and `using namespace` in
specific CPP files, instead of all
2018-10-25 12:43:59 -05:00
Jarkko Paso
61f4af0320
FHSS timer driver: Check if timeout alloc fails
2018-10-18 16:38:06 +03:00
Jarkko Paso
1b01709b3b
FHSS timer driver: Make number of timeouts configurable
2018-10-18 16:37:51 +03:00
Jarkko Paso
ea0f4863a2
FHSS timer: Calculation in critical state
2018-10-18 16:37:37 +03:00
Jarkko Paso
440fbfd694
NS hal: Implemented FHSS driver
2018-10-18 16:37:00 +03:00
Cruz Monrreal
8054060bf2
Merge pull request #8439 from KariHaapalehto/connection_status
...
Correct mesh network connection status callback functionality.
2018-10-17 17:41:46 -05:00
Kari Haapalehto
1b1f5e7c0d
Correct mesh network connection status callback functionality.
...
Now the status callback is only called if the status changed.
2018-10-17 08:30:58 +03:00
Deepika
9db31d299b
Resolve build issues in test
...
mbed.h was added in test, via greentea and utest header files. 'mbed.h' is removed
from header files and required header file and namespace is added to CPP/C files
2018-10-16 11:50:16 -05:00
Deepika
a47c6b8139
Nanostack: Add required header file and namespace element instead add all
2018-10-15 10:57:21 -05:00
Kevin Bracey
1ef213ec89
Clean up Thread deprecation warnings
...
Static Thread methods and signal methods have been deprecated. Remove
all references in the main code, and most of the tests. Some tests of
the deprecated APIs themselves remain.
2018-10-12 14:57:13 +03:00
Martin Kojtal
9c28794b2e
Merge pull request #8210 from JarkkoPaso/master
...
platform timer: Call timer start in enable
2018-10-09 10:34:57 -05:00
Jarkko Paso
a3ec9f3982
platform timer: Call timer start in enable
...
This timer was never started and therefore read_us returned always 0 causing bad timings.
2018-09-21 11:53:56 +03:00
Steven
9a0fc98bdc
Hotfix for PR #7778
...
TB_SENSE_12 would have been left behind by the changes in #7778 . This commit implements the changes in mbed to allow targets to provide a default network interface for Silicon Labs targets.
2018-09-19 12:30:21 +02:00
Seppo Takalo
1ef04796ee
On KW24D and NCS36510 default to smaller Nanostack configuration
...
These boards do not fit the full Nanostack, so we need to select
6LoWPAN-ND as a default.
2018-09-01 12:37:46 -05:00
Cruz Monrreal
06a98e7dcf
Merge pull request #7778 from SeppoTakalo/provide_default_mesh
...
Fix MeshInterface::get_default_instance()
2018-08-30 16:11:00 -05:00