Commit Graph

51 Commits (003dd7c47f18628b10cddb3a81b572fa20a01032)

Author SHA1 Message Date
Martin Kojtal 5bddd881e9 Merge pull request #4406 from kjbracey-arm/shared_equeues
mbed_events.h: Add ability to request a shared event queue
2017-09-04 16:55:50 +01:00
Kevin Bracey b55af5c620 Use shared event queue for timer
Don't create our own timer thread - use the shared event queue.
2017-09-01 13:26:09 +03:00
Antti Yli-Tokola e7c8a4d71f Update mbed-coap to version 4.0.10
Fixes following error: IOTMAC-615 Node mDS registration failure during OTA transfer
2017-08-31 17:02:40 +03:00
Jimmy Brisson 4978a08ae2 Merge pull request #4960 from artokin/master
Nanostack update for mbed-os-5.6
2017-08-29 13:46:47 -05:00
Arto Kinnunen a1c4db2c90 Merge commit '33b0820afc856ebe8808cb0a8c1071bc74780743'
* commit '33b0820afc856ebe8808cb0a8c1071bc74780743':
  Squashed 'features/FEATURE_COMMON_PAL/mbed-trace/' changes from af5f59c..b731d95
2017-08-23 15:48:29 +03:00
Arto Kinnunen 8e3df07eaa Merge commit 'dd2b0955ae955137785c1dc6587594ea2c5161c5'
* commit 'dd2b0955ae955137785c1dc6587594ea2c5161c5':
  Squashed 'features/FEATURE_COMMON_PAL/sal-stack-nanostack-eventloop/' changes from 1fc996d..be7cdd6
2017-08-23 15:10:21 +03:00
Antti Yli-Tokola 83f7301800 Updating mbed-coap to version 4.0.9
Fixes error reported in Github.
 - https://github.com/ARMmbed/mbed-coap/issues/24
 - https://github.com/ARMmbed/mbed-os/issues/4374
2017-08-21 11:21:40 +03:00
Yogesh Pande 02ec6530f4 Updating mbed-coap to version 4.0.8
Fixes errors reported in Github

 - #4798
   - Fixed Lwm2m blockwise data transfer (using Block1 option) with Leshan
 - ARMmbed/mbed-client#512
   - Fixed an ongoing blocktransfer (Block 1 option) interruption by out of order Block to return error 4.08 Request Entity Incomplete as specified in the coap specification.
 - ARMmbed/mbed-client#511
   - Fixed detected duplicate message duplications will not stop mbed-client
2017-08-08 05:04:56 -07:00
Jimmy Brisson a0c9c8840c Merge pull request #4715 from kjbracey-arm/libservice_update
Nanostack+mbed-client libservice update
2017-07-27 09:42:03 -05:00
Yogesh Pande fbb12adbc4 Fix inconsistent mbed-trace dummy defines and original function declarations. 2017-07-12 06:39:09 -07:00
Kevin Bracey 17f1111817 Merge commit '0613e29fde32daa609eb6ae4ad785112b8fd9729'
* commit '0613e29fde32daa609eb6ae4ad785112b8fd9729':
  Squashed 'features/FEATURE_COMMON_PAL/nanostack-libservice/' changes from 6444c8a..854505d
2017-07-06 12:03:42 +03:00
Seppo Takalo 2f5b03e876 Fix typo that used 16kB for stack.
Intend is to use 2kB for stack, not 16kB, but the divide operand
has been forgotten here.
2017-06-07 15:36:09 +03:00
Antti Yli-Tokola d399395eab Revert Initialize remove_from_list flag to true.
* Cause regression in cloud registration
2017-06-06 13:48:42 +03:00
Antti Yli-Tokola fe808e0db5 mbed-coap fixes.
This commit includes:
 * Add support for sending response to duplicate messages
 * Add randomness for retransmission time
 * Fix usage sn coap blockwise max time data stored
 * CoAP parser option handler does not seem to handle "Option Length" completely according to spec
 * Handle '0' value if duplication buffer size is set through the sn_coap_protocol_set_duplicate_buffer_size()
2017-06-06 09:43:21 +03:00
Russ Butler 96bd943ea2 RTX5: Enable priority inheritance and robust mode
Add the attribute flash to enable priority inheritance and robust mode.
The robust flag allows mutexes held by terminated threads to be
properly released.
2017-06-02 23:50:36 -05:00
Sam Grove 5f138810a9 Merge pull request #4294 from ARMmbed/feature_cmsis5
Update CMSIS-Core and RTX to version 5
2017-06-02 23:44:32 -05:00
Hasnain Virk f602c936ff Redirecting LWIP debug trace to mbed-trace
This piece of code redirects LWIP debug trace to mbed-trace if configured.
This enables us to have universal traces.
2017-05-31 15:02:11 +03:00
Bartek Szatkowski b01f13d1a0 Make sure all system threads and mutexes have clear names 2017-05-30 18:55:55 +01:00
Bartek Szatkowski b793a3fb89 Update codebase for CMSIS5/RTX5
Update all of mbed-os to use RTX5.
2017-05-30 18:55:52 +01:00
Sam Grove ede77621d4 Merge pull request #4332 from yogpan01/master
Fix for blockwise observation failure
2017-05-26 17:03:17 -05:00
Seppo Takalo ad094fc5b6 Merge commit 'dcfe6c8f37971fa8a587eb488aca0437ead84f29' as 'features/FEATURE_COMMON_PAL/sal-stack-nanostack-eventloop' 2017-05-18 11:45:57 +03:00
Seppo Takalo 92c284e85d Remove event-loop, to be added as a subtree 2017-05-18 11:15:02 +03:00
Yogesh Pande 8062837848 Initialize remove_from_list flag to true 2017-05-17 02:32:14 -07:00
Yogesh Pande 95b657bfee Fix for blockwise observation failure
This commit includes
 - Fix for https://github.com/ARMmbed/mbed-client/issues/481
 - Detailed Changelog available here https://github.com/ARMmbed/mbed-coap/compare/v4.0.3...v4.0.4
2017-05-16 22:04:53 -07:00
Seppo Takalo bb7eecaedc Merge commit '1d3c49a408faa231d18d83fb03c65425cf22c507' into nanostack-libservice
* commit '1d3c49a408faa231d18d83fb03c65425cf22c507':
  Squashed 'features/FEATURE_COMMON_PAL/nanostack-libservice/' changes from 67affc61b..6444c8a4f
2017-05-11 13:38:20 +03:00
Seppo Takalo fb91d73606 Merge commit '8d65f6d10a610bd4305528f7338e081059a93fb8' as 'features/FEATURE_COMMON_PAL/nanostack-libservice' 2017-04-27 15:19:39 +03:00
Seppo Takalo 210508b801 Remove libservice, to be added as a subtree 2017-04-27 15:15:30 +03:00
Anna Bridge fd5c327de1 Merge pull request #3976 from yogpan01/master
mbed-coap error fixes merge to mbed OS
2017-03-23 15:40:41 +00:00
Yogesh Pande cf8863c53b mbed-coap error fixes merge to mbed OS
This commit includes
 - Error fixes done on mbed-coap merge back to mbed OS.
 - Detailed CHANGELOG  is available here (https://github.com/ARMmbed/mbed-coap/compare/v4.0.2...v4.0.3)
2017-03-21 12:39:11 +02:00
Seppo Takalo da80d6bd4b Update mbed-trace
* commit 'c8a16cc274fbbb074909690a78a9d2aaf5411d5a':
  Squashed 'features/FEATURE_COMMON_PAL/mbed-trace/' changes from 31e338c23..af5f59cd2
2017-03-16 10:54:21 +02:00
Sam Grove 371aaa53c3 Merge pull request #3789 from yogpan01/master
Separating CoAP library from mbed-client-c
2017-02-23 15:44:58 -06:00
Seppo Takalo 9137ba8f8a Add NS_DUMMY_DEFINITIONS_OK
Add definition from master repository.
This fixes compilation of coap_service.c on non-secure platforms.
2017-02-23 14:44:59 +02:00
Yogesh Pande f51329b858 Reverting fix for IOTCLT-1439 because of regression 2017-02-23 12:29:49 +02:00
Yogesh Pande 9f8271e495 Taking error fix for IOTCLT-1439 2017-02-23 08:23:39 +02:00
Yogesh Pande f57433a00a Separating CoAP library from mbed-client-c
This commit includes
 - Removing CoAP sources from mbed-client-c to its own repository.
 - mbed-client-c is moved outside of mbed-os source tree because it is used by mbed-client, so
   it will be part of mbed-client offering.
 - CoAP sources are used by coap-service which is a part of nanostack deliveries hence coap now existing
   as independent module under mbed-coap.

 - Commit handles the interdepdency of coap-service with mbed-client-c because of coap sources, coap-service
   header files are now fixed to point to right header directory.
2017-02-16 19:08:28 +02:00
Jaakko Kukkohovi d80f863647 Update mbed-client-c version 3.0.4 2016-12-23 13:52:42 +02:00
Seppo Takalo 119c118e22 Rename timeout.c to not collide with Timeout.cpp
IAR builds put all object files in same directory, so same
prefix is not allowed.
2016-11-29 17:32:28 +02:00
Seppo Takalo 8c669c6f40 Add 'features/FEATURE_COMMON_PAL/mbed-client-randlib/' from commit '26cdd3904f3042c21155a39e940fafb266af20d2'
git-subtree-dir: features/FEATURE_COMMON_PAL/mbed-client-randlib
git-subtree-mainline: 6aedb5aeb7
git-subtree-split: 26cdd3904f
2016-11-09 15:13:57 +02:00
Seppo Takalo 6aedb5aeb7 Remove Randlib 2016-11-09 15:10:38 +02:00
Seppo Takalo 35c4ceb2ef Update mbed-trace
* commit '7a4b3d11a35f764d887b1a8c7a31b1944d2c9c46':
  Squashed 'features/FEATURE_COMMON_PAL/mbed-trace/' changes from b17e969..31e338c
2016-10-05 16:09:58 +03:00
Seppo Takalo 11f8ccc871 Add mbed-trace subtree
Next time, updating of mbed-trace is just:
```
git subtree pull --squash -m "Update mbed-trace" \
     -P features/FEATURE_COMMON_PAL/mbed-trace \
     git@github.com:ARMmbed/mbed-trace.git master
```
2016-10-03 14:41:04 +03:00
Seppo Takalo 507d3efa9e Remove mbed-trace 2016-10-03 14:40:05 +03:00
Sam Grove 98030475af Merge pull request #2804 from yogpan01/mbed-os.5.2-rc1
Updating mbed-client-c and sal-stack-nanostack-eventloop
2016-09-25 22:11:24 -05:00
Yogesh Pande ce0b86a392 Updating mbed-client-c and sal-stack-nanostack-eventloop
**mbed-client-c**

[Full Changelog](https://github.com/ARMmbed/mbed-client-c/compare/v3.0.1...v3.0.2)

**New feature**

- Make resending flags configurable through Yotta and mbed-cli build systems
- Introducing Configuration management through Config file

**Closed issues:**

- IOTCLT-882 - Confirmable messages sending

**sal-stack-nanostack-eventloop**
[Full Changelog](https://github.com/ARMmbed/sal-stack-nanostack-eventloop/compare/mbed-os-5.0-rc1...mbed-os.5.2-rc1)

**New features**

- Move configuration parameter resolution to separate header and allow user definable configuration header to be used.
- Port eventloop system timer to use new tick timer functions platform_tick_timer_register, platform_tick_timer_start and platform_tick_timer_stop.
2016-09-24 16:44:27 +03:00
Sam Grove e6dace5d18 Merge pull request #2720 from yogpan01/mbed-os.5.2-rc1
Removing mbed-client and other fix commits.
2016-09-16 17:37:08 -05:00
Sam Grove c940d0e20a Merge pull request #2551 from ARMmbed/runtime_configuration
Remove IPv6 link time dependency on an RF phy
2016-09-16 17:17:51 -05:00
Yogesh Pande 86e0841f04 Removing mbed-client and other fix commits.
**FEATURE_CLIENT**
Removing FEATURE_CLIENT from mbed-os source tree.

This commit removes FEATURE_CLIENT from mbed-os source tree
Applications using mbed-client now have to explicitly add
mbed-client.lib in addition to mbed-os.lib.

**mbed-client-c**
 -  [v3.0.1](https://github.com/ARMmbed/mbed-client-c/releases/tag/v3.0.1) (15-Sep-2016)
[Full Changelog](ARMmbed/mbed-client-c@mbed-os-5.0-rc1...v3.0.1)

**New features**

- Creates a new sn_nsdl_put_resource function, which takes ownership of sn_nsdl_resource_info_s resource object (not members) instead of creationg copy of it
- Rearranged struct member variable to pack better into memory
- Refactored coap_options_list to treat number members as numbers instead of strings
- Add option to pass incoming blocks to application instead storing them internally
- Added API for deleting one message from resending

**Closed issues:**

- IOTCLT-1001 - mDS does not sent RST anymore for Client after DELETE /subscriptions

**coap-service**
 -  [v4.0.3](https://github.com/ARMmbed/coap-service/releases/tag/v4.0.3) (15-Sep-2016)
[Full Changelog](ARMmbed/coap-service@mbed-os-5.0-rc1...v4.0.3)

**New features**

- Updated coap-service to use new structure from mbed-client-c
- Set link layer security when opening socket.
2016-09-15 20:42:06 +03:00
Arto Kinnunen 1b46d2bbf9 Avoid type collision by renaming callback variable
Build jobs are failing due build error "arm_hal_timer.cpp:50:5:
error: reference to 'callback' is ambiguous".

Fix the build error by renaming callback to arm_hal_callback to
avoid collision with callback defined in ./mbed-os/hal/api/Callback.h
2016-09-13 15:02:43 +03:00
Russ Butler 126c8be053 Remove IPv6 link time dependency on an RF phy
Create a Nanostack rf phy class to wrap various rf physical interfaces.
Allow this phy to be set at runtime rather than compile time.
2016-08-31 15:24:51 -05:00
Russ Butler 9c01bbc199 Update client and nanostack to include mbed.h
Include mbed.h rather than mbed-drivers/mbed.h.
2016-07-26 10:33:43 -05:00