Commit Graph

117 Commits (371f183a6a5d915617861c23cedcdbf0354a9072)

Author SHA1 Message Date
Bartek Szatkowski 4cb47df40a Add system_reset() function to Mbed OS 2018-02-28 16:42:34 +00:00
Kevin Bracey 984cc1ab50
Merge pull request #6032 from jarlamsa/status-callbacks
Status callbacks
2018-02-15 13:02:10 +02:00
Jarno Lamsa fd92fe1906 Add void *param to loopback functions 2018-02-09 13:58:56 +02:00
Arto Kinnunen ff47193a0a Add API for reading interface ID 2018-02-09 13:23:39 +02:00
Deepak Venugopal 7d555a3db7 Merge commit '7197b5fd51825257ee04dac5dfd0d16ea1896853'
* commit '7197b5fd51825257ee04dac5dfd0d16ea1896853':
  Squashed 'features/nanostack/FEATURE_NANOSTACK/sal-stack-nanostack/' changes from c9bf20f..43c7ec2
2018-02-09 13:18:25 +02:00
Deepak Venugopal dc7be499ad Merge commit 'df0dc6cd3395ceb44eed35d0b2f341ba7e3e0b91'
* commit 'df0dc6cd3395ceb44eed35d0b2f341ba7e3e0b91':
  Squashed 'features/nanostack/FEATURE_NANOSTACK/coap-service/' changes from 8689fca..f6281ed
2018-02-09 12:55:16 +02:00
Jarno Lamsa 282f3c9da2 Add support for error cases for lwip and nanostack 2018-02-09 12:44:31 +02:00
Teemu Kultala 5a7482667e NSAPI status callback changes
This is the original content of feature-status-callbacks, reviewed in
https://github.com/ARMmbed/mbed-os/pull/5457
2018-02-09 12:44:31 +02:00
Kari Severinkangas f63dbf56db Mesh-api setters for eui64 and pskd 2018-02-07 16:45:39 +02:00
Cruz Monrreal f4aba252de
Merge pull request #5836 from artokin/thread_commissioning_fix
Thread commissioning fix
2018-01-19 11:29:58 -06:00
Kevin Bracey 268a07db37 NSAPI: Add Nanostack multicast membership support
Add support for recently introduced NSAPI generic socket options to
control group membership. Previously applications using Nanostack would
have had to use Nanostack's native socket options.
2018-01-17 14:30:45 +02:00
Arto Kinnunen 8151e55838 Merge commit '47341478379429c08c468093e0326b5c79ecbc62'
* commit '47341478379429c08c468093e0326b5c79ecbc62':
  Squashed 'features/nanostack/FEATURE_NANOSTACK/coap-service/' changes from d0a2597..8689fca
2018-01-12 14:02:31 +02:00
Tero Heinonen d8b369f5b2 mesh-api documentation removed
All documentation is now in Handbook
2018-01-09 12:37:06 +02:00
Cruz Monrreal II 6d042d4ad4
Merge pull request #5736 from SeppoTakalo/ONME-3199
Allow 6LoWPAN applications to leave out channel specification.
2017-12-28 17:51:04 +00:00
Martin Kojtal 227b0341cb
Merge pull request #5670 from ryankurte/fix/efr32-ack-flag
Nanostack EFR32 flag fix
2017-12-20 14:42:51 +00:00
Seppo Takalo 4f36bb6480 Allow 6LoWPAN applications to leave out channel specification.
When specifying a full channel mask in .lib and setting the channel
to zero, device does proper channel scan.

For Thread, channel must be specified for router.
Sleepy devices don't respect the channel settings but do a full channel
scan at the start.

+ Modified the channel mask print to use hex.
2017-12-20 15:12:58 +02:00
Arto Kinnunen e78db9edd6 Update Thread PSKd default value
Thread PSKd can contain only uppercase characters.
2017-12-12 10:45:48 +02:00
Arto Kinnunen efc7f60799 Merge commit '6c0b324e3a5a9a5c22dc4c3a66b6c892b9ed1644' into coap-service-fix-mbedos57oob
* commit '6c0b324e3a5a9a5c22dc4c3a66b6c892b9ed1644':
  Squashed 'features/nanostack/FEATURE_NANOSTACK/coap-service/' changes from 29bfb78..d0a2597
2017-12-12 10:41:08 +02:00
Ryan Kurte 136ac17947 Nanostack flag fix 2017-12-07 14:23:35 +13:00
Martin Kojtal 41591eb83b
Merge pull request #5602 from artokin/nanostack_release_v704
Nanostack release v704
2017-11-30 18:26:45 +00:00
Martin Kojtal 118c1bb2b4
Merge pull request #5579 from SiliconLabs/feature/rail-2.1
Upgrade Silicon Labs radio driver to v2.1.1
2017-11-30 18:10:46 +00:00
Arto Kinnunen 3252fa0971 Remove mbed-mesh-example and application 2017-11-29 21:37:10 +02:00
Arto Kinnunen 32abfcfe77 Merge commit '041b6fa73681061072f970e9cf11ff4d422fa04b' into nanostack_release_v704
* commit '041b6fa73681061072f970e9cf11ff4d422fa04b':
  Squashed 'features/nanostack/FEATURE_NANOSTACK/sal-stack-nanostack/' changes from 0697d9a..c9bf20f
2017-11-29 21:34:19 +02:00
Arto Kinnunen 0413253181 Merge commit 'f900accac5b4efc426e0c2889e78ed9cd8de9b68' into nanostack_release_v704
* commit 'f900accac5b4efc426e0c2889e78ed9cd8de9b68':
  Squashed 'features/nanostack/FEATURE_NANOSTACK/coap-service/' changes from 471121d..29bfb78
2017-11-29 09:41:27 +02:00
Arto Kinnunen ac4fae8618 Merge commit 'f5265c3d2083333276909cf7b16c89657aa7d58a'
* commit 'f5265c3d2083333276909cf7b16c89657aa7d58a':
  Squashed 'features/nanostack/FEATURE_NANOSTACK/coap-service/' changes from b1c9efb..471121d
2017-11-28 13:50:00 +02:00
Arto Kinnunen fc6aeb95ff Merge commit '6887e495f0cb0b3009e4da7c0282c1542bbb2608'
* commit '6887e495f0cb0b3009e4da7c0282c1542bbb2608':
  Squashed 'features/nanostack/FEATURE_NANOSTACK/sal-stack-nanostack/' changes from 0a5ef1c..0697d9a
2017-11-28 13:48:31 +02:00
Arto Kinnunen 97cf8869da Add apache license to nanostack-interface 2017-11-28 11:52:43 +02:00
Arto Kinnunen 0c041b95f1 Remove obsolete clone_nanostack script 2017-11-28 09:45:09 +02:00
Steven Cooreman 21d0920068 Use mbed_sleep API instead of Silicon Labs specific sleepmode API 2017-11-24 15:36:44 +01:00
Steven Cooreman a2514fdef3 Clear TX FIFO on every transmit
Need to avoid a TX packet error from messing up the TX FIFO. Since this API will return busy if a packet is in transmission anyways, this is acceptable.
2017-11-24 14:49:53 +01:00
Steven Cooreman 812e47ca9c Add sleep mode blocking to avoid going into EM2 during RTOS idle handler 2017-11-24 14:03:10 +01:00
Steven Cooreman 76fd28c825 Upgrade RAIL to v2.1.1 2017-11-24 12:57:43 +01:00
Arto Kinnunen 02290f9dd7 Merge commit '03d1c4331350e6be4455b5234101075268431f11' into nanostack-release-candidate
* commit '03d1c4331350e6be4455b5234101075268431f11':
  Squashed 'features/nanostack/FEATURE_NANOSTACK/sal-stack-nanostack/' changes from 8f75e39..0a5ef1c
2017-11-22 11:22:16 +02:00
Arto Kinnunen 1004858c2e Merge commit '0c2a41eb5599925945111589529ad6da4ea1e5a4' as 'features/nanostack/FEATURE_NANOSTACK/sal-stack-nanostack' 2017-11-16 15:45:42 +02:00
Arto Kinnunen 1432affba1 Merge commit '1bc6ddc3e8fbdcc8f301b0c78de43582b376a434' into nanostack-release-candidate
* commit '1bc6ddc3e8fbdcc8f301b0c78de43582b376a434':
  Squashed 'features/nanostack/FEATURE_NANOSTACK/coap-service/' changes from d65b6b0..b1c9efb
2017-11-16 14:21:33 +02:00
Arto Kinnunen 02a3f3c90f Remove nanostack binary libraries
-Remove nanostack binary libraries
-Remove content from sal-stack-nanostack
-Update contribution rules.
-Remove binary LICENSE
2017-11-16 14:20:28 +02:00
Ryan Kurte 37a38d08ea Swapped to macro definition for debug prints 2017-11-01 11:02:08 +13:00
Ryan Kurte c64c7b8624 Added critical section around rf_start_cca 2017-10-31 23:48:03 +13:00
Ryan Kurte 5f76ff996b Threaded wrapper for rail driver on EFR32 platforms
Updated NanostackRfPhyEfr32 with a receive queue.
Cleaned up debug messages, re-added to non-threaded calls.

Removed debug print override

Removed tr_debug override

Removed normal-operation prints that could have timing implications if enabled

Removed dead NVIC code (and a couple of dead log outputs)
2017-10-31 23:48:03 +13:00
Jimmy Brisson 2a57d598dc Merge pull request #5252 from ARMmbed/6lowpan-enable-MPL
Enable MPL by default for 6LoWPAN-ND.
2017-10-13 09:25:32 -05:00
Seppo Takalo 720ebc130c Enable MPL by default for 6LoWPAN-ND.
In Thread network, MPL is already enabled so this causes
both to behave similarly.
2017-10-04 15:22:16 +03:00
Juhani Puurula 2b27ad15b2 Nanostack v6.2.2 2017-10-04 10:01:14 +03:00
Arto Kinnunen 0920cfc600 Fix redefinition of mbed TLS error codes
-Use guards around MBEDTLS macros.
2017-09-19 11:25:40 +03:00
Arto Kinnunen 29a58635d9 Update Nanostack to v6.2.1
v6.2.1 targeted to mbed OS 5.6 release.
2017-08-25 16:24:52 +03:00
Arto Kinnunen 9d5a9f5a29 Squashed 'features/nanostack/FEATURE_NANOSTACK/coap-service/' changes from e125164..d65b6b0
d65b6b0 Update unittests for nsdynmemlib API change (#71)
bc69b8b Disable CoAP duplicate message detection (#69)
ccb65f8 Change year 2017 to copyright (#68)
76490a7 Add option to join COAP multicast group (#67)
381d910 Register to multicast groups (#66)
dce323c Add transaction delete to CoAP service (#65)
feea33e Add option to select used socket interface (#63)
5a5c0f9 Merge pull request #62 from ARMmbed/coap_separation
0d26c00 Modifying file headers and Makefile  to adapt from libcoap to mbed-coap
d323c3a Fixing unit tests based on new coap library
d1a3d25 Modifying Makefile and source file based on new coap library

git-subtree-dir: features/nanostack/FEATURE_NANOSTACK/coap-service
git-subtree-split: d65b6b0eb890be93f667debe8da83aa498021ccf
2017-08-23 15:09:48 +03:00
Arto Kinnunen ca15df3db0 Merge commit '9d5a9f5a29d19b2e67402e4e452e13ce75baca7c'
* commit '9d5a9f5a29d19b2e67402e4e452e13ce75baca7c':
  Squashed 'features/nanostack/FEATURE_NANOSTACK/coap-service/' changes from e125164..d65b6b0
2017-08-23 15:09:48 +03:00
Arto Kinnunen a24fb4e5b1 Update Nanostack to v6.2.0
Nanostack v6.2.0 will be used in mbed-os-5.6
2017-08-23 15:06:32 +03:00
Seppo Takalo a2c4426965 Allow using of malloc() for reserving the Nanostack's heap.
Some devices have RAM memory split into two sections.
This becames a problem for GCC based toolchains as they don't
support splitting .bss or .data sections into two memory parts.
When we run out of memory from .bss sections, allocating the stack
by malloc() allows it to be moved to .data section which might already
be in the second memory section. For example KW24D platform.
2017-08-08 11:20:22 +03:00
Jimmy Brisson 3f52924821 Merge pull request #4738 from SeppoTakalo/compile_warnings
ONME-3113: Fix GCC_ARM and ARM compiler warnings from mbed-mesh-api
2017-07-27 09:42:18 -05:00
Kari Haapalehto f3c7e0dbc0 ONME-3113: Fix GCC_ARM and ARM compiler warnings from mbed-mesh-api
Warning #1300-D: inherits implicit virtual
- Adding the virtual keyword in the derived class prevents the warning

Warning #1-D: last line of file ends without a newline
- New line added at the end of file

Warning #997-D:
function "MeshInterfaceNanostack::initialize(NanostackPhy *)" is hidden
by "ThreadInterface::initialize"  -- virtual function override intended?
- virtual keyword removed from "MeshInterfaceNanostack::initialize"

Warning #1300-D: inherits implicit virtual
- Adding the virtual keyword in the derived class prevents the warning
2017-07-11 15:56:08 +03:00