Cruz Monrreal
39441655bf
Merge pull request #9684 from KariHaapalehto/ethernet_tasklet_correction
...
enet_tasklet_disconnect() should generate event to tasklet.
2019-02-14 09:13:15 -06:00
Cruz Monrreal
b66678d6d7
Merge pull request #9696 from naveenkaje/thread_extn_warning_fix
...
features: nanostack: fix warning in thread_extension.h
2019-02-13 18:29:53 -06:00
Cruz Monrreal
9be82d96d8
Merge pull request #9694 from naveenkaje/fix_icmpv6_warning
...
nanostack: icmpv6: fix build warning
2019-02-13 18:29:33 -06:00
Cruz Monrreal
b820ec8922
Merge pull request #9561 from theotherjimmy/test-resources
...
Tools changes for bare metal
2019-02-13 12:31:54 -06:00
Naveen Kaje
1f015aa0b7
features: nanostack: fix warning in thread_extension.h
...
Fix the following build warning seen with GCC
Compile [ 51.2%]: thread_bootstrap.c
[Warning] thread_extension.h@88,44: statement with no effect [-Wunused-value]
2019-02-13 10:48:33 -06:00
Naveen Kaje
8d0c94e8dc
nanostack: icmpv6: fix build warning
...
Fix the following build warning seen when building with GCC
Compile [ 54.2%]: icmpv6.c
[Warning] icmpv6.c@1091,16: this statement may fall through [-Wimplicit-fallthrough=]
2019-02-13 10:34:51 -06:00
Kari Haapalehto
31c40130d6
enet_tasklet_disconnect() should generate event to tasklet.
...
enet_tasklet_disconnect() is now generating event to ethernet_tasklet,
which will then handle it.
2019-02-13 13:57:03 +02:00
Jimmy Brisson
724487d545
Require dependencies from nanostack mbed_lib.json
2019-02-07 09:39:10 -06:00
Oren Cohen
32463d64dc
Add missing mbed_lib.json for frameworks and nanostack
...
* mbed-client-randlib
* nanostack-libservice
* coap-service
* nanostack-interface
2019-02-07 09:25:14 -06:00
Oren Cohen
94c17549dc
Fix nanostack libs
2019-02-07 09:23:52 -06:00
Jarkko Paso
17e4e287de
FHSS timer: Use singleton pointer with timer objects
...
This is to save statically allocated memory. Without SingletonPtr the timer objects would always be included in build.
2019-02-04 12:13:29 +02:00
Martin Kojtal
272bc14cde
Merge pull request #9546 from jarlamsa/mesh_api_fixes
...
Mesh api fixes
2019-01-31 11:19:55 +01:00
Michal Paszta
53a82faa5a
Prevent double attempt to connect mesh api
...
Socket network interface tests were failing due to DICONNECTED event
being advertised, where GLOBAL_UP was expected. It turned out that
nanostack receives two events: APPL_EVENT_CONNECT and
APPL_BACKHAUL_INTERFACE_PHY_UP. The second attempt to connect obviously
returns errors, but it also causes events to be sent out to the
application. The second attempt should not take place in case the
bootstrap is already started.
I also fixed two reports being sent with DISCONNECT status, while they
are actually something else.
2019-01-30 15:08:11 +02:00
Jarno Lamsa
740488d061
Set tasklet parameters before connecting
...
Set tasklet parameters before connecting to prevent the parameters to be set to 0.
The tasklet parameters are reset to 0 when wisun_tasklet_connect gets called,
thus those need to be set in the wisun_tasklet_configure_and_connect_to_network
before they are used. This is also done this way in other tasklets.
2019-01-30 13:06:17 +02:00
Jarno Lamsa
d7af9418da
Remove yotta-specific lines from .gitignore
2019-01-30 13:04:08 +02:00
Jimmy Brisson
06ea053419
Minor fixes
2019-01-25 09:42:47 -06:00
Brian Daniels
ee5281abef
Remove unused yotta module metadata
2019-01-24 15:30:20 -06:00
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
Jimmy Brisson
e201fdb6e9
Add placeholder libraries for things we probably refer to as libraries
2019-01-16 14:58:58 -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