Commit Graph

224 Commits (75544a7ce0e3d89abc27b12b23f8045d73695e45)

Author SHA1 Message Date
Balaji Subramanyam 3387c86f0b Fix SSID bug on Cypress Targets 2020-08-25 17:22:15 -07:00
Vincent Coubard 5943a7360c BLE: Fix uses of mbed.h 2020-08-25 12:28:40 +01:00
Vincent Coubard cf91053f93 BLE: Move cordio implementation include into source folder 2020-08-25 11:34:00 +01:00
Vincent Coubard 029ed3a0c5 BLE: Cleanup BLEInstanceBas implementation 2020-08-25 11:33:59 +01:00
Vincent Coubard 2af0f88fa6 BLE: Cleanup AttServerMessage implementation 2020-08-25 11:33:59 +01:00
Vincent Coubard 6df7846bbb BLE: Remove cordio namespace 2020-08-25 11:33:59 +01:00
Vincent Coubard d914cb1fb2 BLE: Cleanup PalSigningEventMonitor. 2020-08-25 11:33:59 +01:00
Vincent Coubard f6b40e0e66 BLE: Cleanup pal generic access service 2020-08-25 11:33:59 +01:00
Vincent Coubard b42abd0e25 BLE: cleanup PalEvent queue and implementation 2020-08-25 11:33:59 +01:00
Vincent Coubard 52b132e042 BLE: Cleanup pal security manager 2020-08-25 11:33:59 +01:00
Vincent Coubard 2952a5b327 BLE: Cleanup pal Gap 2020-08-25 11:33:59 +01:00
Vincent Coubard 3f3c11b113 BLE: Move GattServer implementation from generic to cordio 2020-08-25 11:32:38 +01:00
Vincent Coubard e59e1b5ef6 BLE: Cleanup of pal AttClient and GattClient
Fix interface namespace being not used.
Move generic AttClient to GattClient adapter back into the  pal
2020-08-25 11:32:38 +01:00
Vincent Coubard bc259c561d BLE: cleanup generic sources 2020-08-25 11:32:37 +01:00
Vincent Coubard 57b5f711e5 BLE: Move source/DiscoveredCharacteristic into source/gatt/DiscoveredCharacteristic 2020-08-25 11:26:28 +01:00
Vincent Coubard 12388d77d4 BLE: move source/impl into source/cordio 2020-08-25 11:26:28 +01:00
Vincent Coubard 241c69f50d BLE: Cleanup public headers 2020-08-25 11:26:28 +01:00
Vincent Coubard 7cbc0e38a4 BLE: Clang tidy on public headers. 2020-08-25 11:26:28 +01:00
Vincent Coubard 0baa92d70c BLE: Expose HCI driver in public API. 2020-08-25 11:26:28 +01:00
Vincent Coubard dd54baecf6 BLE: Move Cordio implementation in source/impl 2020-08-25 11:26:27 +01:00
Vincent Coubard cc78150afd BLE: Move generic lib file into source/generic . 2020-08-25 11:26:27 +01:00
Vincent Coubard 134cb885f5 BLE: Move cordio_stack out of TARGET_CORDIO 2020-08-25 11:26:27 +01:00
Vincent Coubard 94cf390706 BLE: Fix address copy in Nordic HCI driver. 2020-08-25 11:26:26 +01:00
Vincent Coubard 63ac8fac3c BLE: Add compatibility path for headers. 2020-08-25 11:26:26 +01:00
Vincent Coubard 13c358717f BLE: Move GATT public header into ble/gatt
Move private headers GattServerEvents.h, GapEvents,h and GapType.h in relevant part of the source tree.
2020-08-25 11:26:26 +01:00
Vincent Coubard 27cb03824e BLE: Move common publi headers into ble/common 2020-08-25 11:26:26 +01:00
Vincent Coubard d3427ca495 BLE: Move gap public header at the root. 2020-08-25 11:26:26 +01:00
Vincent Coubard e11bfb6514 BLE: move PAL headers into source/pal 2020-08-25 11:26:26 +01:00
Vincent Coubard a45325995b BLE: Move BleInstanceBase.h into source. 2020-08-25 11:26:26 +01:00
Vincent Coubard c2a09abee8 BLE: Move SecurityDB related files into generic sources 2020-08-25 11:26:26 +01:00
Vincent Coubard 381700a250 BLE: Move generic implementation and headers into source/generic 2020-08-25 11:26:26 +01:00
Vincent Coubard 41c8c22a96 BLE: Warning cleanup
- Missing default assignment operator
- Field order in construction list
- Typo
- Unused header
2020-08-25 11:26:26 +01:00
Vincent Coubard c773870d56 BLE: Bind interface to private implementation. 2020-08-25 11:26:26 +01:00
Vincent Coubard 0929478b7f BLE: Move constructor from transport to private section 2020-08-25 11:26:25 +01:00
Vincent Coubard cf3ede0191 BLE: GattServer PIMPL 2020-08-25 11:26:25 +01:00
Vincent Coubard 2b48d4826e BLE: SecurityManager PIMPL 2020-08-25 11:25:07 +01:00
Vincent Coubard e3cf59e6cd ble: GattClient PIMPL 2020-08-25 11:25:07 +01:00
Vincent Coubard 909676d159 PIMPL for ble::Gap 2020-08-25 11:11:58 +01:00
Martin Kojtal a32168c819
Merge pull request #13473 from artokin/nanostack_relase_12_4_0_to_master
Nanostack release v12.4.0
2020-08-25 09:40:45 +01:00
Martin Kojtal d6e93b182c
Merge pull request #13462 from paul-szczepanek-arm/cancel-connect-no-address
BLE remove address from API to cancel connect
2020-08-25 08:46:14 +01:00
talorion fa0ab3e31f resolved astyle - coding format. 2020-08-24 15:34:20 +02:00
talorion e3080a6e0e fixed warnings: static method defined but not used 2020-08-24 15:34:20 +02:00
talorion f58633c42e fixed warnings: deprecated call of Timer::read_ms() 2020-08-24 15:34:20 +02:00
talorion 9af18af756 fixed warnings: comparison of integer expressions of different signedness 2020-08-24 15:34:20 +02:00
talorion 2a6f00642e fixed warnings: comparison of integer expressions of different signedness 2020-08-24 15:34:20 +02:00
talorion c7d520ee74 fixed warnings: deprecated call of bool rtos::Semaphore::try_acquire_for(uint32_t) 2020-08-24 15:34:19 +02:00
talorion 30e0ff60d9 fixed warnings: deprecated call of events::EventQueue::call_in(int. F) 2020-08-24 15:34:19 +02:00
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