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
Seppo Takalo
488632bc79
Fix LoWPANInterface to provide ::get_target_default()
...
LoWPANInterface should provide target default, instead of default.
2018-08-28 18:50:59 +03:00
Martin Kojtal
b2a05511d0
Merge pull request #7818 from kjbracey-arm/eui64_get_early
...
Allow ThreadInterface::device_eui64_get() before connect()
2018-08-28 12:11:47 +02:00
Seppo Takalo
9836b9bd6a
Provide default mesh driver on NCS36510
2018-08-28 11:02:58 +03:00
Seppo Takalo
c5064a8e33
Fix *MeshInterface::get_default_instance()
...
This was returning object, instead of pointer.
Also it was trying to call lowpan(reference), instad of lowpan(ptr).
2018-08-28 11:02:58 +03:00
Mika Leppänen
1250ceb82c
Corrected thread tasklet during interface disconnect/connect
...
Added check for valid interface ID to network scan timer start so that it
is not triggered after disconnect. Added variable for mac api so that it
is not tried to set again after re-connecting.
2018-08-27 15:08:48 +03:00
Mika Leppänen
68f5739e09
Corrected 6lowpan tasklet during interface disconnect/connect
...
Removed main tasklet ID and used instead tasklet id. Added check
for valid interface ID to network scan timer start so that it
is not triggered after disconnect. Added small delay to re-connect
so that stack has time to send its status events to application
after disconnect.
2018-08-27 15:08:48 +03:00
Cruz Monrreal
2f8e679183
Merge pull request #7592 from orenc17/remove_uvisor
...
Remove uVisor from mbed-os
2018-08-25 19:52:24 -05:00
Oren Cohen
787317b7eb
Remove uVisor from mbed-os
2018-08-22 16:36:59 +03:00
Deepak Venugopal
8c94411882
Merge commit '94f82102284f73721f685ec9ae535aef815e0d69'
...
* commit '94f82102284f73721f685ec9ae535aef815e0d69':
Squashed 'features/nanostack/sal-stack-nanostack/' changes from 7963594..2535a6c
2018-08-22 10:52:10 +03:00
Cruz Monrreal
b53a9ea4c0
Merge pull request #7780 from artokin/nsrc510_p1
...
Rename nanostack configuration (.cfg) files
2018-08-21 10:21:15 -05:00
Juha Ylinen
b8a7e25e84
Nanostack: Fix return code for unsupported socket options
2018-08-20 16:30:19 +03:00
Kevin Bracey
e014104258
Allow ThreadInterface::device_eui64_get() before connect()
...
Perform necessary driver initialisation so that we can read
the EUI-64 before connecting.
Fixes #7391 .
2018-08-17 16:41:23 +03:00