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
Christopher Haster
e3cb10f134
Revert "Revert "Add the C027Interface""
...
This reverts commit 0aa9bd0bf2
.
2016-06-05 18:45:12 -05:00
Yogesh Pande
7f9d06f2ce
Updating mbed-client-classic repo pointer
...
This commit includes
- Udpating mbed-client-classic repository pointer after removing threadwrapper.h
2016-06-03 09:52:21 +03:00
Yogesh Pande
13814e4c12
Updating mbed-client related git repo pointers
...
This commit updates
- mbed-client.lib
- mbed-client-c.lib
- mbed-client-classic.lib
- nanostack-hal-mbed-cmsis-rtos.lib
2016-06-02 17:04:12 +03:00
Seppo Takalo
94c931ca7b
Update Nanostack
2016-06-02 12:12:16 +03:00
Martin Kojtal
0aa9bd0bf2
Revert "Add the C027Interface"
2016-06-01 13:50:52 +01:00
Sam Grove
834fc28bdb
Merge pull request #108 from geky/c027
...
Add the C027Interface
2016-06-01 07:51:28 +08:00
Yogesh Pande
b5a8dcf374
Updating mbed-client-classic repo with latest reconnection logic.
...
This commit includes
- Reconnection logic porting from existing mbed OS implementation.
- Tested on Ethernet.
2016-05-31 14:42:14 +03:00
Russ Butler
eb76d0ebd6
Pull in lwip-eth updates from mbedmicro/mbed
...
Sync the directory lwip-eth with that of mbedmicro/mbed at revision
b32f7a9aaf
.
2016-05-28 00:08:28 -05:00
Russ Butler
966ef8c35e
Remove hal
...
Remove all the hal files in preparation for pulling in mbedmicro/mbed.
2016-05-27 17:53:53 -05:00
Russ Butler
a659b47785
Pull up on atmel-rf-driver to fix older IAR
...
Bring in changes to support older versions of IAR.
2016-05-27 14:08:49 -05:00
Martin Kojtal
08ecdb296b
Merge pull request #139 from geky/callback-fixes
...
Small fixes for issues with Callback class
2016-05-27 09:14:02 +01:00
geky
11baa9dce0
Merge pull request #144 from devran01/master
...
Incrase netif_up semaphore timeout from 1500ms to 2500ms
2016-05-26 10:46:30 -05:00
Russ Butler
bd3ad9d6ff
Remove mirror repos
...
Remove all of the repos which are being automatically mirrored. The
addition of .mbedignore allows these repos to be used directly.
Also pull up on nanostack-hal-mbed-cmsis-rtos.lib to bring in new
features required by the updated repos.
2016-05-26 09:29:20 -05:00
Devaraj Ranganna
506d63e8b7
Incrase netif_up semaphore timeout from 1500ms to 2500ms
2016-05-26 11:18:45 +01:00
Christopher Haster
753720af56
Fixed ambigous function declarations in serial class
...
Caused by default argument and overly generalized templated types.
SerialBase::attach(T *obj, M method, IrqType type=RxIrq)
->
SerialBase::attach(T *obj, void (T::*method)(), IrqType type=RxIrq)
SerialBase::attach(T *obj, void (*method)(T*), IrqType type=RxIrq)
2016-05-25 15:24:54 -05:00
Russ Butler
a4355ce81a
Fix atmel-rf-driver to use mirror repo SHA
...
The atmel-rf-driver-mirror repo is pointing to a SHA in the
atmel-rf-driver repo. This prevents mbed-os from building.
This patch updates atmel-rf-driver.lib to point to the correct
SHA.
2016-05-25 09:01:48 -05:00
Russ Butler
14e235ae46
Update libraries for IAR support
...
Pull up on libraries so they support IAR.
2016-05-24 14:38:34 -05:00
Russ Butler
960941cb0a
Add IAR support
...
Make the following changes for IAR support:
-define __deprecated_message for IAR
-fix python error in iar.py
-move variable length array in buffered serial from cpp file to c file.
IAR only supports variable length arrays in c.
2016-05-24 14:37:14 -05:00
Sam Grove
02a23c22ad
Merge pull request #103 from geky/esp8266-non-blocking
...
Add non-blocking support to ESP8266Interface
2016-05-20 16:03:40 -05:00
Russ Butler
e920f247bf
Update mbed-client repos
...
Update the mbed-client repos to bring in the latest changes. With
this PR the mbed-client repos now point to commits mirrored from
the real repo rather than a morpheus fork.
2016-05-18 09:42:59 -05:00
Sam Grove
7d541a9cbd
Merge pull request #104 from theotherjimmy/buffered-serial-printf
...
removed warning about unsigned to signed cast
2016-05-18 02:02:59 -05:00
Jimmy Brisson
59ed1bef61
removed warning about unsigned to signed cast
2016-05-17 13:35:24 -05:00
Russ Butler
64cd1f3dfb
Fix SocketAddress constructor to support ipv6
...
Fix typo causing ipv6 addresses in the constructor to fail.
2016-05-17 08:24:10 -05:00
Christopher Haster
9ce315a18c
Increase C027 buffers to handle DTLS packets
2016-05-17 04:06:03 -05:00
Christopher Haster
901dcbd893
Fix C027 endianness issue
2016-05-17 03:05:24 -05:00
Christopher Haster
88293b54f1
Fix idiosyncratic non-blocking behaviour in C027
2016-05-17 02:48:47 -05:00
Christopher Haster
a878b60a0a
Add background thread to emulate attach callback for C027
2016-05-17 01:22:53 -05:00
Christopher Haster
467a31f263
Add C027Interface
2016-05-17 01:22:52 -05:00
Christopher Haster
4f8e8f5d75
Add non-blocking support to ESP8266Interface
...
requires changes in the following
- BufferedSerial
- ESP8266
- ESP8266Interface
2016-05-16 20:40:57 -05:00
Christopher Haster
dd6a24b76d
Adopt Callback class in NetworkSocketAPI
2016-05-16 11:48:09 -05:00
Russ Butler
b15e2c293e
Add synchronization to the network socket API
...
Add mutexes to protect the network socket API. Also use semaphores to
wait for read/write events. Also fix a typo in the comments for
timeout.
2016-05-15 18:03:48 -05:00
Russ Butler
c8fc4dff6d
Update Nanostack related libs
...
Update library files related to Nanostack to bring in Network Socket
API support.
2016-05-15 18:03:40 -05:00
Christopher Haster
83f65c0d3a
Add rudimentary support for server side
...
mirrored from:
https://developer.mbed.org/teams/NetworkSocketAPI/code/LWIPInterface/
2016-05-13 11:41:20 -05:00
Christopher Haster
9e415df196
Match changes to NSAPI in LWIPInterface
...
mirrored from:
https://developer.mbed.org/teams/NetworkSocketAPI/code/LWIPInterface/
2016-05-13 11:41:19 -05:00
Christopher Haster
4684173778
Match changes to NSAPI in ESP8266Interface
...
mirrored from:
https://developer.mbed.org/teams/components/code/ESP8266Interface/
2016-05-13 11:41:18 -05:00
Christopher Haster
7d9b5e6f76
Small bug fixes
...
mirrored from:
https://developer.mbed.org/teams/NetworkSocketAPI/code/NetworkSocketAPI/
- Fix bug with SocketAddress init per @c1728p9
- Fix issue with not passing interface through accept call
- Fix port issue in SocketAddress constructor
2016-05-13 11:41:17 -05:00
Christopher Haster
8304124a63
Add NSAPI_ERROR_PARAMETER
...
per @c1728p9
2016-05-13 11:41:16 -05:00
Christopher Haster
bcab0fcef5
Added WFI to save power in temporary polling implementation
2016-05-13 11:41:15 -05:00
Christopher Haster
5475dd0404
Consolidate set_timeout/set_blocking behaviour
...
- Avoids ambiguity when both are used
- Matches Python behaviour
2016-05-13 11:41:14 -05:00
Christopher Haster
d17fa4faad
Separate Stack/Interface concept into two distinct classes
2016-05-13 11:41:13 -05:00
Christopher Haster
49ba2be3a7
Add standardized stack options
2016-05-13 11:41:11 -05:00
Christopher Haster
893dfec7e6
Added workaround for bug in newlib sscanf
...
https://bugs.launchpad.net/gcc-arm-embedded/+bug/1399224
2016-05-13 11:41:10 -05:00
Russ Butler
57de57efc5
Update libraries to match the latest NSAPI
...
Update the library references for mbed-client-classic and
sal-iface-6lowpan-morpheus-private.
2016-05-13 11:41:09 -05:00
Christopher Haster
f4526e5b73
Fix race condition in socket close
2016-05-13 11:41:08 -05:00