Commit Graph

6410 Commits (f502b4166e8bf9551a2f8515371298d87337e738)

Author SHA1 Message Date
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
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
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
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