Commit Graph

3895 Commits (8e41cac58386568c6f91d7e1b2eb5508fda30cbd)

Author SHA1 Message Date
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
Arto Kinnunen 9a13e9d5e8 Merge commit '1374a5e5e6775dd6db9533075f25b3112c984b22' into mbedos511
* commit '1374a5e5e6775dd6db9533075f25b3112c984b22':
  Squashed 'features/frameworks/mbed-trace/' changes from 9eaf0d1..7a1bd34
2018-11-09 15:59:35 +02:00
Arto Kinnunen ce2ecd5e5b Merge commit '5d162a08ffd383c97b49e35f3065fcd4638ac87c' as 'features/frameworks/mbed-client-randlib' 2018-11-09 15:52:44 +02:00
Arto Kinnunen 72fc5faab0 Remove mbed-client-randlib
Remove mbed-client-randlib and add it later as git subtree
2018-11-09 15:48:41 +02:00
Arto Kinnunen 9e661a9846 Merge commit '623607c9da4ccd5cc1d3d75ff185b3f8d29a473b' as 'features/nanostack/sal-stack-nanostack-eventloop' 2018-11-09 15:31:56 +02:00
Arto Kinnunen 2457efc20a Remove sal-stack-nanostack-eventloop 2018-11-09 15:29:30 +02:00
Brian Daniels da6ce029ea Removing cellular references to COMMON_PAL 2018-11-08 16:55:59 -06:00
Cruz Monrreal II 6ebc5be0f0 Merge branch 'cellular_fsm' of ssh://github.com/marcemmers/mbed-os into rollup 2018-11-08 13:24:20 -06:00
Cruz Monrreal II e40c357cb2 Merge branch 'internetsocket' of ssh://github.com/marcemmers/mbed-os into rollup 2018-11-08 13:24:14 -06:00
Cruz Monrreal II 60ad33b180 Merge branch 'mbed_client_cli_sync_v040' of ssh://github.com/artokin/mbed-os into rollup 2018-11-08 13:24:08 -06:00
Cruz Monrreal dee3506fe4
Merge pull request #8676 from 0xc0170/dev_rollup
Rollup PR
2018-11-08 17:58:34 -06:00
Martin Kojtal 14eadfac44
Merge pull request #8653 from u-blox/r410m_sdcard
mbed_lib.json updated for other all C030 targets and code corrected t…
2018-11-08 14:54:58 +01:00
Arto Kinnunen 2d10cebd00 Sync mbed-client-cli files with v0.4.0
Sync mbed-client-cli with master repo v0.4.0.
2018-11-08 13:21:56 +02:00
Martin Kojtal 0217f69511 Merge branch 'cm3ds_emac' of git://github.com/kapi90/mbed-os into dev_rollup 2018-11-08 09:21:38 +00:00
Martin Kojtal 20646d3da1 littlefs: fix coding style 2018-11-08 08:54:43 +00:00
Martin Kojtal 63160d8c5b netsocket: fix astyle coding style 2018-11-08 08:54:17 +00:00
Martin Kojtal 884a7748b2 lorawan: fix astyle coding style 2018-11-07 08:56:36 +00:00
Martin Kojtal 7bd258154d feature deprecated: fix astyle coding style 2018-11-07 08:56:35 +00:00
Martin Kojtal 41c1901318 lwipstack: fix astyle coding style 2018-11-07 08:56:35 +00:00
Martin Kojtal e54ce88bca storage: fix astyle coding style 2018-11-07 08:56:35 +00:00
Martin Kojtal 5c79ba5189 lorawan: fix coding style 2018-11-07 08:56:32 +00:00
Martin Kojtal bfb8b723c3 device key: fix coding style 2018-11-07 08:56:32 +00:00
Martin Kojtal 71d35749f9 cellular: fix coding style 2018-11-07 08:56:32 +00:00
Cruz Monrreal II 75368766f7 Merge branch 'fix_compile_warning' of ssh://github.com/KariHaapalehto/mbed-os into rollup 2018-11-06 21:29:08 -06:00
Cruz Monrreal II ddd82a9d5e Merge branch 'fix_possible_memory_leak' of ssh://github.com/KariHaapalehto/mbed-os into rollup 2018-11-06 21:29:02 -06:00
Cruz Monrreal c792d33112
Merge pull request #8652 from 0xc0170/dev_rollup
Rollup PR for docs
2018-11-06 20:40:04 -06:00
Cruz Monrreal 0c2d35f312
Merge pull request #8612 from vidavidorra/master
Add names to system thread
2018-11-06 17:00:05 -06:00
Marc Emmers dcb97f9f74 InternetSocket: Fixed missing unlock before return 2018-11-06 15:02:42 +01:00
Fahim Alavi 2806dd8216 mbed_lib.json updated for other all C030 targets and code corrected to use UBLOX_AT 2018-11-06 17:58:41 +05:00
Martin Kojtal 4cbcd64ca3 Merge branch 'doxy_refactor' of https://github.com/jamesbeyond/mbed-os into dev_rollup 2018-11-06 12:10:10 +00:00
Martin Kojtal cb4924151e
Merge pull request #8621 from marcuschangarm/fix_include
Add missing include for TLSSocket
2018-11-05 17:18:52 +01:00
Martin Kojtal d55c0da61e
Merge pull request #8613 from SeppoTakalo/tls_fix
Make sure that TLSSocketWrapper::close() is called before the transport is destroyed.
2018-11-05 17:17:36 +01:00
Martin Kojtal 73cc54e5f7
Merge pull request #8524 from korjaa/more_blockdevice_tests
Add more generic BlockDevice tests.
2018-11-05 17:15:59 +01:00
Arto Kinnunen ef39a19ba9 Merge commit '6dd01c679db4deb0a4a2c55832f3abe7b19bc51b' into mbedos511
* commit '6dd01c679db4deb0a4a2c55832f3abe7b19bc51b':
  Squashed 'features/nanostack/sal-stack-nanostack/' changes from 2535a6c..ccd30a3
2018-11-05 17:08:28 +02:00
Arto Kinnunen 3c37456f4c Merge commit '6a6dc452aa482a87421de660b3c57590cd43d6fa' into mbedos511
* commit '6a6dc452aa482a87421de660b3c57590cd43d6fa':
  Squashed 'features/nanostack/coap-service/' changes from cbe656a..bc331ca
2018-11-05 14:22:43 +02:00
Arto Kinnunen d7e2bd3f81 Merge commit '7fab5abace6aa9d6fc6c335fa6fcab15a108d646' into mbedos511
* commit '7fab5abace6aa9d6fc6c335fa6fcab15a108d646':
  Squashed 'features/frameworks/mbed-trace/' changes from 6df2572..9eaf0d1
2018-11-05 14:21:35 +02:00
Arto Kinnunen 66620a2761 Merge commit '0ca91df5905111270a6ec1343be5c726c97fe571' into mbedos511
* commit '0ca91df5905111270a6ec1343be5c726c97fe571':
  Squashed 'features/frameworks/nanostack-libservice/' changes from 5eb2f3f..bb56e37
2018-11-05 14:17:48 +02:00
Kari Haapalehto 4aaf013b0e Fix memory leak 2018-11-05 13:09:56 +02:00
Kari Haapalehto c7afb91f62 Fix compile warning about initializing and variable order 2018-11-05 12:45:53 +02:00
Cruz Monrreal 0e6eac5faa
Merge pull request #8491 from lrusinowicz/new-target-future_sequana
New target future sequana
2018-11-03 07:05:58 -05:00
Jeroen de Bruijn 440905a84e
fix: Change cellular FSM thread name 2018-11-02 16:23:52 +01:00
Jeroen de Bruijn 3f635ef813
fix: Update thread names
Remove _thread suffix and rename threads.
2018-11-02 13:44:24 +01:00
Cruz Monrreal 430fb3e7ba
Merge pull request #8601 from kjbracey-arm/error_fmtcheck
Add format checking to printf-type APIs
2018-11-01 16:09:05 -05:00
Marcus Chang 07eb6bd159 Add missing include for TLSSocket
TCP and UDP sockets are automatically available when mbed.h is
included in an application.

This change lets the TLSSocket be used in the same way.
2018-11-01 13:32:37 -07:00
Leszek Rusinowicz 9b1db83eaa Added required changes outside of TARGET_Cypress tree:
1. In drivers/Timer.cpp make sure that hardware timer is initialized outside of critical section.
   This is because on PSoC 6 hardware resources are shared between both cores
   and we have to make sure that the other core is not already using a particular resource.
   This mechanism is based on interprocessor communication taht cannot be handled iside of
   critical section.
2. Added support for post-binary hook function for PSoC 6 targets, so the hex image for M0+ CPU core
   can be merged with M4 core image for the final image.
3. Added possibility to use hook function from exportes, so the M0+ hex image could be included
   in the generated project.
4. Included hex images in the build dependency list, so the update of image is catched by the
   build process.
2018-11-01 20:19:21 +01:00
Leszek Rusinowicz f906aac096 Added BLE support based on CORDIO stack. 2018-11-01 20:15:57 +01:00
Seppo Takalo f92108c0f3 Make sure that close() is called before the transport is destroyed.
Transport is a member of TLSSocket which is derived from TLSSocketWrapper.
Make sure that TLSSocketWrapper::close() is called before the transport is
destroyed.
2018-11-01 15:30:27 +02:00
Jeroen de Bruijn 1f4f623339
feat: Name PPP thread 2018-11-01 13:57:03 +01:00
Jeroen de Bruijn 56a12ce7d6
feat: Name cellular FSM queue thread 2018-11-01 13:55:44 +01:00
Jaakko Korhonen c3e0e3e75d Add generic BlockDevice test for get_erase_value(). 2018-11-01 14:51:07 +02:00
Jaakko Korhonen ebef79a05c Add generic BlockDevice test for contiguous erase/write/read. 2018-11-01 14:51:07 +02:00
Qinghao Shi 60cc0c295d fixed NetworkInterface Class missing in doxy 2018-10-31 14:50:59 +00:00
Kevin Bracey fc32d954ac FATFileSystem: fix format specifiers 2018-10-31 14:49:22 +02:00
Martin Kojtal 2015a61b37
Merge pull request #8580 from tz-arm/fix_incorrect_comment_in_socket_h
Fix the incorrect comment for set_blocking()
2018-10-31 13:10:35 +01:00
Cruz Monrreal fba0669194
Merge pull request #8563 from marcuschangarm/default_qspif
Add QSPIF block device to default system storage
2018-10-30 22:32:01 -05:00
Cruz Monrreal 9226c5873d
Merge pull request #8550 from deepikabhavnani/mbed_h_fixes
Add required namespace instead of relying on mbed.h
2018-10-30 08:47:04 -05:00
Cruz Monrreal 66968c5bb0
Merge pull request #8371 from u-blox/ublox-cellular-unsupported-features
Cellular: Add unsupported features for UBLOX targets
2018-10-30 08:46:47 -05:00
Martin Kojtal 27c0affef7
Merge pull request #8578 from cmonr/rollup
Rollup PR: Samll docs changes
2018-10-30 10:03:01 +01:00
Terence Zhang 2c56bd8151 Fix the incorrect comment for set_blocking() 2018-10-30 15:41:32 +08:00
Cruz Monrreal 5ed07c2dd4
Merge pull request #8328 from kjbracey-arm/noreturn
Error path tightening: use MBED_NORETURN; add+use core_util_atomic_flag
2018-10-29 20:49:54 -05:00
Amanda Butler eae570ef08 Edit EMAC.h
Change Latin abbreviation to English phrase and fix capitalization of EMAC while I'm at it.
2018-10-29 15:14:07 -05:00
kegilbert 4bc7bf3b1e Fix typos in Features/Netsocket 2018-10-29 15:14:07 -05:00
Cruz Monrreal 13d6703676
Merge pull request #8401 from mirelachirica/at_handler_changes_2
At handler fixes
2018-10-29 12:07:07 -05:00
Bence Kaposzta 9e6b1246a4 This commit adds EMAC driver for CM3DS that uses an SMSC LAN 9220
Ethernet controller. To ensure proper operation, some methods
needed to be updated in the SMSC9220's native driver as well.
It passes all related Greentea tests, however when supervised by
the Python environment it tends to fail because of Timeout.

The current timeout is set to 1200s that seems to be a little bit short
to finish all test cases, the timeout happens towards the end of the
last test case.

Change-Id: I914608c34828b493a80e133cd132537a297bfc84
Signed-off-by: Bence Kaposzta <bence.kaposzta@arm.com>
2018-10-29 15:30:47 +01:00
Cruz Monrreal 9403a2f16c
Merge pull request #8499 from michalpasztamobica/master
Socket closing improvements and tests adjustments
2018-10-29 08:47:25 -05:00
Cruz Monrreal 1489900162
Merge pull request #8556 from paul-szczepanek-arm/fix-phy-support
BLE: fix using an optional feature before checking for support
2018-10-29 08:46:26 -05:00
Marc Emmers d55f6a9915 Check if a queue is present. Return an error otherwise 2018-10-29 13:56:45 +01:00
Marc Emmers 2de83fb286 Unchain the queue when connection is stopped 2018-10-29 13:56:25 +01:00
Kevin Bracey ea16a6ba1d Add MBED_NORETURN attributes
Save some ROM space by putting MBED_NORETURN attributes on error
functions and failed asserts.

mbed_error was documented as returning an error code. It never
actually could return, so documentation updated, but return type
kept.
2018-10-29 13:58:06 +02:00
Mirela Chirica c8f2ed3d30 Cellular: ATHandler to reset match URC generated errors and continue response handling 2018-10-29 13:33:11 +02:00
Mirela Chirica 4e6cbb8f5f Cellular: ATHandler's mem_str fixed to work on matching strings 2018-10-29 13:33:10 +02:00
Mirela Chirica 273590f615 Cellular: Added ATHandler option to write parameters without delimiters 2018-10-29 13:33:09 +02:00
Mirela Chirica f016d1126f Cellular: AT handler to support only one callback per URC/prefix 2018-10-29 13:32:15 +02:00
Cruz Monrreal 63946d56d8
Merge pull request #8452 from u-blox/ublox_odin_driver_os_5_v3.5.0_rc1
ble: update ODIN drivers to v3.5.0 RC1
2018-10-27 09:50:12 -05:00
Cruz Monrreal 737b36f106
Merge pull request #8440 from kivaisan/gemalto_tcp_socket_support
Cellular: Gemalto TCP Socket support
2018-10-27 09:17:31 -05:00
Cruz Monrreal d23d7855fc
Merge pull request #8552 from cmonr/rollup
Rollup PR: UK Docathon pt2
2018-10-27 08:27:02 -05:00
Marcus Chang 063a7842ba Add QSPIF block device to default system storage 2018-10-26 13:00:38 -07:00
Cruz Monrreal II e8728148ac Merge branch 'docs-fix-networkiface' of ssh://github.com/paul-szczepanek-arm/mbed-os into rollup 2018-10-26 11:48:45 -05:00
Mel W 2bab24ffc5
Commas 2018-10-26 17:32:47 +03:00
Mel W ae75dfcf92
Capitalization, formatting of true and false, punctuation. 2018-10-26 17:32:10 +03:00
Mel W b165fc0f93
Articles and capitalization 2018-10-26 16:18:57 +03:00
Mel W 25b1625fff
Sentence restructuring, punctuation 2018-10-26 15:42:26 +03:00
paul-szczepanek-arm b77bd223d7 check for feature before using 2018-10-26 12:53:39 +01:00
Michal Paszta 0da0f16d60 TCPSocket accept refactored to close cleanly and icetea test added
Private constructor called in TCPSocket accept, when creating a new Socket.
Close() method calls moved "up" to InternetSocket.
InternetSocket::close() returns proper error code when no socket available.
Add TcpSocket::accept icetea tests.
Deleting sockets moved to teardown.
2018-10-26 12:02:25 +03:00
Martin Kojtal fc741f03a1
Merge pull request #8346 from OpenNuvoton/nuvoton_fix_mbr
storage: fix valid partion check with windows formatted sd card
2018-10-26 09:37:28 +01:00
Mel W 495c875871
...remainder of file... to [remainder of file] 2018-10-26 11:17:52 +03:00
Mel W 56bced4ed1
Reformatting heading levels 2018-10-26 11:15:25 +03:00
mudassar-ublox 0b2d508991 Added unsupported features for UBLOX targets 2018-10-26 10:05:37 +05:00
Cruz Monrreal II 8cfdec1087 Merge branch 'readme-update' of ssh://github.com/sbutcher-arm/mbed into rollup 2018-10-25 21:49:49 -05:00
Cruz Monrreal II e021ec4d08 Merge branch 'docs-fix-internetsocket' of ssh://github.com/paul-szczepanek-arm/mbed-os into rollup 2018-10-25 21:49:41 -05:00
Cruz Monrreal II 05a69de5b4 Merge branch 'docs-fix-udpsocket' of ssh://github.com/paul-szczepanek-arm/mbed-os into rollup 2018-10-25 21:49:36 -05:00