Commit Graph

100 Commits (accadee274551532679168a816bf55db9ab7a2e3)

Author SHA1 Message Date
talorion accadee274 fixed warnings: unused variable 2020-08-24 11:55:24 +02:00
talorion 8d1553cf1a fixed warnings: suggest parentheses around '&&' within '||' 2020-08-24 11:55:23 +02:00
talorion d11ce60d83 fixed warnings: printf format missmatch 2020-08-24 11:55:23 +02:00
talorion f90d062c55 fixed warnings: removed unused variables 2020-08-24 11:55:23 +02:00
talorion fcb81d3015 fixed warnings: comparison of integer expressions of different signedness 2020-08-24 11:55:23 +02:00
Martin Kojtal 31701fa518
Merge pull request #13449 from paul-szczepanek-arm/fix-prep-write
BLE: Fix writing attributes larger than MTU size
2020-08-21 13:52:07 +01:00
Paul Szczeanek 6aa89aefcc calculate chunk size when needed and use reported packet length 2020-08-19 12:22:27 +01:00
Paul Szczeanek 8c5bbe05fe check authorisation before writing 2020-08-19 10:41:21 +01:00
Paul Szczeanek 019a32c75b no need to check again 2020-08-19 10:41:05 +01:00
Paul Szczeanek f876179484 remove tabs 2020-08-18 10:04:11 +01:00
Paul Szczeanek b93733e4aa offset is missing from prepare write response in cordio 2020-08-18 10:02:43 +01:00
Paul Szczeanek 894886d1fe fix prepare writes to write in chunks 2020-08-18 09:07:13 +01:00
Paul Szczeanek bf20286026 perform attribute writes directly, including offset 2020-08-18 09:00:36 +01:00
Paul Szczeanek cde0e6b183 allow writes at an offset 2020-08-18 08:59:00 +01:00
Paul Szczeanek 1b78b46a73 must allow writes smaller than max attribute length 2020-08-18 08:58:11 +01:00
RyoheiHagimoto 4a1049d508 Moved some files to connectivity/drivers/emac from features/netsocket/emac-drivers 2020-08-18 16:25:01 +09:00
RyoheiHagimoto db3cec4398 Added GR-MANGO to be a target.
Passed GreenTea CI.
Added RZ_A2XX and GR_MANGO to targets.json.
Added RZ_A2XX to mbedlib.json in lwipstack and netsocket/ppp.
Added TARGET_RZ_A2XX directory to targets/TARGET_RENESAS.
Added TARGET_RENESAS_EMAC directory to features/netsocket/emac-drivers.
Moved TARGET_RZ_A1_EMAC directory into the TARGET_RENESAS_EMAC directory below and renamed to TARGET_RZ_A1XX.
Added TARGET_RZ_A2XX directory to features/netsocket/emac-drivers/TARGET_RENESAS_EMAC.
2020-08-18 10:48:48 +09:00
RyoheiHagimoto 1133bfbd50 Added argument-check to dns_get_interface_server.
Added argument-check to avoid accessing NULL pointer.
The second argument 'interface_name' of this function can be NULL.
And the argument 'interface_name' is used for the argument of strcmp() without checked.

For example, LWIP::add_dns_server() calls dns_getserver(index - 1, NULL).
2020-08-18 10:48:47 +09:00
Martin Kojtal 327fe532b2
Merge pull request #13410 from ashok-rao/lorawan-refactor
Refactoring \lorawan --> moving it inside \connectivity.
2020-08-14 14:27:48 +01:00
Martin Kojtal 94c62f2677
Merge pull request #13404 from gpsimenos/gp-cryptocell-restruct
Restructure cryptocell
2020-08-14 14:25:43 +01:00
Rajkumar Kanagaraj 07511d39b1 Fix UNITTESTS build failure 2020-08-14 12:32:50 +01:00
Martin Kojtal 6dd3e057a5
Merge pull request #13414 from LDong-Arm/refactor_nfc
Refactor NFC directory structure
2020-08-13 13:40:33 +01:00
George Psimenos a4fc83dc0a Move cryptocell
mbed-os/features/cryptocell/FEATURE_CRYPTOCELL310 directory moved
to mbed-os/connectivity/drivers/cryptocell/FEATURE_CRYPTOCELL310
and restructured according to the internal proposal.
2020-08-13 09:26:17 +01:00
Ashok Rao 9977da64af Incorporating review comments 2020-08-12 11:18:39 +01:00
Ashok Rao 0c584dfd58 Following 2 changes as part of this commit:
1. Moving lora drivers from \components\lora to \connectivity\drivers\lora
    2. Incorporating review comments.
2020-08-12 11:18:39 +01:00
Ashok Rao 326f1435f4 Modifying paths in each unit test according to new directory structure 2020-08-12 11:06:37 +01:00
Ashok Rao c5ffa220e1 Moving headers and sources to their respective separate directories based on new component structure 2020-08-12 11:06:37 +01:00
Ashok Rao cc1dd29259 Adding .mbedignore for tests and modifying greentea test for deprecated API and missing header 2020-08-12 11:06:37 +01:00
Ashok Rao da9fd2a11b Mbed OS will soon be changing directory structure to the below:
```
connectivity
├── netsocket
├── lorawan
│   ├── mbed_lib.json // nanostack-interface's mbed_lib.json
│   ├── lorastack
│   ├── tests
├── nanostack
├── cellular
├── ...

```

This PR is a part of a wider \connectivity refactoring and implements the above new directory structure for \lorawan.
2020-08-12 11:06:36 +01:00
Martin Kojtal d32000d4c5
Merge pull request #13385 from gpsimenos/gp-tls-restruct
Restructure Mbed TLS
2020-08-12 10:26:26 +01:00
Lingkai Dong e81e897e50 Move NFC Greentea tests into connectivity/nfc/tests/TESTS 2020-08-11 16:24:37 +01:00
Lingkai Dong f585129d14 PN512 NFC driver: backward-compatible driver header path 2020-08-11 16:12:47 +01:00
Lingkai Dong c734221c31 Update NFC libraries paths 2020-08-11 16:12:47 +01:00
Lingkai Dong 8b151da71b Drop redundant nfc/ directory from source/ 2020-08-11 16:12:47 +01:00
Lingkai Dong bed5fd33e8 nfc: turn PN512 driver into a standalone driver library 2020-08-11 15:22:38 +01:00
Lingkai Dong 4b0cede96e Move acore and stack into connectivity/nfc/libraries 2020-08-11 15:22:16 +01:00
Lingkai Dong d9dc30f85a nfc: move headers into include 2020-08-11 15:22:07 +01:00
Lingkai Dong de3a54182a Move nfc into connectivity 2020-08-11 14:55:25 +01:00
Martin Kojtal 3b25d2ded0
Merge pull request #13390 from paul-szczepanek-arm/fix-cancel-connect
Fix cancel connect
2020-08-11 14:54:44 +01:00
Martin Kojtal c7316dcba8
Merge pull request #13409 from LDong-Arm/mv_bluenrg_ms
Move BlueNRG-MS driver into connectivity/drivers/ble/FEATURE_BLE
2020-08-11 13:11:14 +01:00
George Psimenos bf6693a204 Create mbed_lib.json for mbedtls target code 2020-08-11 11:32:09 +01:00
George Psimenos 6a477619b9 Move mbedtls target-specific code 2020-08-11 11:32:09 +01:00
George Psimenos 54d8fe74ca Update mbedtls paths 2020-08-11 11:32:08 +01:00
George Psimenos bf3cf13cde Move mbedtls greentea tests 2020-08-11 11:32:08 +01:00
George Psimenos c8cc5bd180 Move mbedtls 2020-08-11 11:32:08 +01:00
Martin Kojtal 3fc6667c59
Merge pull request #13408 from boraozgen/bugfix/dns_cache
Fix memory leak in DNS cache
2020-08-11 09:00:58 +01:00
Lingkai Dong c8721cf671 Move BlueNRG-MS driver into connectivity/drivers/ble/FEATURE_BLE 2020-08-10 17:31:12 +01:00
Paul Szczeanek e877eb7552 fix cancel connect to accept peer address 2020-08-10 13:07:11 +01:00
Anna Bridge a6730ad8ef
Merge pull request #13365 from paul-szczepanek-arm/ble-streamlining
BLE streamlining
2020-08-10 11:04:45 +01:00
Paul Szczeanek 6aac3acefb braces on newlines 2020-08-07 16:27:26 +01:00