Commit Graph

3885 Commits (e38d47fed76439cc80ce3a4f3c00aae9cf49db63)

Author SHA1 Message Date
Martin Kojtal 31475455ea
Merge pull request #8751 from jarvte/ctx_unittests
Cellular: minor fix to CellularDevice and adding updating unit tests after refactoring
2018-11-19 11:54:56 +00:00
Teppo Järvelin e5c3024849 Cellular: adding unit tests for new class CellularContext and changed classes. 2018-11-16 13:14:38 +02:00
Qinghao Shi d157e59267 reformat to following codeing style rules 2018-11-16 10:29:31 +00:00
Qinghao Shi 25e8f89567 update wait_ms() to sleep_for() 2018-11-16 10:29:31 +00:00
Qinghao Shi 78b186ec56 Update code according to the reviews
* move emac driver to COMPONENT folder
* use mbed rtos C++ API instead of CMSIS API
2018-11-16 10:29:31 +00:00
Qinghao Shi 1a25051f91 override default mem-size in lwIP stack config 2018-11-16 10:27:15 +00:00
Qinghao Shi e603f1ad49 add FVP EMAC driver 2018-11-16 10:22:42 +00:00
Cruz Monrreal II b327b12c75 Merge branch 'david_unity_error_code' of ssh://github.com/davidsaada/mbed-os into rollup-b.1 2018-11-15 18:26:14 -06: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
Cruz Monrreal II 0e4f843022 Merge branch 'david_buffered_bd_perf' of ssh://github.com/davidsaada/mbed-os into rollup-b.1 2018-11-15 18:26:11 -06:00
Cruz Monrreal II 5c1c7bf71f Merge branch 'fix_astyle_error' of ssh://github.com/0xc0170/mbed-os into rollup-b.1 2018-11-15 18:26:09 -06:00
Cruz Monrreal II 8cbd310858 Merge branch 'Lora_compliance' of ssh://github.com/AnttiKauppila/mbed-os into rollup-b.1 2018-11-15 18:26:06 -06:00
Cruz Monrreal fa2077df41
Merge pull request #8685 from bridadan/clean_up_deprecated_feature_code
Clean up deprecated feature code
2018-11-15 17:05:22 -06:00
Martin Kojtal 48569e1cf7 Merge branch 'master' of https://github.com/ConradBraam/mbed-os into dev_rollup 2018-11-15 14:04:41 +00:00
Martin Kojtal 9a252cd218 Merge branch 'feature-emac-mxrt1050' of https://github.com/NXPmicro/mbed into dev_rollup 2018-11-15 13:58:27 +00:00
Martin Kojtal 91e1da1f8c cellular: fix test coding style 2018-11-15 10:47:11 +00:00
Martin Kojtal f91eed97da cellular: fix onboard cellular coding style 2018-11-15 10:47:08 +00:00
David Saada 3995779806 Add a Unity macro to assert on platform error code difference 2018-11-15 12:14:44 +02:00
David Saada 50836e76a1 Improve the efficiency of BufferedBlockDevice 2018-11-15 11:52:22 +02:00
Martin Kojtal a2ae34b0e6 cellular: fix coding style 2018-11-15 07:23:37 +00: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
Martin Kojtal a4500e86f5 blockdevice test: fix coding style 2018-11-15 07:20:09 +00:00
Anna Bridge 4d07bcbd6e
Merge pull request #8579 from jarvte/cellular_context
Major refactoring: changing Network inheritance from CellularNetwork to new class CellularContext
2018-11-14 14:37:19 +00:00
Mahesh Mahadevan 12c6b1bd88 MIMXRT1050EVK: Add ENET support
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-11-14 07:13:07 -06:00
Conrad Braam ef81f4b5a3
Merge pull request #2 from ARMmbed/master
catch up from armmbed
2018-11-14 12:25:12 +00:00
Antti Kauppila cf53494f2e Compliance test errors fixed 2018-11-14 09:46:38 +02:00
Cruz Monrreal II 4a5ba7f156 Merge branch 'getpeername' of ssh://github.com/SeppoTakalo/mbed-os into rollup 2018-11-13 17:26:49 -06:00
Teppo Järvelin 88213d3e03 Cellular: astyle fixes after introducing CellularContext class and major refactor. 2018-11-13 18:50:35 +02:00
Teppo Järvelin 14f3740c13 Cellular: fixed cellular greentea tests after major refactoring. 2018-11-13 18:33:55 +02:00
Seppo Takalo 619bcb5b4e Implement Socket::getpeername() API
This is equivalent of POSIX getpeername() function. It allows to
get remote address associated with the socket.
For example:
socket *s = server.accept();
SocketAddress remote;
s->getpeername(&remote);
2018-11-13 11:02:51 +02:00
Conrad Braam 6a59fa1e62 State machine step for Erase command 2018-11-12 16:13:21 +00:00
Kevin Bracey 913103c34d TLSSocketWrapper: decouple error requirements
* Don't pull in mbedtls_strerror() if trace is not enabled.
* Output error trace even if mbedtls_strerror() is not available.
2018-11-12 13:12:34 +02:00
Teppo Järvelin 3f6e088782 Cellular: Fixed backward compatibility with OnBoardCellularInterface and set default values in NetworkInterfaceDefaults.cpp. 2018-11-11 14:13:05 +02:00
Teppo Järvelin 1a047efade Cellular: review fixes, added missing fixes from master. 2018-11-11 14:13:05 +02:00
Teppo Järvelin 467ae09bef Cellular: Updated target SARA4_PPP to use new CellularContext class. 2018-11-11 14:13:05 +02:00
Teppo Järvelin 9fb83024ea Changed CellularContext to inherit from CellularBase instead of NetworkInterface. \n Changed Device constructor to take Filehandle instead of eventqueue. 2018-11-11 14:13:05 +02:00
Teppo Järvelin dbbe2ddc59 Cellular: fixed to compile even if CELLULAR_DEVICE and rx/tx are not defined. 2018-11-11 14:13:05 +02:00
Teppo Järvelin d1ff9ed68d Cellular: added to reset state machine is we get disconnected so application can try again. 2018-11-11 14:13:05 +02:00
Teppo Järvelin 609b0f71be Cellular: minor doxygen fixes. 2018-11-11 14:13:05 +02:00
Teppo Järvelin 8385b19e5e Cellular: Deleted unused class CellularConnectionFSM. Application should use CellularContext class instead. 2018-11-11 14:13:05 +02:00
Teppo Järvelin 43e08a0adf Cellular: fixing unit test after refactor. 2018-11-11 14:12:49 +02:00
Teppo Järvelin ad2abbe887 Cellular: major refactoring while introducing new CellularContext class. 2018-11-11 14:12:49 +02:00
Teppo Järvelin 8880538eba Cellular: Introduced new state machine to replace old CellularConnectionFSM
CellularDevice class own new state machine. Now we don't have to expose state machine
which may change and so we don't have to make API changes if that happens.
EasyCellularConnection uses now CellularDevice instead of old state machine.
2018-11-11 14:11:21 +02: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 923ce138f5 Merge commit '661681f65c3fb61aec2e4605bef0fc075cc8cb0d' into mbedos511
* commit '661681f65c3fb61aec2e4605bef0fc075cc8cb0d':
  Squashed 'features/frameworks/nanostack-libservice/' changes from bb56e37..1d4c358
2018-11-10 20:14:25 +02:00
Cruz Monrreal 9d95d46d6c
Merge pull request #8591 from 0xc0170/fix_coding_style_features
features: fix coding style
2018-11-09 09:40:56 -06: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