Commit Graph

3551 Commits (c68e7c61edda604457bc72df76b49f7963d2b827)

Author SHA1 Message Date
Seppo Takalo 451852d19f Fix TCPSocket::accept()
This one was actually always return NULL, and unsted because we only
have tests with one device.

We will add the testcase for this soon
2018-09-05 12:00:59 +03:00
Martin Kojtal 3057c6c722
Merge pull request #7964 from paul-szczepanek-arm/master
NFC: fix reading from NFC EEPROM
2018-09-05 09:50:27 +02:00
Cruz Monrreal 6165386d34
Merge pull request #7893 from kivaisan/improve_callback_descriptions
Lora: Improve description of callback methods
2018-09-04 09:26:44 -05:00
paul-szczepanek-arm 44d3504dbb missing overload 2018-09-04 13:58:50 +01:00
paul-szczepanek-arm ec373c29a0 missing onDataSent calblack for cordio 2018-09-04 13:30:08 +01:00
Hasnain Virk 7b7d5ebc77 LoRaWAN: Memory overrun correction
A typo in LoRaPHYCN470 is causing memory overrun.
We were supposed to fill-in default channel mask and iterate over CN470_CHANNEL_MASK_SIZE times.
2018-09-04 15:21:40 +03:00
Martin Kojtal dd91b90149
Merge pull request #7974 from sbutcher-arm/update-mbedtls
Update Mbed TLS to version 2.13.0
2018-09-04 08:22:19 +02:00
Martin Kojtal b20fd506c1
Merge pull request #7910 from AriParkkila/cell-test-attach
Cellular: Fix Greentea test for network attach
2018-09-04 08:20:38 +02:00
Anna Bridge 4fb3aec84a
Merge pull request #7895 from kivaisan/remove_duplicate_linkcheckreq
Lora: Remove duplicate LinkCheckReq MAC command
2018-09-03 16:43:02 +01:00
Krzysztof Stachowiak 7d7b8d4a07 Disable the OFB cipher mode in Mbed TLS 2018-09-03 16:20:55 +01:00
Krzysztof Stachowiak f1d76691b6 Update to Mbed TLS 2.13.0 2018-09-03 16:20:46 +01:00
Anna Bridge c2fdc0d972
Merge pull request #7423 from mprse/mutex_lock_assert
Fix issue #6872 - Mutex lock has possibility to fail at runtime (returning status flag)
2018-09-03 14:14:24 +01:00
paul-szczepanek-arm 2a14b29f66 fix reading from eeprom
added missing current op
2018-09-03 09:18:17 +01:00
Martin Kojtal 44925d8527
Merge pull request #7579 from u-blox/ublox_odin_driver_os_5_v3.0.0_rc1
Updated ODIN drivers to v3.0.0 RC1
2018-09-03 09:25:32 +02:00
Ron Eldor 5817d71ad8 Change mbedtls_platform_context parameter to NULL
Change the parameter being sent to `mbedtls_platform_setup()` and
`mbedtls_platfrm_teardown()` to NULL, as it is now being unused
in Mbed OS.
2018-09-03 08:38:57 +03:00
Cruz Monrreal 83e0e65a42
Merge pull request #7726 from SenRamakri/sen_BLE_ErrorUpdate
Update BLE error calls to use new error codes and mbed_error
2018-09-02 20:47:40 -05:00
Cruz Monrreal 3be076c196
Merge pull request #7099 from RonEld/platform_context_reference_count
Add reference counter for platform context
2018-09-02 20:47:19 -05:00
Deepika 683034db8a Use the same API name to add mbed CRC: lfs_crc 2018-09-02 15:25:41 -05:00
Deepika 4d7fdfc2a9 Use MbedCRC for LittleFS (0xEDB88320)
CRC used in LittleFS is Reversed ANSI, hence new polynomial added.
Reversed polynomials perform shift in reverse direction of standard
polynomial, and we do not have option to notify reverse shift to hardware.
Hence this option is available in software only.
2018-09-02 15:25:40 -05:00
Cruz Monrreal e7c166ebc2
Merge pull request #7907 from anttiylitokola/coap_to_4.6.2
Update mbed-coap to version 4.6.2
2018-09-02 15:14:04 -05:00
Cruz Monrreal 0edce1d3e6
Merge pull request #7683 from TomoYamanaka/Improve_LWIP
Renesas : Improve LWIP speed
2018-09-02 15:09:53 -05:00
Martin Kojtal e7b3c0d727
Merge pull request #7894 from jarvte/fix_cellular_unittests
Cellular: CellularDevice unittests fix initialization
2018-09-02 20:18:25 +02:00
Martin Kojtal c7d6560571
Merge pull request #7806 from hasnainvirk/fix_for_cn470
LoRaWAN: Fixing Hard fault in CN470 PHY layer
2018-09-02 15:56:33 +02:00
Ron Eldor a2531b5674 Fix build error on IAR
IAR fails to build when a variable is initialized with empty curly braces.
Added `{ { 0 } }` to fix that.
2018-09-02 10:48:31 +03:00
Martin Kojtal 1eab0723ba
Merge pull request #7745 from OPpuolitaival/icetea
Icetea support
2018-09-02 07:19:22 +02:00
Seppo Takalo 1ef04796ee On KW24D and NCS36510 default to smaller Nanostack configuration
These boards do not fit the full Nanostack, so we need to select
6LoWPAN-ND as a default.
2018-09-01 12:37:46 -05:00
Cruz Monrreal 993c897b55
Merge pull request #7774 from yossi2le/sd-spif-to-mbed-os
Add default block device support (SD, SPIF and FLASHIAP)
2018-09-01 11:15:13 -05:00
Cruz Monrreal f82feecc51
Merge pull request #7822 from donatieng/nfc-impl
Add initial NFC support to Mbed OS
2018-08-31 19:01:25 -05:00
Yossi Levy c1eb141def Changing general_filesystem test to be more efficient. now format is done once at the beginning and once at the end while every test clean its resource before the next test. Testing time on SD should be drop form 10 minutes plus to less than 1 minute 2018-08-31 18:33:08 +03:00
Ron Eldor c1b6fdc5af Rename parameter name
Rename `obsolete_ctx` to `unused_ctx` as it is simply unused.
2018-08-31 13:53:29 +03:00
Jarno Lamsa 664d98a2b8 Remove startuml doxygen-command 2018-08-31 11:52:30 +03:00
Jarno Lamsa e4e6ddc424 Fix doxygen from ns_cmdline.h 2018-08-31 11:52:30 +03:00
Olli-Pekka Puolitaival fbbbc0d77f Move mbed-client-cli in right place 2018-08-31 11:52:15 +03:00
Olli-Pekka Puolitaival e27a26eb9d Icetea support 2018-08-31 11:51:57 +03:00
Martin Kojtal 2e869df296
Merge pull request #7899 from pan-/bt-phy
Bluetooth 5 Phy support
2018-08-31 09:34:48 +02:00
Ammad Rehmat b934632653 Access Point API 2018-08-31 11:33:30 +05:00
Cruz Monrreal 06a98e7dcf
Merge pull request #7778 from SeppoTakalo/provide_default_mesh
Fix MeshInterface::get_default_instance()
2018-08-30 16:11:00 -05:00
Kimmo Vaisanen f24623af97 LoRa: Stop processing MAC commands if command id is unknown
The length of a MAC command is not explicitly given and must be
implicitly known by the MAC implementation. Therefore unknown MAC
commands cannot be skipped and the first unknown MAC command
terminates the processing of the MAC command sequence.

This commit fixes the bug where MAC command processing was not
terminated when unknown MAC command was received.
2018-08-30 15:43:54 +03:00
Ron Eldor 666ebe392a Change the terminate limit check
Check for counter to be `< 1` instead of `<= 0` before terminating.
2018-08-30 13:51:58 +03:00
Vincent Coubard 7a503ca1a2 BLE: Fix doxygen. 2018-08-30 09:25:50 +01:00
Ron Eldor 1f5cee967d Address concurrency and style issues
1. Use atomic operations to increase and decrease counter.
2. Style fixes.
Remove unused function declaration.
2018-08-30 11:18:23 +03:00
paul-szczepanek-arm f3c3abd24c removed unnecessary headers 2018-08-30 08:37:57 +01:00
paul-szczepanek-arm db3d124516 moved the utility function into the pal since it's only useful below pal 2018-08-29 20:25:56 +01:00
paul-szczepanek-arm 03f44e7a29 accidental spare const removed 2018-08-29 20:25:56 +01:00
paul-szczepanek-arm 8ac6e2c30d added doxygen to constructors and const to getters 2018-08-29 20:25:56 +01:00
paul-szczepanek-arm 76624ad6ec provide stubs for events
use gap.h typedef for Phy_t for consistency
2018-08-29 20:21:04 +01:00
paul-szczepanek-arm 5598958c6d formatting for docs 2018-08-29 20:21:04 +01:00
paul-szczepanek-arm baaebb47dc fix typo in preferred 2018-08-29 20:21:04 +01:00
paul-szczepanek-arm d64479a2ee docuemnted PHY api 2018-08-29 20:21:04 +01:00
paul-szczepanek-arm e0ca4a093f update cordio pal phy to new 5.0 stack 2018-08-29 20:21:04 +01:00
paul-szczepanek-arm 8090e7acd8 phy API implementation for cordio
phy set types added, nordic implementation updated
2018-08-29 20:21:04 +01:00
Paul Szczepanek d5c675e300 Merge pull request #6 from paul-szczepanek-arm/feature-support
support for controller features
2018-08-29 20:15:58 +01:00
Vincent Coubard 954f004d16 Nordic BLE: Implement PHY APIs for NRF52. 2018-08-29 20:15:58 +01:00
Vincent Coubard 47ea39982f Merge pull request #2 from pan-/PHY_API
Phy api
2018-08-29 20:15:58 +01:00
Vincent Coubard 4deb64aed1 Merge pull request #1 from pan-/PHY_API
Phy api
2018-08-29 20:15:58 +01:00
Donatien Garnier a239c5e98e Fix some remainings ARMCC warnings 2018-08-29 19:56:06 +01:00
Donatien Garnier 1252590a16 Address ARMCC warnings and make sure targets have SPI and InterruptIn in PN512SPITransportDriver 2018-08-29 19:46:25 +01:00
Donatien Garnier 3fa0c5e730 Fixed IAR warnings in NFC stack 2018-08-29 19:46:25 +01:00
Vincent Coubard 895ef34f99 NFC: Use string instead of cstring header. 2018-08-29 19:42:08 +01:00
Ron Eldor 479438953f Rename error codes
1. Rename error codes to fit Mbed TLS error code names.
2. Remove the Invalid input error code, as it's not used anymore.
2018-08-29 19:02:57 +03:00
Donatien Garnier bfd433984f Re-run astyle 2018-08-29 16:59:45 +01:00
Cruz Monrreal e649beac5e
Merge pull request #7788 from AriParkkila/cell-copn
Cellular: Fixed AT+COPN
2018-08-29 09:38:13 -05:00
Cruz Monrreal 7b29f7d2e8
Merge pull request #7795 from mirelachirica/issue_7470_access_to_power
Cellular: Add getters for device and serial to EasyCellularConnection
2018-08-29 09:37:38 -05:00
paul-szczepanek-arm 64d65fdf56 interface methods made public 2018-08-29 14:36:33 +01:00
Martin Kojtal 70439dd131
Merge pull request #7677 from AriParkkila/cell-gemalto
Cellular: Gemalto Cinterion support for ELS61 and BGS2
2018-08-29 13:05:44 +02:00
Martin Kojtal bd3be2b588
Merge pull request #7868 from andresag01/disable-mbedtls-have-date-time
Disable MBEDTLS_HAVE_DATE_TIME as ARMCC does not support gmtime
2018-08-29 11:56:52 +02:00
paul-szczepanek-arm e75ca75e17 EEPROM driver signature fixed 2018-08-29 10:45:22 +01:00
Yossi Levy ed8e170d15 Moving SD, SPIF and FLASHIAP into mbedos and refactoring features storage directory structure. 2018-08-29 12:01:11 +03:00
Cruz Monrreal 4089d4e7f0
Merge pull request #7869 from paul-szczepanek-arm/cordio-sources
BLE: Cordio going open source
2018-08-28 13:18:24 -05:00
Vincent Coubard 97a4e02c3b NFC: Fix missing doc in ndef::MessageBuilder 2018-08-28 18:51:39 +01:00
Ron Eldor 127b68fbbc Make the platform context a global variable
Make the platform context a global variable,
adding the refernce counter to it.
2018-08-28 20:29:26 +03:00
Vincent Coubard ab810b219e NFC: Fix astyle nonsense. 2018-08-28 17:47:10 +01:00
Vincent Coubard 0fa481ace6 NFC: Fix invalid access to an empty text record. 2018-08-28 17:47:10 +01:00
Vincent Coubard 9a3b64bd55 NFC: Add const qualifier to append_as_record function of ndef common types. 2018-08-28 17:47:09 +01:00
Vincent Coubard cffc0221cc NFC: Add get_record_size in common types. 2018-08-28 17:47:09 +01:00
Vincent Coubard b6e604338e NFC: Add payload builder into ndef::MessageBuilder 2018-08-28 17:47:09 +01:00
Donatien Garnier b5bfcc3fcb Address @paul-szczepanek-arm's comments 2018-08-28 17:32:39 +01:00
Donatien Garnier bfe4c748ce Address @ithinuel's comments 2018-08-28 17:00:35 +01:00
Donatien Garnier 681811e403 NFCController::Delegate's destructor does not need to be virtual 2018-08-28 16:55:09 +01:00
Donatien Garnier 66850be6e5 Fix NFCEEPROM erasing flow 2018-08-28 16:53:06 +01:00
Seppo Takalo 488632bc79 Fix LoWPANInterface to provide ::get_target_default()
LoWPANInterface should provide target default, instead of default.
2018-08-28 18:50:59 +03:00
Donatien Garnier 9e0c08bbdc Do not allocate initiator if not required in NFCController::polling_callback 2018-08-28 15:15:31 +01:00
Ari Parkkila ce84209507 Cellular: Fix Greentea test for network attach 2018-08-28 06:20:50 -07:00
Taiki 758f6d2e83 Switch the IPv4 parser to the one recently introduced in libservice. Return a bool value on wether parsing of the IPv4 address string was successful 2018-08-28 14:00:54 +02:00
Martin Kojtal b2a05511d0
Merge pull request #7818 from kjbracey-arm/eui64_get_early
Allow ThreadInterface::device_eui64_get() before connect()
2018-08-28 12:11:47 +02:00
Martin Kojtal 665f10e1be
Merge pull request #7878 from mikaleppanen/mesh_conn_corr
Corrected mbed-mesh-api thread/6lowpan tasklets interface disconnect/connect
2018-08-28 11:55:30 +02:00
Ari Parkkila 90fe9de8ed Cellular: Fixed network registration on Gemalto AT drivers 2018-08-28 02:14:28 -07:00
Ari Parkkila 9d0e3d8797 Cellular: Added support for the Gemalto/EMS31 cellular module 2018-08-28 02:14:28 -07:00
Ari Parkkila a14ac31f68 Cellular: Added support for the Gemalto/BGS2 cellular module 2018-08-28 02:14:28 -07:00
Ari Parkkila 761e01f55c Cellular: Gemalto Cinterion support for ELS61 2018-08-28 02:14:28 -07:00
Vincent Coubard d144d8bc78 NFC: Fix doxygen documentation. 2018-08-28 10:03:44 +01:00
Donatien Garnier 8e8ce973c6 Run astyle 2018-08-28 10:03:44 +01:00
Vincent Coubard 6c4fe20f09 NFC - NDEF: Improve header inclusion 2018-08-28 10:03:44 +01:00
Vincent Coubard 684b3cad08 NDEF: Move common types into the namespace ndef::common 2018-08-28 10:03:43 +01:00
Vincent Coubard 3770cfb963 NDEF types: mention the function span_from_cstr in functions accepting strings. 2018-08-28 10:03:43 +01:00
Vincent Coubard 3dda860fd4 Ndef types: Add functions that convert a C-string into a span consumable by the API. 2018-08-28 10:03:42 +01:00
Vincent Coubard b985b2c00b NFC: Integrate nfc targets with Span
The goal is to play nicely with the NDEF message framework.
2018-08-28 10:03:42 +01:00
Vincent Coubard dcf38eec50 NFC: Add NDEF message framework. 2018-08-28 10:03:41 +01:00
Donatien Garnier 79170d3de5 Use nfc_tech_iso7816_app_t directly to handle ISO7816 applications 2018-08-28 09:59:18 +01:00
Donatien Garnier fb5a0a3791 NFC: Fix more IAR compilation issues 2018-08-28 09:59:18 +01:00