Martin Kojtal
667f8bbcd3
Merge pull request #12405 from zhiyong80/Customize-Etherhet-Phy-Addr-of-STM32-Boards
...
EthernetInterface fix detecting change of connection status on ARCH_MAX
2020-02-13 09:44:53 +00:00
Martin Kojtal
69a2803319
Merge pull request #12401 from hugueskamba/hk-remove-float-in-ticker
...
Remove float symbols from apps that use the NFCController class
2020-02-12 13:12:46 +00:00
jeromecoutant
0c8add6e28
DISCO_H747I_CM4 compilation issue
...
SCB_DisableDCache() function is only available for M7 core.
2020-02-12 09:14:58 +01:00
Zhiyonh Li
128d5b5170
Update mbed_lib.json
2020-02-10 23:26:28 -08:00
Zhiyonh Li
884f9c99e3
Fixed bug that EthernetInterface doesn't detect change of connection status on ARCH_MAX board.
...
ARCH_MAX board uses 0x01 as PHY address, different from other NUCLEO STM32 boards. To faciliate change of PHY address of customized boards, a configuration entry eth-phyaddr was added and can be overriden as needed in mbed_app.json by adding "stm32-emac.eth-phyaddr": X. Macro ETH_ARCH_PHY_ADDRESS was also renamed to ETH_PHY_ADDRESS, because it is not only used by ARCH_MAX board but also other boards.
2020-02-10 17:56:09 -08:00
Hugues Kamba
65fbee1d33
NRF52840_DK: Fix baremetal linker error
...
Compile in the inclusion of cryptocell310 only if the library is included
in the build
2020-02-10 15:18:46 +00:00
Hugues Kamba
ec2c341767
Remove float symbols from apps that use the NFCController class
...
Use the `Ticker` API that does not use floating point types and literal.
Also pass timeout in seconds instead of incorrectly passing milliseconds.
2020-02-10 15:00:09 +00:00
Martin Kojtal
563c1169b8
Merge pull request #12349 from artokin/wisun_configuration_update
...
Nanostack: Update Wi-SUN configuration
2020-02-10 14:25:08 +00:00
Martin Kojtal
94e191f57a
Merge pull request #12399 from kivaisan/delete_context_if_activation_fails
...
Cellular: Delete created context if activation fails
2020-02-10 14:21:30 +00:00
Martin Kojtal
88438dfd6c
Merge pull request #12394 from miteshdedhia7/pr/bug-fix-misc
...
Fix SDIO communication issue on Cypress 1M boards and other minor fixes
2020-02-10 14:05:11 +00:00
Martin Kojtal
deb4995dae
Merge pull request #12150 from Patater/update-tls-crypto-20191220
...
Update Mbed TLS and Mbed Crypto to latest as of 2019-12-20
2020-02-10 13:04:12 +00:00
Kimmo Vaisanen
2b19fd8661
Cellular: Delete created context if activation fails
...
If new context is created but the activation fails to any error, it will
be automatically deleted.
Fixes issue #12381
2020-02-10 13:14:21 +02:00
Michal Paszta
10481f2f7e
BlockDevice: multiple fixes to BlockDevice classes
...
Incorrect addresses only cause error return values instead of assertion.
ExhaustibleBlockDevice has working get/set_erase_cycle functions and an
array preventing programming without erase.
Fixed MBRBlockDevice partitioning function.
2020-02-10 09:53:49 +02:00
Leon Lindenfelser
77218f04e0
PDP Type needs to be IPV4V6
...
1.Testing with Verizon and AT&T SIMs, PDP type is automatically set to IPV4V6.
2. Testing with AT&T IoT SIM, PDP type automatically sets to IP. It will connect
but not communicate. Setting a subsequent APN to IPV4V6 with the same APN communicates.
2020-02-07 15:31:40 -06:00
midd
5f496a694c
Add missing error checks for emac power up.
2020-02-07 10:25:15 -08:00
Martin Kojtal
d847f9f164
Merge pull request #12305 from kivaisan/remove_multi_athandler_support_v2
...
Cellular: Remove support for multiple ATHandlers
2020-02-07 11:00:41 +00:00
jeromecoutant
5f1ea7d57b
Cellular : add modem version in mbed trace
2020-02-06 14:40:23 +01:00
Michal Paszta
f21b8c7fc1
Remove remaining string-based API functions
...
This removes any compiler warnings.
2020-02-06 11:27:50 +02:00
Michal Paszta
458957d399
IPCore deprecated string-based API removal
...
String-based functions should be replaced with an explicit DNS hostname resolution and a SocketAddress-based API.
2020-02-06 11:27:49 +02:00
Martin Kojtal
8dc15ee6e1
Merge pull request #12293 from mirelachirica/remove_empty_api
...
Cellular: Remove API's empty default implemetations
2020-02-06 09:05:40 +00:00
Martin Kojtal
96861107f5
Merge pull request #12251 from kivaisan/remove_friends_from_statemachine
...
Cellular: Remove friend definitions from cellular state machine
2020-02-05 14:51:29 +00:00
Arto Kinnunen
5836b7e580
Update Wi-SUN configuration
...
-Improve help texts of Wi-SUN configuration values
-Add min/max value checks to Wi-SUN configuration values
-Define default values for some parameters, instead of referring to
Nanostack internal default values.
2020-02-05 15:01:04 +02:00
Martin Kojtal
e3ad1cae55
Merge pull request #12334 from AriParkkila/cell-c030-r412m
...
Update cellular drivers/tests for UBLOX_C030_R412M
2020-02-05 12:50:11 +00:00
Martin Kojtal
c63daa5fb8
Merge pull request #12355 from panmasuo/hani_iot_new_target
...
HANI_IOT: add new target board support
2020-02-04 08:37:12 +00:00
Martin Kojtal
586341541c
Merge pull request #12329 from jeromecoutant/PR_ATCELL
...
AT_CellularStack: crash during TCP test
2020-02-03 17:00:00 +00:00
Martin Kojtal
62cc4ece8d
Merge pull request #12345 from VeijoPesonen/fix_compiler_warnings
...
USBMSD; NFCEEPROM; mbed_compat: Fix compiler warnings
2020-02-03 16:59:35 +00:00
Martin Kojtal
8b829e5c41
Merge pull request #12312 from cy-arsm/cy-arsm/pr/ipv6-fix-SoftAPmode
...
Fix to sending IPV6 UPD packet fails IPv6 enabled in SoftAP intf
2020-02-03 16:55:09 +00:00
Pawel Zarembski
620442305f
hani_iot: add spif storage config
2020-02-03 14:03:09 +01:00
Kevin Bracey
d99f128679
Merge pull request #12316 from rajkan01/bug_fix_general_filesystem_test
...
Fix general filesystem greentea test
2020-01-31 15:01:09 +02:00
Veijo Pesonen
dad7d851db
NFCEEPROM: fixes a compiler warning
2020-01-31 10:18:02 +02:00
Ari Parkkila
1234b3fc28
Cellular: Fix UDP/IP on UBLOX_AT driver
2020-01-29 03:04:46 -08:00
Ari Parkkila
d6f8fece69
Cellular: Enable IP over PPP on UBLOX_C030_R41XM
2020-01-29 03:03:35 -08:00
Vincent Coubard
cb340f8f55
BLE: Fix documentation of set_random_static_address
...
Co-Authored-By: Lingkai Dong <lingkai.dong@arm.com>
2020-01-29 09:53:12 +00:00
Arun S
18285e1fc1
Pairing fails when IPv6 enabled in SoftAP intf
...
Issue: udp_sendto() Fails for multicast IPV6 packet when interface is switched from SoftAP to STA mode.
When SoftAP start is called, add_ethernet_interface() will be called internally to add interface details into netif_list.
When switching from SoftAP to STA mode, add_ethernet_interface() will be called again to append the interace details into netif_list.
When udp_sendto() is called, ip6_route() will return interface as NULL since it consider device as single interface.
Fix: SoftAP mode Stop, call remove_ethernet_interface() to remove the interface from the netif_list.
2020-01-29 15:07:52 +05:30
Vincent Coubard
1970761880
BLE : Replace calls to Gap::setAddress with HCIDriver::set_random_static_address
2020-01-28 13:35:19 +00:00
Vincent Coubard
c66dd7fd1f
BLE: Add an HCI driver API to set the random static address.
2020-01-28 13:29:11 +00:00
jeromecoutant
a1fb286c06
AT_CellularStack: crash during TCP test
...
function tries to access _socket[1] whch is not opened
2020-01-28 13:10:41 +01:00
Rajkumar Kanagaraj
b2890822d9
Incorporated the review comment
2020-01-27 09:21:12 -08:00
Rajkumar Kanagaraj
46a1f01b6d
Fix general filesystem greentea test
...
ARM microlib is not supported below features
- fflush(NULL) return `-1` instead `0`
- fread with size parameter "Zero".
- if file opened in append mode, file postion starts from the beginning.
2020-01-27 06:51:52 -08:00
Anna Bridge
ceaf562a11
Merge pull request #12283 from jeromecoutant/PR_STM32WB
...
STM32WB - Update CubeDriver from v1.0.0 to v1.4.0
2020-01-25 11:54:29 +00:00
Kimmo Vaisanen
bd0f939277
Cellular: Remove support for multiple ATHandlers
...
Major changes:
- Dependency to FileHandle removed from base classes
- AT_CellularDevice owns the default FileHandle and shares it with AT -classes
- Hang-up -detection moved as CellularContext::configure_hup(). Cannot be configured via CellularDevice any more.
Result on NRF52840_DK + BG96:
GCC:
Total Static RAM memory (data + bss): 29360(+296) bytes
Total Flash memory (text + data): 130660(-832) bytes
ARM:
Total Static RAM memory (data + bss): 261554(+8) bytes
Total Flash memory (text + data): 127573(-1193) bytes
IAR:
Total Static RAM memory (data + bss): 25479(+296) bytes
Total Flash memory (text + data): 102418(-527) bytes
RAM increase is because now ATHandler is no longer created with new -operator but is now member of AT_CellularDevice,
so image tool is able to count it. Actually total RAM consumption has decreased due to removed variables.
2020-01-23 09:27:44 +02:00
PARKJIHOON
4460d26eab
Default use BEDTLS_SHA512_SMALLER for SW fallback
...
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:51 +09:00
Andrew Chong
dc64bd8a05
Changed 2018 or 2019 copyright to 2020 via sed auto change.
2020-01-22 14:40:51 +09:00
Andrew Chong
3677b1b04e
Applied the latest astyle.
2020-01-22 14:40:51 +09:00
Andrew Chong
65e9cac918
Updated the code fix of timer and Mbed TLS.
2020-01-22 14:40:51 +09:00
Andrew Chong
d242850de4
Ran astyle on features/mbedtls/targets/TARGET_Samsung.
2020-01-22 14:40:50 +09:00
PARKJIHOON
26f7e26568
tidy up PR comments #3
...
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:50 +09:00
PARKJIHOON
2e0ff5d145
tidy up PR comments #1
...
Signed-off-by: PARKJIHOON <jh6186.park@samsung.com>
2020-01-22 14:40:50 +09:00
PARKJIHOON
8ab00df7b4
Adding Samsung Exynos i S111 target code.
...
Adding a new target of HW development kit using [Samsung Exynos i S111](https://www.samsung.com/semiconductor/minisite/exynos/products/iot/exynos-i-s111/ ) module to Mbed-OS.
This will widen the HW choices of Mbed-OS enabled NB-IoT, GNSS and Security (eFuse, AES, SHA-2, PKA, Secure Storage, Security Sub-System, [PUF](https://en.wikipedia.org/wiki/Physical_unclonable_function )) modules.
Target Name: S5JS100
Co-authored-by: Ivan Galkin <ivan.galkin@samsung.com>
Co-authored-by: Seokwon Lee <swon.lee@samsung.com>
Co-authored-by: Zhizhe Zhu <zhizhe.zhu@samsung.com>
Co-authored-by: Xinyi Zhao <xinyi.zhao@samsung.com>
2020-01-22 14:40:50 +09:00
Anna Bridge
80fe861f1d
Merge pull request #12035 from kjbracey-arm/callback_prep
...
Preparation for Callback changes
2020-01-21 11:50:43 +00:00
Anna Bridge
7e2f5a330b
Merge pull request #12281 from AriParkkila/cell-stack-deinit
...
Cellular: Refactor socket_stack_init() from generic to modem specific
2020-01-21 11:47:25 +00:00
Mirela Chirica
e2048b06b2
Cellular: Remove API's empty default implemetations
2020-01-21 10:45:09 +02:00
jeromecoutant
b74756dceb
STM32WB Enable BLE HCIDriver for all targets
...
+ astyle
2020-01-20 17:24:42 +01:00
jeromecoutant
8f6171f8b0
STM32WB - BLE restructure
2020-01-20 16:10:55 +01:00
Martin Kojtal
9c6cdbfed4
Merge pull request #12060 from kyle-cypress/pr/kvstore-general-test-fix
...
Improve reliability of KVStore general tests
2020-01-20 14:56:41 +00:00
Ari Parkkila
2871721e08
Cellular: Refactor socket_stack_init() from generic to modem specific
2020-01-20 00:56:09 -08:00
Martin Kojtal
ecf4d62dc5
Merge pull request #12265 from AriParkkila/cell-fea-refactor
...
Refactor unnecessary functions from cellular driver
2020-01-17 13:57:06 +00:00
Martin Kojtal
4924264769
Merge pull request #12211 from hugueskamba/hk-replace-uartserial-cellular
...
Cellular: Replace UARTSerial references with BufferedSerial
2020-01-17 13:30:12 +00:00
Ari Parkkila
031d90a3ce
Fix UDP socket test cases
...
Fix UDP socket test cases to check more strictly on failure,
and lower trace levels to not print errors on successful cases.
2020-01-17 01:24:51 -08:00
Ari Parkkila
f9eef97ead
Cellular Refactor get_send_delay() into CellularProperty
2020-01-17 00:28:41 -08:00
Hugues Kamba
9e11e5b43d
Cellular: Replace UARTSerial references with BufferedSerial
...
`BufferedSerial` is `UARTSerial` renamed to convey the original purpose
of the class. It is the recommended buffered I/O serial class.
2020-01-16 16:22:07 +00:00
Ari Parkkila
ceea992b40
Cellular: Refactor is_protocol_supported() into CellularProperty
2020-01-15 23:04:00 -08:00
Ari Parkkila
e2cb18061e
Cellular: Refactor get_max_socket_count() into CellularProperty
2020-01-15 23:04:00 -08:00
Kimmo Vaisanen
2c4194bbe3
Cellular: Fix compilation fail with APN lookup enabled
...
Compilation failed if cellular APN lookup was enabled as stop command has been
removed.
2020-01-15 14:42:04 +02:00
Martin Kojtal
606f3a35a7
Merge pull request #12260 from Szalacinski/master
...
Add KSZ8041 as a supported PHY for the LPC17xx series
2020-01-15 13:07:11 +01:00
Martin Kojtal
1b11d2cb02
Merge pull request #12249 from kivaisan/remove_deprecated_cellulardevice_stop
...
Cellular: Remove deprecated CellularDevice::stop()
2020-01-15 13:06:27 +01:00
Martin Kojtal
bfbed2de7b
Merge pull request #12243 from 0xc0170/fix_12242_recreate
...
Add timer shutdown after time stop on deinit
2020-01-15 13:04:04 +01:00
Martin Kojtal
c53f4d2344
Merge pull request #12227 from AnttiKauppila/BG96_fix
...
Cellular: AT + QICSGP set up APN fix
2020-01-15 12:59:09 +01:00
Martin Kojtal
cbca99d38f
Merge pull request #12160 from AGlass0fMilk/fix-prs-config
...
nRF52: Properly configure nRF SDK for nRF52-series targets
2020-01-15 12:58:32 +01:00
Caleb Szalacinski
e4e0225a0e
Add KSZ8041 as a supported PHY for the LPC17xx series
2020-01-14 19:46:39 -06:00
Kimmo Vaisanen
52b00a296e
Cellular: Remove friend definitions from cellular state machine
...
Instead of defining which classes can access state machine, CellularStateMachine
class is now "a normal" CPP class with public API.
2020-01-14 12:19:20 +02:00
Kimmo Vaisanen
0d525fff29
Cellular: Remove deprecated CellularDevice::stop()
...
CellularDevice::shutdown() should be used instead.
2020-01-14 10:47:05 +02:00
Kyle Kearney
d8f47bdaa3
Improve reliability of KVStore general tests
...
In kvstore_init, prior to initializing the kvstore, erase the
underlying block storage device. This ensures that each test run
starts from a consistent state and avoids failures that can result
if a previous test run left the storage in an inconsistent state.
2020-01-13 11:32:12 -08:00
Bram de Boer
b444b7c560
Added timer shutdown after time stop on deinit
2020-01-13 13:37:50 +00:00
George Beckstein
cb4f3db2a7
Replace preprocessor "UARTx_ENABLED" with "NRFX_UARTEx_ENABLED".
2020-01-10 11:30:52 -05:00
Evelyne Donnaes
8a4bba33bd
Fixed baremetal build failures
2020-01-10 13:20:59 +00:00
Antti Kauppila
eb78ba6624
Fixed PDP type handling
2020-01-10 13:48:25 +02:00
Antti Kauppila
2fb167be26
Fixed IOTCELL-2384
...
Earlier we called AT+QICSGP only if the username and password was set.
It seems that we must call it also to set up APN while in AT mode.
This commit fixes the issue + updated IPv4/v6 handling to be correct in the same call
2020-01-09 17:19:24 +02:00
Kevin Bracey
8b02c4ed1c
Add missing <string.h> includes
2020-01-09 14:52:54 +02:00
Kevin Bracey
d6a48b5124
Turn NULLs into nullptr
...
Avoids overload problems with Callback(nullptr) versus Callback(fnptr).
2020-01-09 14:52:54 +02:00
Martin Kojtal
ec3fc672a1
Merge pull request #12215 from u-blox/ubx_get_ip_addr
...
Cellular: Implementation of virtual get_ip_address funtion in ublox-api
2020-01-09 12:43:12 +01:00
Martin Kojtal
1fb9dd7ddd
Merge pull request #12122 from AnttiKauppila/visibility_fixes
...
ATHandler refactoring
2020-01-09 12:05:08 +01:00
Martin Kojtal
974baaf199
Merge pull request #12143 from VeijoPesonen/blockdevices_testable
...
Blockdevice config changes to make it possible to run littlefs filesystem tests
2020-01-09 12:04:20 +01:00
mudassar-ublox
075a6fdd99
Override virtual get_ip_address funtion in ublox-api for targets UBLOX_C030_U201 and UBLOX_C027
2020-01-09 12:16:48 +05:00
Martin Kojtal
8d94d4ce92
Merge pull request #12214 from kivaisan/move_string_to_pdp_type_to_cellularcontext
...
Cellular: Move string_to_pdp_type method to CellularContext
2020-01-08 16:59:58 +01:00
Martin Kojtal
af03f839e2
Merge pull request #10959 from OpenNuvoton/nuvoton_m2351_psa
...
M2351: Support TFM level 1
2020-01-08 16:09:35 +01:00
Kimmo Vaisanen
0d7cc428b1
Cellular: Move string_to_pdp_type method to CellularContext
...
string_to_pdp_type is only used in CellularContext classes and by having
the conversion method in CellularContext it can be used to check also
the non-standard Non-IP PDP type string.
2020-01-08 12:15:51 +02:00
Martin Kojtal
d4c2fd56a9
Merge pull request #12195 from mikaleppanen/ppp_trace_disable
...
Corrected PPP debug trace flagging
2020-01-07 16:41:15 +01:00
Antti Kauppila
5553d0acd3
ATHandler class refactor
...
Refactored ATHandler class to have clear private and public elements
Also removed virtuality from ATHandler
Unittests updated to reflect changes
2020-01-07 17:15:27 +02:00
Antti Kauppila
36ca4d6516
ATHandler relocated
...
ATHandler is part of our API so header file was moved under API folder and .cpp file was moved under device/ folder
ATHandler is used in both AT and PPP mode so it has been in slightly wrong place at the beginning.
2020-01-07 17:15:27 +02:00
Martin Kojtal
c8ac1ef2b8
Merge pull request #12196 from kjbracey-arm/lwipclose
...
LWIP: don't pbuf_free(NULL) on socket close
2020-01-07 15:56:13 +01:00
Martin Kojtal
3e790cc9ab
Merge pull request #12065 from AriParkkila/cell-fea-nidd
...
Non-IP socket implementation for NIDD over CP
2020-01-07 15:55:15 +01:00
Martin Kojtal
d07d7ca722
Merge pull request #12185 from paul-szczepanek-arm/db-delete
...
BLE: fix pointer not set to null on delete
2020-01-07 14:56:04 +01:00
Martin Kojtal
9d16a17e7e
Merge pull request #11653 from tymoteuszblochmobica/multiple
...
Add Getaddrinfo interface for multiple DNS adresses
2020-01-07 14:53:36 +01:00
Martin Kojtal
2d3c4022ae
Merge pull request #12193 from kivaisan/move_event_thread_to_cellulardevice
...
Cellular: Move cellular event queue thread ownership to CellularDevice
2020-01-07 14:04:55 +01:00
Ari Parkkila
7899fead59
Cellular: Refactor CellularBase from AT_ControlPlane_netif
2020-01-07 04:03:33 -08:00
Martin Kojtal
39daa5fd77
Merge pull request #12109 from hugueskamba/hk-replace-rawserial-usage
...
Replace RawSerial as it has been deprecated
2020-01-07 12:59:57 +01:00
Kevin Bracey
988ef099c7
LWIP: don't pbuf_free(NULL) on socket close
...
`pbuf_free(NULL)` causes an `LWIP_ASSERT`. Make the call conditional.
Fixes #12184
2020-01-07 13:20:14 +02:00
Mika Leppänen
9e41f1fc7d
Corrected PPP debug trace flagging
...
Some parts of PPP debug traces were enabled also on non-debug builds.
Now they are correctly disabled. Corrected also compiler warnings
that became visible when trace macros were flagged (if clauses without
brackets).
2020-01-07 12:07:50 +02:00
Martin Kojtal
0f5c3f0b37
Merge pull request #12189 from dustin-crossman/cy8cproto_062_4343w-baudrate-fix
...
Removed hardcoded CY8CPROTO_062_4343W bt baudrate limit.
2020-01-07 11:04:43 +01:00
Martin Kojtal
e666848f07
Merge pull request #12194 from juhhei01/socket_api_fix
...
Nanostack Socket event handler fix
2020-01-07 11:00:28 +01:00
Ari Parkkila
4b3ef73333
Cellular: Fix astyle
2020-01-06 22:35:53 -08:00
Ari Parkkila
85baad850f
Cellular: Add NIDD for U-blox/N2XX
2020-01-06 22:35:18 -08:00
Ari Parkkila
f695e278ea
Cellular: Add NIDD for Quectel/BC95
2020-01-06 22:35:18 -08:00
Ari Parkkila
033402d597
Cellular: Change CellularNonIPSocket to poll before timeout
2020-01-06 22:35:18 -08:00
Ari Parkkila
f4158ca00e
Cellular: Change ATHandler debug print levels
2020-01-06 22:35:18 -08:00
Ari Parkkila
913cbd96a6
Cellular: Change 3GPP TS 27.007 NIDD to async
...
Add a missing license header.
Remove semaphores and add +CRTDCP to support async operation.
Fix delete context and disconnect to execute just once.
Add support for NONIP PPD type.
Change CellularNetwork::clear() to virtual so it can be overridden.
2020-01-06 22:35:18 -08:00
Ari Parkkila
972d8a6107
Cellular: Add count/dequeue methods in CellularList
2020-01-06 22:33:50 -08:00
Ari Parkkila
7374b22191
Cellular: Change CellularNonIPSocket to singleton
2020-01-06 22:33:49 -08:00
Ari Parkkila
feee2a234e
Cellular: Fix Non-IP of Quectel/BG96 modem driver
...
Add missing license headers.
Remove semaphores to allow async operation.
Change hex format to allow binary payload.
Limit payload size to 100 bytes.
Fix missing plus char at +QCFGEXT.
2020-01-06 22:33:49 -08:00
Kimmo Vaisanen
6c647104c7
Cellular: Move cellular event queue thread ownership to CellularDevice
...
Earlier CellularDevice has owned event queue used by cellular (state machine and ATHandler for example),
but the thread used to dispatch the queue has been owned by state machine.
This commit moves the event queue thread to CellularDevice so now the ownership of cellular event queue
is in one place.
2020-01-07 08:28:30 +02:00
Hugues Kamba
dbaeeaf758
Replace RawSerial instances as it has been deprecated
2020-01-06 15:48:49 +00:00
ccli8
41d95ef2fb
[M2351] Support TFM level 1
2020-01-06 15:55:00 +08:00
Dustin Crossman
dbedc86c06
Removed hardcoded CY8CPROTO_062_4343W bt baudrate limit.
2020-01-03 16:46:00 -08:00
Juha Heiskanen
b71d5edd38
Nanostack Socket event handler fix
...
SOCKET_TX_DONE not generate event signal anymore for SOCKET_MODE_DATAGRAM.
Event handler try to read socket which is not necessary in that case.
2020-01-03 18:24:12 +02:00
Martin Kojtal
7fd637b66b
Merge pull request #12095 from NXPmicro/Update_MXRT_SDK6
...
Update MXRT1050 to SDK 6.0
2020-01-03 15:22:13 +00:00
Veijo Pesonen
9763ad3b2d
DataFlashBlockDevice: Makes default configuration to use mbed_lib.json settings
...
DataFlashBlockDevice parameters come from mbed_lib.json if not provided
explicitly.
2020-01-03 15:31:01 +02:00
Veijo Pesonen
67676dc123
SPIFReducedBlockDevice: Makes default configuration to use mbed_lib.json settings
...
SPIFReducedBlockDevice parameters come from mbed_lib.json if not provided
explicitly.
Introduced an app config file for running filesystem tests with RSPIF
block device
2020-01-03 15:30:13 +02:00
Veijo Pesonen
23f87877a1
SPIFBlockDevice: Makes default configuration to use mbed_lib.json settings
...
SPIFBlockDevice parameters come from mbed_lib.json if not provided
explicitly.
Introduced an app config file for running filesystem tests with SPIF
modules
2020-01-03 15:28:41 +02:00
Veijo Pesonen
3be2b8bf12
QSPIFBlockDevice: Makes default configuration to use mbed_lib.json settings
...
QSPIFBlockDevice parameters come from mbed_lib.json if not provided
explicitly.
Introduced an app config file for running filesystem tests with QSPIF
modules
2020-01-03 15:25:40 +02:00
Veijo Pesonen
803ae3444d
SDBlockDevice: Makes default configuration to use mbed_lib.json settings
...
SDBlockDevice parameters come from mbed_lib.json if not provided
explicitly.
Introduced an app config file for running filesystem tests.
2020-01-03 15:25:40 +02:00
Martin Kojtal
0dbf34bf06
Merge pull request #12123 from kivaisan/refactor_variable_visibilities
...
Cellular: Refactor cellular variable visibilities
2020-01-03 12:11:52 +00:00
paul-szczepanek-arm
e16889d694
set pointer to null on delete
2020-01-03 09:00:59 +00:00
Martin Kojtal
de798c4f37
Merge pull request #12147 from ristohuhtala/mbed-coap-builder-uint-overflow
...
mbed-coap uint16 overflow fix
2020-01-02 13:51:14 +00:00
Martin Kojtal
b79da0c7f2
Merge pull request #12146 from ristohuhtala/mbed-coap-parser-buffer-overflow
...
mbed-coap buffer overflow fix
2020-01-02 13:50:52 +00:00
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
Risto Huhtala
82caa9007e
Code review fix. Removing extra spaces
2020-01-02 13:40:50 +02: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
Kimmo Vaisanen
f7cc3db70b
Cellular: Refactor cellular variable visibilities
...
- Earlier some variables were public even though used only internally
- Also refactored variables to the end of class definitions
- Removed duplicate _property_array from CellularDevice
- Changed _impl methods as protected
2019-12-30 10:00:24 +02:00
Risto Huhtala
1d220135c9
Update mbed-coap changelog-md with v5.1.3 information
2019-12-30 09:37:17 +02: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
Jaeden Amero
cfc9e9fa65
tls: Update Mbed TLS to 2.20.0d1
2019-12-20 11:54:44 +00:00
Jaeden Amero
3cff0771b5
crypto: Update to Mbed Crypto 3.0.0d0
2019-12-20 11:54:44 +00: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
Risto Huhtala
03b12ed334
mbed-coap uint16 overflow when calculating packet data size
2019-12-20 11:34:53 +02:00
Risto Huhtala
9f0c0043d8
mbed-coap Buffer overflow when paring CoAP message
2019-12-20 10:42:54 +02: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
Tymoteusz Bloch
8b2f4c2e7e
Getaddrinfo interface for multiple DNS adresses added.
...
New members are added to the network interface
-getaddrinfo
-getaddrinfo_async
gethostbyname is unchanged but gethostbyname_async result param now contains results od DNS records found.
Test cases for sync/async added added to DNS test folder.
2019-12-16 13:59:46 +01: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
Mahesh Mahadevan
c538919254
MIMXRT1050: Update the ENET driver to use wait_us
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2019-12-13 12:08:19 -06: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
Antti Kauppila
e221ba9bb9
initialisation added for _property_array
2019-12-09 15:25:22 +02:00
Antti Kauppila
7a87023921
Disabled SMS by default
2019-12-09 15:25:22 +02:00
Antti Kauppila
30ea858f51
Disable APN lookup by default
2019-12-09 15:25:22 +02:00
Antti Kauppila
90d3dc1f13
CellularStack fixed
2019-12-09 15:25:22 +02:00
Antti Kauppila
e51230c5e4
Remove CellularBase and AT_CellularBase
...
Removed CellularBase and AT_CellularBase from cellular stack and updated both code and unittests accordingly.
Moved property handling into AT_CellularDevice
2019-12-09 15:25:22 +02:00
cyliangtw
54d8c40f96
Limit max of NUC472 EMAC recv frame len as 1518
2019-12-09 19:15:23 +08:00
cyliangtw
410e4173b1
Limit max of M487 EMAC RX frame len as 1518
2019-12-09 18:12:26 +08:00
Seppo Takalo
1f99703806
Fix TDBStore sizes for tests
...
Tests must require at least 2 erase sectors per TDBStore,
so that the garbage collection may work.
2019-12-09 11:18:29 +02:00
Martin Kojtal
e9cb9cb014
Merge pull request #12018 from jeromecoutant/PR_OLIMEX_EMAC
...
STM32_EMAC cleanup
2019-12-05 14:03:46 +01:00
Martin Kojtal
412a9317de
Merge pull request #12017 from VeijoPesonen/remove_nvstore
...
NVStore: already deprecated implementation removed
2019-12-05 09:10:30 +01:00
Martin Kojtal
e2a11c0297
Merge pull request #11988 from ARMmbed/feature_securestore_refactoring
...
Small fixes for SecureStore
2019-12-05 08:23:35 +01:00
Martin Kojtal
58da078df9
Merge pull request #12015 from jeromecoutant/PR_ETHERNET_ARMC5
...
STM EMAC: compilation issue with ARMC5
2019-12-05 08:23:11 +01:00
Martin Kojtal
9248169f1f
Merge pull request #11976 from pstolarz/lwip_mbox_fix
...
LWIP system mailbox overflow fix
2019-12-04 15:54:59 +01:00
Seppo Takalo
21acb66c1c
TDBStore: remove unused variables
2019-12-04 16:21:55 +02:00
Seppo Takalo
7902100238
SecureStore: Get rid of casting by using opaque pointers.
2019-12-04 16:21:55 +02:00
Seppo Takalo
23b2b8c4f3
SecureStore: Deinitialize also member TDBStorages on deinit()
2019-12-04 14:55:45 +02:00