Arto Kinnunen
faaab75605
Merge commit '6e89573be1c458bf3cfa6f1677a31648b4686284' into nanostack-as_subtree
...
* commit '6e89573be1c458bf3cfa6f1677a31648b4686284':
Squashed 'connectivity/drivers/802.15.4_RF/atmel-rf-driver/' changes from 293edc63b8..ae4ef1b197
2020-08-24 15:36:54 +03:00
Martin Kojtal
1950ac61a9
Merge pull request #13472 from talorion/master
...
Fix for targets where DEVICE_SPI or DEVICE_INTERRUPTIN are defined but not both
2020-08-24 13:20:13 +01:00
talorion
ca74659780
fixed warnings: comparison of integer expressions of different signedness
2020-08-24 11:55:24 +02:00
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
Arto Kinnunen
1045b9cf23
Follow Mbed OS coding style in RF drivers
2020-08-21 13:23:17 +03:00
Arto Kinnunen
1215a3a4f7
Merge commit 'f43b5b3761db0cc431d42f621b366ab16387b2db' into nanostack-as_subtree
...
* commit 'f43b5b3761db0cc431d42f621b366ab16387b2db':
Squashed 'connectivity/drivers/802.15.4_RF/stm-s2lp-rf-driver/' changes from 9441d65aab..063b1af74e
2020-08-21 13:00:15 +03:00
Arto Kinnunen
ca5d054ee1
Convert files to unix format
2020-08-21 12:54:30 +03:00
Arto Kinnunen
5f8cdead5e
Merge commit 'ceb10b77b0674df19ea3b17f699f9376829b704c' as 'connectivity/drivers/802.15.4_RF/stm-s2lp-rf-driver'
2020-08-21 12:35:46 +03:00
Arto Kinnunen
3050b5a2f5
Merge commit '162ffeb55d4a47e1abc6d0b94d9d3c261a7c9851' as 'connectivity/drivers/802.15.4_RF/mcr20a-rf-driver'
2020-08-21 12:35:09 +03:00
Arto Kinnunen
ebd0d555ec
Merge commit 'e1376bf778256f92b94017179b4f9d71eb4bc173' into nanostack-as_subtree
...
* commit 'e1376bf778256f92b94017179b4f9d71eb4bc173':
Squashed 'connectivity/drivers/802.15.4_RF/atmel-rf-driver/' changes from 6d72419d8b..293edc63b8
2020-08-21 12:16:19 +03:00
Arto Kinnunen
007484e492
Merge commit '1a9de4ca6c71d2b1fb46b93f42f54b7e69a879d7' as 'connectivity/drivers/802.15.4_RF/atmel-rf-driver'
2020-08-21 12:15:45 +03:00
Arto Kinnunen
1140885b0e
Remove copied 802.15.4 RF drivers
...
-Remove atmel-rf-driver, mcr20a-rf-driver and stm-s2lp-rf-driver
2020-08-21 12:14:31 +03:00
talorion
f874e726db
resolved astyle - coding format.
2020-08-21 10:02:55 +02:00
talorion
7a985ecee9
fixed the preprocessor guards
2020-08-21 10:02:43 +02:00
Arto Kinnunen
9aac23d49e
Merge commit '70e2f11a0c79969e66b51085571bbe9f4dfb7ded' into nanostack-as_subtree
...
* commit '70e2f11a0c79969e66b51085571bbe9f4dfb7ded':
Squashed 'connectivity/libraries/nanostack-libservice/' changes from c6cae6992a..67d7b93ec6
2020-08-20 17:06:12 +03:00
Arto Kinnunen
4198053857
Merge commit 'ac91d0ab4f0efdc6e526b83632eaf99f481298f9' into nanostack-as_subtree
...
* commit 'ac91d0ab4f0efdc6e526b83632eaf99f481298f9':
Squashed 'connectivity/nanostack/sal-stack-nanostack-eventloop/' changes from fdb818f341..86cf0cca08
2020-08-20 17:03:01 +03:00
Arto Kinnunen
fdcb23ede2
Merge commit '4ed4c4fa20b0b14d2525e0f4e805ca1ad58579d2' into nanostack-as_subtree
...
* commit '4ed4c4fa20b0b14d2525e0f4e805ca1ad58579d2':
Squashed 'connectivity/nanostack/sal-stack-nanostack/' changes from b3fe5744d1..48609aeded
2020-08-20 16:57:03 +03: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
c78afe249c
remove address from api to cancel connect
2020-08-18 18:07:16 +01:00
Arto Kinnunen
b4e5062ecd
Merge commit 'f4cdbeb7c134c67322772cbc526c7ce123e5fbcd' as 'connectivity/libraries/nanostack-libservice'
2020-08-18 14:24:46 +03:00
Arto Kinnunen
e79743e33d
Remove copy of nanostack-libservice
2020-08-18 14:22:12 +03:00
Arto Kinnunen
a7481400f1
Merge commit '975b1b8a6b090933420b347b3cabd3dbdff857e2' as 'connectivity/nanostack/sal-stack-nanostack-eventloop'
2020-08-18 14:07:18 +03:00
Arto Kinnunen
df8d1a90be
Remove copy of sal-stack-nanostack-eventloop
2020-08-18 13:08:41 +03:00
Arto Kinnunen
754194fbf7
Merge commit 'c6f402a4c66638de8921c74306ce64c0122b046c' as 'connectivity/nanostack/coap-service'
2020-08-18 13:06:11 +03:00
Arto Kinnunen
5ea51cb1d6
Remove existing copy of coap-service
2020-08-18 13:05:00 +03:00
Arto Kinnunen
2a4b474e26
Merge commit '42a7bffc528d47263f0e285bc5220324f71e9da9' as 'connectivity/nanostack/sal-stack-nanostack'
2020-08-18 12:56:22 +03:00
Arto Kinnunen
a66aad9866
Nanostack: Remove existing copy of sal-stack-nanostack
2020-08-18 12:50:34 +03: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
Leon Lindenfelser
6f2da539c9
Enable PDP type IPV6 and IPV4V6 to support more cellular service providers
2020-08-14 08:16:16 -05: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
Dustin Crossman
6ba8885ad3
Update COMPONENT_SCL.
2020-08-10 17:02:35 -07: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
Paul Szczeanek
8bdd6bca93
braces always on newline
2020-08-07 16:21:09 +01:00
Paul Szczeanek
f6a8610b0e
move non-api heders into common
2020-08-07 14:54:23 +01:00
Paul Szczeanek
b6db853e16
backwards compatiblity with mbed build tools
2020-08-07 14:53:28 +01:00
Paul Szczeanek
ec4cbb7c23
make include path backwards compatible
2020-08-07 14:20:44 +01:00
Paul Szczeanek
dbc006baef
fix ble drivers
2020-08-07 11:59:15 +01:00
Paul Szczeanek
72b7d97fba
pull define out into json config
2020-08-07 11:59:14 +01:00
Paul Szczeanek
98bb0f7e55
fix backwards compatibility
2020-08-07 11:59:14 +01:00
Paul Szczeanek
1d4d3e1127
move implementations to libraries directory
2020-08-07 11:59:14 +01:00
Paul Szczeanek
9603708fc5
import ble modules into global namespace
2020-08-07 11:59:14 +01:00
Paul Szczeanek
7e64019074
move pal to cordio, remove cordio mentions from API
2020-08-07 11:59:14 +01:00
Paul Szczeanek
55efdb3cf0
Cordio Singleton support only one instance
...
Additional instances must be managed by user.
2020-08-07 11:59:14 +01:00
Paul Szczeanek
365cb3c5d0
remove generic, TPPs, nested namespaces
2020-08-07 11:59:14 +01:00
Bora Özgen
a699ff3406
Fix memory leak in DNS cache
2020-08-07 11:31:06 +02:00
Ashok Rao
724624ad6d
Moving mbed_lib.json outside sources
2020-08-06 13:43:55 +01:00
Ashok Rao
8d7c7555dc
Fixing UNITTESTS
2020-08-05 17:09:21 +01:00
Ashok Rao
b9b4c5d392
Mbed OS will soon be changing directory structure to the below:
...
```
connectivity
├── netsocket
├── lwipstack
├── nanostack
│ ├── mbed_lib.json // nanostack-interface's mbed_lib.json
│ ├── include
│ │ └── nanostack // headers from features/netsocket/nanostack-interface
│ ├── source // sources from features/netsocket/nanostack-interface
│ ├── coap-service // used by Thread only - deprecate?
│ ├── mbed-mesh-api
│ ├── nanostack-hal-mbed-cmsis-rtos // HAL porting layer for Nanostack on mbed with CMSIS-RTOS
│ ├── sal-stack-nanostack
│ └── sal-stack-nanostack-eventloop
├── cellular // previously in features/cellular/framework/
├── ...
```
This PR is a part of a wider \connectivity refactoring and implements the above new directory structure for \nanostack.
2020-08-05 16:55:43 +01:00
Anna Bridge
1d362c8a7a
Merge pull request #13371 from gpsimenos/gp-lwip-restruct
...
Restructure lwipstack directory
2020-08-05 11:56:12 +01:00
George Psimenos
bcb5c10d62
Update lwipstack paths
2020-07-31 10:19:52 +01:00
George Psimenos
97ea45ad63
Move lwipstack
...
- Public headers moved into mbed-os/connectivity/lwipstack/include/lwipstack folder
- Source moved into mbed-os/connectivity/lwipstack/source folder
- Internal lwip and lwip-sys libraries moved to source folder
2020-07-31 10:15:25 +01:00
Rajkumar Kanagaraj
49924b8a0b
Add mbed_lib.json config to avoid emac drivers source includes by default
2020-07-30 10:24:58 -07:00
Martin Kojtal
c7251b0177
Merge pull request #13377 from rajkan01/move_nanostack_rf
...
Move nanostack rf driver from features to connectivity
2020-07-30 13:26:11 +01:00
Rajkumar Kanagaraj
f026f0d54f
Move nanostack rf driver from features/nanostack/nanostack-interface into connectivity/drivers/802.15.4_RF
2020-07-30 03:47:52 -07:00
George Psimenos
76f37fb2bc
Restructure events directory & move tests
2020-07-28 09:17:19 +01:00
Rajkumar Kanagaraj
2add7064ec
Update astyleignore and source code comment
2020-07-27 10:04:01 -07:00
Rajkumar Kanagaraj
522f100262
Move features/netsocket/emac-drivers to connectivity/drivers/emac
2020-07-27 09:53:31 -07:00
Rajkumar Kanagaraj
a4c1071c5b
Apply suggestions from code review
...
Commit the reviewer suggestions
Co-authored-by: Lingkai Dong <lingkai.dong@arm.com>
2020-07-23 06:24:04 -07:00
Rajkumar Kanagaraj
947d2d75b9
Fix spell check and astyle format issue
2020-07-23 06:22:15 -07:00
Rajkumar Kanagaraj
21325e281a
Update netsocket header and source reference in other libraries
2020-07-23 06:22:15 -07:00
Rajkumar Kanagaraj
b1a5e1b72d
Move Unittests closure to library
2020-07-23 06:15:13 -07:00
Rajkumar Kanagaraj
354bfaa840
Update header reference
2020-07-23 06:15:13 -07:00
Rajkumar Kanagaraj
f745224c63
Move greentea test closure to library
2020-07-23 06:15:09 -07:00
Rajkumar Kanagaraj
ea6a7ddbaa
Refactor features/netsocket and move to connectivity/netsocket
2020-07-23 06:15:09 -07:00
Lingkai Dong
b5ca618bf2
Remove redundant mbed.h include in UBLOX cellular driver
2020-07-22 11:06:23 +01:00
Lingkai Dong
22ea1e8846
Update unittest.cmake files for cellular
2020-07-22 11:06:23 +01:00
Lingkai Dong
61888227cc
.mbedignore cellular unit tests
2020-07-22 11:06:23 +01:00
Lingkai Dong
5905438fb4
Move cellular unit tests into the library
2020-07-22 11:06:23 +01:00
Lingkai Dong
2b24a7a31e
Update paths to cellular framework
2020-07-22 11:06:23 +01:00
Lingkai Dong
b0131b22a9
Split include/ and source/ for cellular
2020-07-22 11:05:49 +01:00
Lingkai Dong
3ff03bf452
Move cellular framework into connectivity
2020-07-22 11:05:49 +01:00
Lingkai Dong
276de0a5f2
Move cellular target drivers into connectivity/drivers/cellular
2020-07-22 11:05:49 +01:00
Lingkai Dong
8a57df0cea
ppp: Move headers to include/, source files to source/
2020-07-17 15:30:53 +01:00
Lingkai Dong
bda46e0fa8
Move ppp_nsapi.cpp from ppp library to netsocket/nsapi_ppp.cpp
...
This file is the source for nsapi_ppp.h and is not implementation
specific.
2020-07-17 15:30:53 +01:00
Lingkai Dong
b8a1c5ba23
Move ppp into connectivity/libraries
2020-07-17 15:30:53 +01:00
Anna Bridge
63655e82a7
Merge pull request #13255 from LDong-Arm/move_coap
...
Move mbed-coap to connectivity/libraries
2020-07-17 14:41:58 +01:00
Anna Bridge
f5801aa681
Merge pull request #13254 from LDong-Arm/move_nanostack-libservice
...
Move nanostack-libservice into connectivity/libraries
2020-07-17 14:40:50 +01:00
Lingkai Dong
3b2e07c12e
Move mbed-coap to connectivity/libraries
2020-07-16 17:06:57 +01:00
Lingkai Dong
cb828c3aa1
Move nanostack-libservice into connectivity/libraries/
2020-07-08 17:25:18 +01:00
Lingkai Dong
6e9dcc3f93
Move WiFi drivers from components to connectivity/drivers
2020-07-03 17:37:43 +01:00
Lingkai Dong
a0a43ada37
Move cellular drivers from components to connectivity/drivers
2020-07-03 17:32:45 +01:00
Lingkai Dong
f4c62f6369
Move 802.15.4_RF drivers from components to connectivity/drivers
2020-07-03 17:30:59 +01:00