Vincent Coubard
c8747aad0f
Cordio: Use GenericGap instead of CordioGap.
2017-10-31 17:40:01 +00:00
Vincent Coubard
e9170e6507
BLE: Cordio fix default connection handle for GattServer write and areUpdatesEnabled
2017-10-31 17:40:00 +00:00
Vincent Coubard
c30eee0f03
BLE: Cordio implementation of ble::pal::Gap.
2017-10-31 17:40:00 +00:00
Vincent Coubard
0d0cdb6f8e
BLE: Cordio implementation of pal::GenericAccessService.
2017-10-31 17:40:00 +00:00
Vincent Coubard
1b7a3ffa02
BLE: Add generic GAP implementation.
...
Generic implementation of the GAP class. It allows porters to have a working Gap
implementation by implementing the following abstraction layer primitives:
- pal::Gap: Adaptation for GAP related primitives.
- pal::EventQueue: simple interface to the inner event queue of the stack.
pal::SimpleEventQueue can also be used as an implementation.
- pal::GenericAccessService: Accessors to the Generic Access Service present in
the GATT server.
2017-10-31 17:39:14 +00:00
Vincent Coubard
953739c026
BLE: Event Queue interface at the pal level.
...
To help generic code, an interface of an event queue at the PAL level has been
added. Implementation can either rely on the event mechanism internal to the
stack or use the SimpleEventQueue implementation provided by this patch.
2017-10-31 17:38:04 +00:00
Vincent Coubard
63668cb7d2
BLE: Add generic event filter.
...
This filter prevent events to be signaled multiple times to the upper layer. It
also signal events to a newly set event processor hook.
2017-10-31 17:37:05 +00:00
Vincent Coubard
0025b685ea
BLE: Generic Access Service Adaptation layer
...
Add an abstraction which manage the state of the GAP service exposed by the GATT server.
2017-10-31 17:35:37 +00:00
Vincent Coubard
744abca8ff
BLE: Adaptation interface of the GAP layer.
...
This interface expose the primitives needed to realize operations defined in
the GAP layer. Data types, event and function definitions follow closely HCI
commands and events defined in the Bluetooth specification.
2017-10-31 17:32:01 +00:00
Vincent Coubard
a917b90e0b
BLE: Add safe Enum abstraction.
2017-10-15 16:37:38 +01:00
Juhani Puurula
2b27ad15b2
Nanostack v6.2.2
2017-10-04 10:01:14 +03:00
Jimmy Brisson
c3dc45bd0c
Merge pull request #5033 from mikaleppanen/lwip_buf_err_map
...
Mapped lwip buffer error to nsapi no memory error
2017-09-29 10:09:11 -05:00
Jimmy Brisson
e3cb228d5e
Merge pull request #4795 from sarahmarshy/test-configs
...
Add configurable network driver tests
2017-09-28 14:06:38 -05:00
Jimmy Brisson
f0a10750d7
Merge pull request #4990 from akosthekiss/ble-uart-flush
...
Add flush to the BLE UART Service
2017-09-28 14:01:15 -05:00
Jimmy Brisson
5a018585c6
Merge pull request #5183 from geky/fix-dir-open-failures
...
fs: Fix dir open during failure condition
2017-09-28 13:59:28 -05:00
Jimmy Brisson
fb5241c73f
Merge pull request #5060 from pan-/cordio_port
...
BLE: Cordio port
2017-09-27 09:08:24 -05:00
Jimmy Brisson
908a05b231
Merge pull request #5016 from u-blox/apndb_fix
...
Fix cellular APN_db.h lookup.
2017-09-27 09:06:46 -05:00
Jimmy Brisson
760fc335c0
Merge pull request #4982 from NXPmicro/Update_K66_SDK22
...
Update K66F to SDK 2.2
2017-09-27 09:05:44 -05:00
Jimmy Brisson
b562e4e131
Merge pull request #4979 from bcostm/usbdevice_clean-up
...
STM32: USBDevice files clean-up
2017-09-27 09:04:37 -05:00
Vincent Coubard
75c9dfce68
BLE: Add Cordio port.
...
It allows mbed users to enable BLE on targets with an external BLE module.
2017-09-26 15:20:17 +01:00
Vincent Coubard
aa0b5d5a22
BLE: Fix space
2017-09-26 15:20:16 +01:00
Vincent Coubard
512dd8c387
BLE: Add collection of basic BLE types shared accross all layers.
2017-09-26 15:20:15 +01:00
Vincent Coubard
daaa5b1977
BLE: Introduce GenericGattClient and platform abstraction over ATT/GATT.
...
This changes introduce a platform adaptation over ATT/GATT that can be implemented by porter.
Unlike the GattClient interface, the ATT/GATT adaptation is simple, follow closely the Bluetooth specification and won't change over time.
Implementation of the GattClient interface is realized by the class GenericGattClient which accept in input a pal::GattClient.
This change will also free design space once adopted by partners, addition to the GattClient interface won't require partner support.
2017-09-26 15:20:15 +01:00
Vincent Coubard
38bb6b4e52
BLE: Add error code management in Gatt read and write data structures.
...
Also fix wrong usage of designed initializer in CPP files.
2017-09-26 15:20:15 +01:00
Vincent Coubard
85e88ccb2c
BLE NRF: Fix wrong usage of designed initializer in cpp code.
2017-09-26 15:20:15 +01:00
Vincent Coubard
1fd953e33c
BLE: Use shared type ble_attribute_handle_t in GattAttribute.
2017-09-26 15:20:15 +01:00
Vincent Coubard
4416ef6233
BLE: Add optionnal error_code CharacteristicDescriptorDiscovery::TerminationCallbackParams_t
2017-09-26 15:20:15 +01:00
Vincent Coubard
97995b8de9
BLE: Fix header inclusion of DiscoveredCharacteristicDescriptor.
2017-09-26 15:20:14 +01:00
Vincent Coubard
c022c4a8f0
BLE: use common type ble::connection_handle_t as Handle_t.
2017-09-26 15:20:14 +01:00
Vincent Coubard
dd303b7a91
BLE: Add ArrayView in utilities.
2017-09-26 15:20:14 +01:00
Vincent Coubard
c58d7de93d
BLE: Fix GattClient destructor by adding a virtual specifier.
2017-09-26 15:20:14 +01:00
Jimmy Brisson
79440ae17b
Merge pull request #4994 from 0x6d61726b/patch-1
...
missing includes for filesystem.cpp (build with VisualGDB fails)
2017-09-25 10:11:43 -05:00
Mahadevan Mahesh
593fb3a6fb
K66F: Update to SDK 2.2
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-09-24 08:14:52 -05:00
Christopher Haster
a6b3b55eb9
fs: Fix dir open during failure condition
...
Should leave the Dir in an openable state, currently does not
since it thinks it's in use by the fs it failed to open on.
2017-09-22 18:39:52 -05:00
Jimmy Brisson
bfc1c5aa39
Merge pull request #4983 from geky/bd-trim-erase
...
bd: Tweaked block device API to fit SD cards and FTLs better
2017-09-21 16:05:37 -05:00
Jimmy Brisson
181d7bc1bb
Merge pull request #5080 from andresag01/fix-hw-acc-sha1-md5-sha256
...
mbedtls: Disable MD5, SHA1, SHA256 HW ACC for STM32F439xI
2017-09-21 09:03:33 -05:00
Sarah Marsh
c68b5a6c93
Remove LWIP tests
2017-09-20 18:31:05 -05:00
Jimmy Brisson
43aa6a263c
Merge pull request #5018 from adustm/f439_aes_tlsclient_fix
...
Fix use of AES_ALT on STM32F439 for example-tls-client
2017-09-20 16:36:02 -05:00
Martin Kojtal
b5c53f4dcb
Merge pull request #5138 from artokin/master
...
Fix redefinition of mbed TLS error codes
2017-09-20 16:02:43 +01:00
Anna Bridge
003dd7c47f
Merge pull request #5044 from Archcady/Profile_debug
...
Realtek_RTL8195AM fix for debug profile
2017-09-19 10:43:25 +01:00
Arto Kinnunen
0920cfc600
Fix redefinition of mbed TLS error codes
...
-Use guards around MBEDTLS macros.
2017-09-19 11:25:40 +03:00
Jimmy Brisson
a0d55036f9
Merge pull request #5116 from hasnainvirk/iar_fix
...
Separate string literal from macro
2017-09-18 09:30:59 -05:00
Shrikant Tudavekar
fc58349c15
update domain name to os.mbed.com
2017-09-15 11:21:28 -05:00
Hasnain Virk
8c9a0b3aa5
Seperatig string literal from macro
...
From C++11 and beyond string literals must be seperated by space
so that they are recongizable as seperate tokens.
Context macro in PPPCellularInterface (CTX) has been causing issues
as it was not augmented with a space from a nearby string literal.
2017-09-15 17:39:46 +03:00
adustm
e6fa5f07a2
Change after code review : standardize calls among ST families
...
Check return values in alignment with MBEDTLS error codes
2017-09-15 14:59:08 +02:00
adustm
cd1a18fee3
Use new interface of mbedtls instead of deprecated functions
2017-09-14 13:49:43 +02:00
adustm
c1fcae6c50
Fix multi context for AES CBC and ECB mode
...
Fix mbed-os-example-tls-client use case
2017-09-14 13:49:03 +02:00
adustm
458b0ec99f
Enable AES_ALT mode again (remove workaround)
2017-09-14 13:48:52 +02:00
Anna Bridge
7b428916f5
Merge pull request #4949 from theotherjimmy/feature-armc5+armc6
...
NEW TOOLCHAIN: Add the ARMC6 Compiler
2017-09-13 10:39:15 +01:00
Andres Amaya Garcia
f928e7a707
mbedtls: Disable MD5, SHA1, SHA256 HW ACC for STM32F439xI
...
STM32F439xI-family MD5, SHA1 and SHA256 hardware acceleration
occasionally produces incorrect output (#5079 ).
Don't enable MD5, SHA1 and SHA256 HW acceleration on STM32F439xI-family
targets by default until issue #5079 is fixed.
2017-09-12 13:39:04 +01:00