Commit Graph

6286 Commits (b8045fb29b3976549f5aa4c4d1e7abbffa170da6)

Author SHA1 Message Date
Martin Kojtal b8045fb29b
Merge pull request #12164 from shuopeng-deng/pr-dev/remove-hardcoded-timeout-in-cypress-bt-code
Pr dev/remove hardcoded timeout in cypress bt code
2020-01-02 12:52:51 +00:00
Martin Kojtal 6baa5e479d
Merge pull request #12020 from linlingao/fix_rat
Fix issues in setting radio access technology
2020-01-02 10:08:11 +00:00
Bartek Szatkowski 50455c0aa4 Remove unsupported folder
Mbed OS was carrying this directory for a long time. The main reason was
to enable users to benefit from some form of USB stack. Now when there
is proper implementation of USB stack in Mbed I think it's time for
unsupported directory to go. If any other functionality present in this
directory will be needed it'll need to be introduced in Mbed OS
properly.
2019-12-27 16:04:49 +01:00
Antti Kauppila ca7848d854 Refactored away onboard_modem_api because it is not needed at all
All targets must implement soft_- and hard_power_on/off() functions which are practically same what onboard_modem_api offered.
These were seen as a duplicate features and therefore we removed this.
All targets involved have been updated to reflect the changes
2019-12-27 16:04:10 +01:00
Antti Kauppila 48cf631456 relocated NonIP related files to netsocket root folder 2019-12-27 16:04:10 +01:00
Anna Bridge 5bef46b71a
Merge pull request #12063 from michalpasztamobica/get_ip_address_if_fixed
Move get_ip_address_if() to NetworkStack and include it in multihoming test
2019-12-24 11:04:59 +00:00
Shuopeng Deng 1d54f665b9 fix code review ARs 2019-12-20 09:16:59 -08:00
Ari Parkkila d5abab8843 Cellular: Add check for network congestion in BC95 driver 2019-12-20 04:25:26 -08:00
Martin Kojtal 789a193696
Merge pull request #12133 from kivaisan/limit_at_trace_length
Cellular: Suppress long AT traces
2019-12-20 11:24:38 +01:00
Shuopeng Deng 7e79623b39 Removed a hardcoded timeout in CyH4TransportDriver.cpp
Replaced a hardcoded timeout in CyH4TransportDriver.cpp with a cypress
hal function. The cypress PUTC hal API only blocks until data has been
send into the HW buffer, not until all data has been out of the HW
buffer. Modified an API to block untill all tx transmit is complete.
This allows the removal of a hardcoded timeout in
CyH4TransportDriver.cpp that waits for data int the HW buffer to be
sent.
2019-12-19 15:35:38 -08:00
Lin Gao 0bc8f4f726 Revert BUFF_SIZE fix, to be fixed in another PR. Add missing property entries 2019-12-19 13:45:30 -06:00
Lin Gao c8524c25be add config option and property to choose automatic fallback for PLMN manual operator selection 2019-12-19 11:26:13 -06:00
Lin Gao d5d4520d62 Implement set_access_technology_impl for Telit ME910 2019-12-19 11:23:30 -06:00
Lin Gao a5a9683348 Change AT+COPS mode to manual first then fall back to auto to improve reliability. Fix a syntax error when RAT is set 2019-12-19 11:23:30 -06:00
Lin Gao 9e17653723 Increase BUFF_SIZE to avoid error in AT response when debug is turned on 2019-12-19 11:21:14 -06:00
Anna Bridge c5199677cb
Merge pull request #12132 from michalpasztamobica/lwip_remove_unused_mbox_configs
LWIP: Remove unused MBOX configs
2019-12-19 16:41:22 +00:00
Kimmo Vaisanen f5ef066055 Cellular: Suppress long AT traces
When AT traces are enabled and very long AT commands are traced,
system can easily go to unwanted state. Therefore the length of the AT
traces is limited to DEBUG_MAXLEN (currently 60 characters).

This commit fixes read_hex_string, read_bytes and write to use this
limitter.
2019-12-19 09:54:23 +02:00
Michal Paszta 02a23e50ba LWIP: Remove unused MBOX configs
The configs have never been used and LWIP just uses its own settings.
2019-12-18 12:27:07 +02:00
Ari Parkkila 31bd1a795b Cellular: Fix Gemalto driver to handle remote peer closed 2019-12-18 01:37:53 -08:00
Ari Parkkila 89b66465c2 Cellular: Fix Gemalto/Cinterion driver 2019-12-18 01:10:51 -08:00
Anna Bridge 81d4a72359
Merge pull request #12120 from mtomczykmobica/ONME-4433
ONME-4433 SocketAddress::operator== should also check port
2019-12-17 16:43:19 +00:00
Anna Bridge eac7d30ca5
Merge pull request #12114 from AriParkkila/cell-dns-zero
Cellular: Fix to not use all zero address for DNS
2019-12-17 16:41:39 +00:00
Anna Bridge 309183420b
Merge pull request #12111 from rajkan01/feature_feof_disable
Microlib: Disable feof function usage in general filesystem test
2019-12-17 16:36:54 +00:00
Anna Bridge e28daf7c84
Merge pull request #12110 from AnttiKauppila/cp_recv_len
Moved CP Max recv len into mbed_lib.json
2019-12-17 16:28:37 +00:00
Anna Bridge 298f3f22b7
Merge pull request #12088 from AriParkkila/cell-cops
Cellular: Fix AT command for COPS manual network selection
2019-12-17 16:24:28 +00:00
Martin Kojtal e2ee3817be
Merge pull request #12108 from juhhei01/patch-1
Wi-sun network event handler update
2019-12-17 10:11:29 +01:00
Marcin Tomczyk 35e2c9d315 ONME-4433 SocketAddress::operator== should also check port 2019-12-16 15:38:49 +01:00
Przemyslaw Stekiel 25f354fe1f storage: fix static pin-map for ARMC5 2019-12-16 15:38:07 +01:00
Antti Kauppila 6d0b2fae9b Moved CP Max recv len into mbed_lib.json
According to [3GPP-TS_24.008] the maximum size for Non-IP link MTU is 1358 octets to prevent fragmentation in the backbone network.
Therefore reduced the maximum size to follow the standard.
2019-12-16 15:48:46 +02:00
Ari Parkkila 50ab644380 Cellular: Fix to not use all zero address for DNS 2019-12-16 04:56:45 -08:00
Rajkumar Kanagaraj 95f56bac30 Microlib: Disable feof function usage in tests
feof function is not supported in Microlib library. so disabling all the feof function usage in the green tea test.
2019-12-16 04:34:20 -08:00
Juha Heiskanen 3e51bd41ee Wi-sun network event handler update
Wi-sun network event ARM_NWK_NWK_CONNECTION_DOWN will set Bootstrap state to active and notify interface state to MESH_BOOTSTRAP_STARTED
2019-12-16 12:56:53 +02:00
Martin Kojtal fd4288a0dc
Merge pull request #12027 from michalpasztamobica/dns_module_test
Modify nsapi_dns tests to be module tests
2019-12-16 09:49:16 +01:00
Anna Bridge 8fcfbe117f
Merge pull request #12079 from AnttiKauppila/coverity_fixes
Coverity fixes
2019-12-12 16:28:12 +00:00
Ari Parkkila 483c557f9b Cellular: Fix AT command for COPS manual network selection 2019-12-12 00:31:43 -08:00
Michal Paszta c2856ef710 Remove deprecated string-based get_ip_address_if 2019-12-12 09:22:32 +02:00
Michal Paszta d5d04ebb90 Move get_ip_address_if to the right class
get_ip_address_if was wrongly added to OnboardNetworkStack::Interface, while it should in fact be placed directly in OnboardNetworkStack.
2019-12-12 09:20:27 +02:00
Antti Kauppila 11b1df00b8 Coverity fix for mbed-client-cli
- uint64_t cast added to avoid overflow
2019-12-11 09:32:02 +02:00
Antti Kauppila c42426a889 Coverity fixes for UBlox
- Unneeded class variables refactored away
- Init function refactored to remove duplicate code
2019-12-11 09:26:41 +02:00
Antti Kauppila 35c2b60800 Coverity fix for ATHAndler
Unneeded NULL check removed
2019-12-11 09:25:29 +02:00
Martin Kojtal a996ea27f7
Merge pull request #12057 from OpenNuvoton/nuvoton_emac_max_recv
NUC472/M487: Limit EMAC receive frame length as 1518
2019-12-11 08:12:02 +01:00
Martin Kojtal 06da49984f
Merge pull request #12069 from jeromecoutant/PR_ASTYLE
STM32: astyle update
2019-12-11 08:01:19 +01:00
Martin Kojtal f10e4ac04b
Merge pull request #11996 from ARMmbed/feature-cellular
Feature cellular
2019-12-10 14:54:57 +01:00
jeromecoutant 54aa300a3c STM32 EMAC astyle corrections 2019-12-10 14:39:47 +01:00
jeromecoutant 3903cb4c97 STM32 MBEDTLS astyle corrections 2019-12-10 14:39:46 +01:00
Martin Kojtal f2a1804d51
Merge pull request #12058 from mprse/static_pinmap_for_cloud_client
Add static pin-map support: SDBlockDevice, kvstore, system storage (reduce ROM used by Mbed Cloud Client example)
2019-12-10 14:19:18 +01:00
Przemyslaw Stekiel ee5953ad74 Add static pinmap support: SDBlockDevice, kvstore, system storage
This is done in order to enable static pin-map for Mbed Cloud Client Example. This should give extra ROM savings, ~1KB.
2019-12-10 12:26:23 +01:00
Michal Paszta fd46af67c6 Modify nsapi_dns tests to be module tests
The nsapi_dns tests were cross-class tests anyway, going through nsapi_dns and UDPSocket. Now they also include EthernetInterface and only mock the NetworkStack, which makes them the most cross-class module test we could think of in netsocket module.
2019-12-10 11:05:25 +02:00
Martin Kojtal 77b1ee51ef
Merge pull request #12050 from SeppoTakalo/IOTSTOR-992
Fix TDBStore sizes for SecureStore tests
2019-12-10 09:47:12 +01:00
cyliangtw 42103f089d Correct the definition of M487/NUC472 EMAC NU_ETH_MAX_FLEN & PACKET_BUFFER_SIZE 2019-12-10 10:40:03 +08:00