Commit Graph

124 Commits (ee5c8135e45cd2832b459c0459479d6cc13000d5)

Author SHA1 Message Date
Russ Butler 60fb6c5c24 Update nanostack to use the RTOS
Update libraries so nanostack uses a thread rather than performing
processing from interrupts.

See below for diff of libraries updated:
6c13f90859...0e3cc04ffd
023fd8906c...36968fc133
2016-06-12 16:45:27 +01:00
Sam Grove 167fe63336 added default placement macro for all boards and toolchains 2016-06-11 16:21:50 -07:00
Sam Grove 8f6ae7c398 add IAR placement for LPC1768 and lwip buffers 2016-06-11 13:07:18 -07:00
Sam Grove e943b37ac7 Revert "Update atmel-rf-driver" 2016-06-11 13:53:48 +01:00
Sam Grove 4241deab18 Merge pull request #289 from geky/lwip-fix-connect
[NSAPI] Fix incorrect semaphore handling on lwip connect and socket_connect
2016-06-11 13:21:46 +01:00
Sam Grove a326c13f78 Merge pull request #277 from ARMmbed/atmel_rf_driver
Update atmel-rf-driver
2016-06-10 15:51:28 +01:00
Sam Grove 72c7bc4350 Merge pull request #275 from jupe/mbed_trace_update
update mbed-trace dependency
2016-06-10 15:38:49 +01:00
Christopher Haster b7c8060edb Increased lwip connect timeout to 5 seconds by default
For very slow networks the previous default has be problematically short
2016-06-10 07:27:28 -05:00
Jussi Vatjus-Anttila 097c12ff83 Update mbed-trace dependency to latest release 1.2.1.
Fix crash issue where application initialize trace prefix function and after that trace was called with parameters. Now there is unit test on place which covers this use-case also :)
2016-06-10 09:44:48 +01:00
Christopher Haster d4bdb94781 Fixed incorrect semaphore handling on lwip connect and socket_connect
- Semaphore returns 0 on timeout, and negative was incorrect used for
  errors
- Correctly checked error code on tcp_connect

thanks to @LiyouZhou
fixes #284, fixes #285, fixes #166
2016-06-09 23:46:03 -05:00
Christopher Haster 447934612c Fixed compilation error in setDebug when debug is unavailable
https://developer.mbed.org/teams/NetworkSocketAPI/code/C027_Support/rev/0d91c7fe072b
2016-06-09 22:21:40 -05:00
Kevin Bracey ea59df0eff Update atmel-rf-driver
Two fixes to reduce hassle of it being in-tree

* Avoid static constructors
* Avoid compiling on inappropriate platforms
2016-06-09 20:49:55 +01:00
Christopher Haster 3c00785826 Added handling for already connected sockets in LWIPInterface::connect 2016-06-09 13:04:28 -05:00
Yogesh Pande 3fdf1dd1e5 Updating mbed-trace lib pointer
This commit includes
 - mbed-trace using configuration mechanism to enable/disable tracing through mbed_lib.json
   ff8133f773
2016-06-09 17:27:06 +03:00
Kevin Bracey dc84d6af4f Merge pull request #268 from ARMmbed/mbed-mesh-api
Update mbed-mesh-api
2016-06-09 15:10:45 +01:00
Yogesh Pande f03004dca4 Updating mbed-client-mbed-tls and coap-service
This commit includes
 - Updating libs for mbed-client-mbed-tls and coap-service which contains
   fixes for updated mbedtls to work on mbed-os.
 - Updated pointers contains following commits
   7a11be1ccb
   b14e7b3303

   This PR should unblock https://github.com/ARMmbed/mbed-os/pull/238
2016-06-09 16:44:36 +03:00
Kevin Bracey 077994b956 Update mbed-mesh-api
Adds mbed-cli JSON configuration for radio and PAN parameters.
2016-06-09 14:23:41 +01:00
Kevin Bracey 2b977e216d Update coap-service
API change extensions required by Nanostack - currently out-of-sync,
breaking the build.
2016-06-09 11:59:27 +01:00
Martin Kojtal 2f50cd4755 Merge pull request #256 from ARMmbed/mbed-client-classic
Updating mbed-client-classic lib pointer.
2016-06-09 11:55:25 +01:00
Yogesh Pande 25e33f5be4 Updating mbed-client-classic lib pointer.
The commit includes

Adding support for setting Keepalive options for mbed Client while using TCP connectivity.
ARMmbed/mbed-client-classic@0b7fe15
The commit required feature from NetworkSocketAPI which was done here https://github.com/ARMmbed/mbed-os/pull/254/files
2016-06-09 13:27:23 +03:00
Kevin Bracey 35bc434647 Merge pull request #236 from SeppoTakalo/master
Update Nanostack.
2016-06-09 10:16:40 +01:00
geky 77d30db3a5 Merge pull request #254 from geky/lwip-keepalive
Add the NSAPI_KEEPALIVE socket option
2016-06-09 10:11:24 +01:00
Martin Kojtal e48f764b5c Merge pull request #249 from geky/fix-ksdk2-lwip
Fixed uninitialized port in lwip dragged in by KSDK2
2016-06-09 09:47:39 +01:00
Martin Kojtal 11ee5f21f3 Merge pull request #250 from ARMmbed/mbed-trace
Updating mbed-trace pointer in mbed-os repo.
2016-06-09 09:45:27 +01:00
Seppo Takalo c4c3edf0de Update Nanostack.
Required for Thread configuration store to work in Cliapp.
2016-06-09 11:18:43 +03:00
Kevin Bracey b2aefec6ca Merge pull request #215 from ARMmbed/ns_init
Adjust Nanostack startup
2016-06-08 18:20:47 +01:00
Yogesh Pande 66b7c6e6b6 Updating mbed-trace pointer in mbed-os repo. 2016-06-08 20:07:12 +03:00
Yogesh Pande 385464eff1 Updating mbed-client-classic pointer
This commit includes
 - Using config parameter to set heap size.
2016-06-08 18:58:04 +03:00
Yogesh Pande d5b89c0887 Updating mbed-client and mbed-client-c lib pointers.
Modified config parameter usage in mbed-client.
2016-06-08 18:55:19 +03:00
Kevin Bracey e3ab81b375 Merge pull request #228 from ARMmbed/ns_libservice
Update Nanostack libservice
2016-06-08 09:12:41 +01:00
Christopher Haster 3a62aa8aa4 Added NSAPI_KEEPIDLE option to the socket API and LWIPInterface 2016-06-07 20:38:23 -05:00
geky 3c180b3f30 Implement the NSAPI_KEEPINTVL in the LWIPInterface 2016-06-08 20:06:52 +01:00
geky 187958b1f8 Add NSAPI_KEEPINTVL parameter to the socket api 2016-06-08 20:01:51 +01:00
Christopher Haster 1e12b83e56 Fixed uninitialized port in lwip dragged in by KSDK2 2016-06-07 17:06:22 -05:00
Kevin Bracey 3f6b6ced17 Update Nanostack libservice
Pulls in heap optimisations, and ns_trace/mbed_trace unification.
2016-06-07 18:49:56 +01:00
Christopher Haster 973c323b59 Added support for NSAPI_KEEPALIVE in LWIPInterface 2016-06-07 10:52:39 -05:00
Martin Kojtal 9c7ca98ccf Merge pull request #227 from ARMmbed/mbed-client-classic
Updating mbed-client-classic git pointer.
2016-06-07 16:50:51 +01:00
Martin Kojtal 7f95241313 Merge pull request #224 from ARMmbed/ns_sem
Move Nanostack connect semaphore into object
2016-06-07 16:46:48 +01:00
Yogesh Pande f1aa30faa4 Updating mbed-client-classic git pointer.
This commit includes
 - Updated mbed-client-classic using new event loop initialization API.
2016-06-07 18:19:07 +03:00
Yogesh Pande ad09990bcf Updating mbed-mesh-api pointer.
This commit includes
 - Changes for managing single event loop instantiation.
2016-06-07 18:03:54 +03:00
Kevin Bracey 4eb394e391 Move Nanostack connect semaphore into object
Connect semaphore was being constructed and consuming RAM even if
Nanostack isn't in use. Avoid this by moving it into the class, where it
should be anyway.
2016-06-07 14:30:11 +01:00
Yogesh Pande 235e04f31b Adding 6k Stack size increase. 2016-06-07 13:28:55 +03:00
Kevin Bracey 51d3fc0459 Adjust Nanostack startup
Fix locking - can't lock until the system is initialised. So initialise
on first entry to connect().

Run randLIB initialisation after starting the radio driver - means you
get MAC and RF noise out.
2016-06-07 11:26:02 +01:00
Yogesh Pande ab3f05eaae Updating nanostack-hal-mbed-cmsis-rtos pointer
This commit includes
- New API for initializing event loop.
2016-06-07 13:23:52 +03:00
geky a534c20a17 Merge pull request #217 from geky/socket_event_coalescing
Add socket event coalescing to reduce cpu usage in lazy implementations
2016-06-07 10:54:02 +01:00
Christopher Haster f567252d3a Coalesce redundant events to reduce cpu usage in lazy implementations
*cough* esp8266 *cough*

this is especially important for event-loop based systems where
excessive events results in problematic memory consumption.
2016-06-06 16:35:12 -05:00
Martin Kojtal 653832e94b Merge pull request #188 from geky/c027
Revert "Revert "Add the C027Interface""
2016-06-06 17:20:35 +01:00
Yogesh Pande 252f50b6e8 Update mbed-client and mbed-client-c lib pointers.
This commit includes
 - Updating mbed client and mbed-client-c lib pointer having updated config file MACRO value.
2016-06-06 17:29:52 +03:00
Yogesh Pande 1b31abf2da Updating mbed-client-classic.lib pointer.
This commit includes
- Fix for IAR compilation issue with mbed-client-classic component.
2016-06-06 14:38:17 +03:00
Christopher Haster 3e49a6c11a Fixed compile-switched arguments to C027Interface for flow control 2016-06-05 18:59:41 -05:00