Teppo Järvelin
fc4ed93e08
Cellular: Fix to use PPP stack in PPP mode
...
In QUECTEL_BG96 and QUECTEL_BC95 there was missing #ifdefs for
PPP mode and our stack was used. Also BG96 needed to be added
AT_CellularBase::AT_CGDATA as not supported.
2018-12-14 09:40:33 +02:00
Conrad Braam
3b138fba02
Fix long writes/reads stack overflowing ( #8802 )
...
* writes and reads queue, not overflow stack IOTPAN-295
2018-12-13 18:18:01 -06:00
Cruz Monrreal
8bd1d06e9a
Merge pull request #8866 from AriParkkila/cell-cinterion-module
...
Cellular: Refactored GEMALTO_CINTERION_Module to GEMALTO_CINTERION
2018-12-13 18:16:13 -06:00
Cruz Monrreal
945a52df1c
Merge pull request #9052 from mirelachirica/at_handler_fix_consume_to_stop_tag
...
Cellular: Rewrite AT handler consume to tag
2018-12-13 18:15:42 -06:00
Cruz Monrreal
839e00509b
Merge pull request #9054 from theamirocohen/nvstore_max_keys
...
Fix max_keys reset limitation
2018-12-13 18:15:16 -06:00
kegilbert
ee3945dfa3
Add socket stat logging state change update
...
TCPServer was deprecated and the accept call was added to TCPSocket. Add state change update to that call
2018-12-13 14:50:56 -06:00
paul-szczepanek-arm
67db321500
check illegal adv params combimnation
2018-12-13 17:52:18 +00:00
paul-szczepanek-arm
ff0a2a907e
check connectible sizes
2018-12-13 17:52:00 +00:00
paul-szczepanek-arm
c5bad804e2
add asserts for illegal compinations of adv params
2018-12-13 17:51:45 +00:00
paul-szczepanek-arm
7dd90e1810
Docuement active set length and add informative call for querying the limit
2018-12-13 17:51:10 +00:00
paul-szczepanek-arm
e1cf516100
fix max payload and hci length values
2018-12-13 17:50:53 +00:00
paul-szczepanek-arm
50d1818d72
call advertising end even if stopped by us
2018-12-13 17:33:36 +00:00
David Saada
713b4704f2
Adjust FAT FS tests to low memory boards
...
This is achieved by checking whether the board can allocate a certain memory
chunk (threshold) and skipping the test if it can't.
This should prevent these boards from failing in CI.
2018-12-13 15:26:31 +02:00
Amir Cohen
4fe7834928
Remove dead code
2018-12-13 13:34:08 +02:00
Amir Cohen
901a493299
Improve tests by reducing kvstore reset occurrences
2018-12-13 11:47:25 +02:00
Cruz Monrreal
d53553e10d
Merge pull request #9034 from KariHaapalehto/enet_tasklet_definitions
...
Change enet_tasklet declarations to match code
2018-12-12 17:03:43 -06:00
Martin Kojtal
fa3212abee
Merge pull request #9037 from naveenkaje/fix_ble_build_warning
...
BLE: Update toolchain.h with mbed_toolchain.h
2018-12-12 14:46:17 +01:00
Martin Kojtal
985afb8027
Merge pull request #8728 from RonEld/cryptocell_sha_alt_fixes
...
Fix issues in Cryptocell 310 shax_alt discovered by On Target Testing
2018-12-12 14:43:06 +01:00
Martin Kojtal
c387fec36b
Merge pull request #8725 from ChazJin/master
...
Add support for GD32F307VG
2018-12-12 14:42:20 +01:00
Amir Cohen
eff52273f4
Fix max_keys reset limitation
...
Persist the max_keys value through a soft-reset, also prohibit max_keys set under predefined default value (16)
2018-12-12 15:05:09 +02:00
Mel W
8de7a36061
Capitalization and punctuation
2018-12-12 11:38:10 +02:00
Cruz Monrreal
59ac1bb3fa
Merge pull request #9025 from tz-arm/mbed-os-5.11.0-oob_fix_fault_exception_issue
...
Mbed os 5.11.0 oob: fix fault exception issue
2018-12-11 11:46:19 -06:00
Mirela Chirica
806e95cf67
Cellular: Rewrite AT handler consume to tag
...
If sequence from buffer contains tag but symbol before tag is same as
first symbol of the tag, then the tag wasn't detected.
For example, "\r\n" tag was not found from "\r\r\nOK" sequence.
2018-12-11 15:36:33 +02:00
Terence Zhang
cc63a31eb3
Formatted via astyle.
2018-12-11 16:50:14 +08:00
Martin Kojtal
c1806765dd
Merge pull request #8987 from davidsaada/david_securestore_fixes
...
Fix a few SecureStore issues (following preliminary security review)
2018-12-11 09:42:19 +01:00
Cruz Monrreal
3875ac18d0
Merge pull request #8822 from hasnainvirk/dr0_and_fcnt_issue
...
LoRaWAN: Mitigating reception issues at lower data rates & FCnt increment after retry exhaustion
2018-12-10 19:35:25 -06:00
David Saada
cb7f68e992
Fix a few SecureStore issues (following preliminary security review)
...
- Remove require integrity flag (authentication) - always authenticate
- Use RBP KV to store CMAC also in write once case
- Allow removing a key if reading it failed on RBP authentication error
- Disable SecureStore if user disables MBED TLS AES CTR or CMAC
2018-12-10 23:34:57 +02:00
Naveen Kaje
448c4d5d89
BLE: Update toolchain.h with mbed_toolchain.h
...
Fixes the following warning
[Warning] toolchain.h@24,0: #1215-D: #warning directive:
toolchain.h has been replaced by mbed_toolchain.h,
please update to mbed_toolchain.h [since mbed-os-5.3]
2018-12-10 13:57:52 -06:00
Cruz Monrreal
23022dd0f9
Merge pull request #8998 from pan-/ble-extended-advertising-fixes
...
Ble extended advertising fixes
2018-12-10 10:36:05 -06:00
paul-szczepanek-arm
13a10f3efa
suppress scan timeout if we disabled scanning
2018-12-10 16:31:34 +00:00
Cruz Monrreal
eec536b332
Merge pull request #8986 from davidsaada/david_tdbstore_fixes
...
Fix a few bugs in TDBStore and KV config
2018-12-10 10:16:37 -06:00
paul-szczepanek-arm
a545da7790
remove noreturn error function to avoid compilation issues
2018-12-10 13:54:09 +00:00
Kari Haapalehto
7e7af773ea
Modify enet_tasklet.h
...
Change enet_tasklet_network_init() and enet_tasklet_disconnect()
declarations to match code. Also add document enet_tasklet.h functions
2018-12-10 15:49:47 +02:00
paul-szczepanek-arm
c998287170
fixed ARM compilation problem caused by noreturn
2018-12-10 13:47:14 +00:00
paul-szczepanek-arm
97df8f5ed9
working ARM lib
2018-12-10 13:46:26 +00:00
paul-szczepanek-arm
642b2dfb57
working libs for GCC and IAR
2018-12-10 09:12:03 +00:00
Hasnain Virk
e1e48b492b
Final cleanup and ASCII art for algorithm v2
...
Final code cleanup and adding ascii art for the version 2 of the
algorithm.
2018-12-10 08:53:30 +02:00
Hasnain Virk
5170daa00a
RX window calculation algorithm version 2
...
In this version we try to mitigate a situation when we start listening
right in the middle of a preamble sequence (e.g., in high SF case).
2018-12-10 08:53:30 +02:00
Hasnain Virk
3ec643f06a
Style alignment
...
Minor style alignment.
2018-12-10 08:53:30 +02:00
Hasnain Virk
88490fb145
Mitigating reception problems with lower data rates
...
A new algorithm has been taken in use to calculate the receive window
length and the timing offset involved in opening of the said receive
window. This algorithm performs better than the stock algorthm and
consumes less power.
2018-12-10 08:53:30 +02:00
Hasnain Virk
f4077af5b1
UL FCnt increment in case of retry exhaustion
...
Previously we had been incrementing UL frame counter for a CONFIRMED
message only when the transmission was deemed successful i.e., we would
have received an ack before all the retries would have exhausted.
Now we have opted to increment the frame counter if all the retries are
exhausted considering the fact that we essentially treat the next
message after retry exhaustion as a new packet so we should also
increment the frame counter.
2018-12-10 08:53:30 +02:00
Terence Zhang
d3d1e0d30b
Fix for the fault exception issue:
...
https://github.com/ARMmbed/mbed-os-example-cellular/issues/112
2018-12-10 11:07:13 +08:00
Terence Zhang
a713358d3c
Fix the fault exception issue in socket_recvfrom with the null pointer parameter as SocketAddress *addr.
2018-12-10 11:07:12 +08:00
Donatien Garnier
6f94339aed
Replace ARMCC libs
2018-12-08 08:43:20 +00:00
Donatien Garnier
db6b09a70f
ARMCC only likes armar
2018-12-07 23:45:26 +00:00
Donatien Garnier
3f00595e62
Remove use of GPIOs (LEDs and diag pins) from Cordio LL for Nordic
2018-12-07 22:46:27 +00:00
Donatien Garnier
674ff288d6
Remove duplicate symbols in libcordio_stack.a
2018-12-07 22:04:19 +00:00
Cruz Monrreal
4a8e2de2c2
Merge pull request #9005 from yanesca/fix-mbedtls-ecc-hardware-double-init
...
Mbed TLS: Fix ECC hardware double initialization
2018-12-07 14:47:04 -06:00
paul-szczepanek-arm
a48369691e
iar libs for cordio
2018-12-07 17:56:36 +00:00
paul-szczepanek-arm
bdabada477
added arm version of libs
2018-12-07 17:41:50 +00:00
Cruz Monrreal
fce4dc6dc3
Merge pull request #8852 from jarvte/cellular_doxygen_update
...
Cellular: update doxygen and add attach CellularDevice.
2018-12-07 11:23:22 -06:00
paul-szczepanek-arm
c13dcf3387
baseband clock rate increased to 1 000 000
2018-12-07 17:12:58 +00:00
Vincent Coubard
e7f81fe7e8
BLE: Fix the number of advertising sets supported
...
The number of advertising sets supported is the minimum of advertising sets supported beween the host and the controller.
2018-12-07 13:26:35 +00:00
Vincent Coubard
4e5240b743
BLE: Set the number of the advertising sets supported by the host to 3.
2018-12-07 13:24:52 +00:00
Vincent Coubard
57b79d9659
BLE: Set the number of supported phy by the host to 3.
2018-12-07 13:24:28 +00:00
Vincent Coubard
20e0cd1b0e
BLE: Inject random static address during reset sequence.
2018-12-07 12:35:20 +00:00
Vincent Coubard
a36b04fde5
BLE: Add an option to inject the random static address during the reset sequence.
2018-12-07 12:33:31 +00:00
Janos Follath
71387e33f1
Mbed TLS: Fix ECC hardware double initialization
...
We initialized the ECC hardware before calling
mbedtls_ecp_mul_shortcuts(). This in turn calls
mbedtls_ecp_mul_restartable(), which initializes and frees the hardware
too. This issue has been introduced by recent changes and caused some
accelerators to hang.
We move the initialization after the mbedtle_ecp_mul_shortcuts() calls
to avoid double initialization.
2018-12-07 11:18:40 +00:00
Vincent Coubard
0d398bc8c8
BLE: Revert changes introduced by debugging.
2018-12-07 09:33:26 +00:00
Cruz Monrreal
73db5da89d
Merge pull request #8981 from donatieng/cordio_nordic_memory_optimizations
...
Cordio Nordic memory optimizations
2018-12-06 21:24:34 -06:00
Vincent Coubard
1c71713e1b
BLE: Fix recursion in ble::advertising_data_status_t raw constructor.
2018-12-07 00:05:02 +00:00
Vincent Coubard
698447b622
BLE: Fix address type allowed to create a periodic sync.
2018-12-07 00:04:29 +00:00
Vincent Coubard
df95a1f8bd
BLE: Allow null value for periodic interval in advertising report event.
2018-12-07 00:03:50 +00:00
Amanda Butler
446c428645
Edit CellularContext.h
...
Edit file for complete sentences and correct commas.
2018-12-06 16:42:59 -06:00
Amanda Butler
411320ad8b
Edit CellularDevice.h
...
Edit file for complete sentences, consistent tense and correct commas.
2018-12-06 16:38:28 -06:00
Amanda Butler
aa4b5a5dc7
Edit PortingGuide.md
...
Edit file for active voice.
2018-12-06 13:24:10 -06:00
Amanda Butler
61c2599587
Edit CordioHCIDriver.h
...
Edit file for active voice.
2018-12-06 13:22:20 -06:00
Cruz Monrreal
78d6018ecc
Merge pull request #8745 from kfnta/feature-new-target-future-sequana-psa
...
Add new target future sequana PSA
2018-12-06 13:13:36 -06:00
paul-szczepanek-arm
df443c20ca
copy periodic payload
2018-12-06 17:54:13 +00:00
paul-szczepanek-arm
22a117a6e4
always set filter policy
2018-12-06 15:43:45 +00:00
paul-szczepanek-arm
5735456487
fix swapped errors
2018-12-06 15:05:35 +00:00
paul-szczepanek-arm
58c7c3868e
check return value of DmSyncStart
2018-12-06 15:04:23 +00:00
paul-szczepanek-arm
d372f16bc4
fix return value
2018-12-06 15:04:00 +00:00
Vincent Coubard
c83dccf65c
BLE: Set advertising random address when appropriate.
2018-12-06 11:25:50 +00:00
Vincent Coubard
0543442cc3
BLE: Fix conversion of advertising type
...
Previously, we were passing the event_properties as defined by the Bluetooth spec which is not what DmAdvConfig expect as the advertising type passed to DmAdvConfig is Cordio tailored (and incomplete).
2018-12-06 11:23:45 +00:00
Vincent Coubard
d9d4a214b8
BLE: Revert change in stack setup initialisation.
...
While good this change breaks some old application that were adding GATT services before the initialisation of BLE.
This patch revert temporarily this change for now
2018-12-06 11:21:43 +00:00
Vincent Coubard
e3d8b28483
Update features/FEATURE_BLE/targets/TARGET_CORDIO/driver/CordioHCIDriver.h
...
Fix doxygen as suggested by @pan-
Co-Authored-By: donatieng <donatien.garnier@arm.com>
2018-12-06 10:19:57 +00:00
Donatien Garnier
4485531173
Update Porting Guide with memory pool changes
2018-12-05 19:24:44 +00:00
Donatien Garnier
7e6efc2571
Cordio: Update CY8C63XX Driver to use default memory pool
2018-12-05 19:24:44 +00:00
Donatien Garnier
f9b236184a
Cordio: Update CYW4343X Driver to use default memory pool
2018-12-05 19:24:44 +00:00
Donatien Garnier
218bf3f80c
Cordio: Update ODIN-W2 Driver to use default memory pool
2018-12-05 19:24:44 +00:00
Donatien Garnier
2978cd8404
Cordio: Make allocating too much memory for pool a warning, not a fatal assert
2018-12-05 19:24:44 +00:00
Donatien Garnier
101c5697e5
Cordio Nordic LL: Readjust memory pool requirements for NRF52840
2018-12-05 19:24:44 +00:00
Donatien Garnier
c99f2497c3
Cordio Nordic LL: Optimize memory for smaller targets
2018-12-05 19:24:44 +00:00
Donatien Garnier
7a33feca23
Cordio: Split get_buffer_pool_description() in pure virtual + default implementation to avoid allocating two memory pools in a static fashion
2018-12-05 19:24:44 +00:00
Donatien Garnier
b83c4fde66
Cordio: Assert if memory pool is not exactly the right size
2018-12-05 19:24:44 +00:00
Oren Cohen
43468504cd
disable nvstore for sequana_psa
2018-12-05 20:00:07 +02:00
David Saada
e1bd5c9fac
Fix a few bugs in TDBStore and KV config
2018-12-05 17:02:02 +02:00
Kari Haapalehto
f7de4a4a0f
Initialize the interface at the construction and make sure
...
that it's done only once.
2018-12-05 14:44:27 +02:00
Martin Kojtal
415747d692
Merge pull request #8933 from yossi2le/yossi_kvstore_integration
...
Fixing Doxygen descriptions
2018-12-05 13:21:00 +01:00
Cruz Monrreal
49a5052d53
Merge pull request #8965 from KariHaapalehto/coverity_fix
...
Coverity fixes.
2018-12-04 17:01:25 -06:00
Amanda Butler
6201b8d32d
Edit TDBStore.h
...
Edit file for punctuation and consistent tense.
2018-12-04 16:27:35 -06:00
Amanda Butler
5c68c5226a
Edit SecureStore.h
...
Edit file for consistent tense.
2018-12-04 16:25:07 -06:00
Amanda Butler
66dc5a2eba
Add word to KVMap.h
...
Add missing article for clarity and capitalization.
2018-12-04 16:24:00 -06:00
Amanda Butler
77a931b579
Edit FileSystemStore.h
...
Make minor edits, mostly for consistent tense across documents.
2018-12-04 16:22:47 -06:00
Cruz Monrreal
53c03f9835
Merge pull request #8934 from yossi2le/yossi_kvstore_k64F_FileSystem
...
Setting K64F to use KVStore FileSystem configuration
2018-12-04 12:25:06 -06:00
Cruz Monrreal
3325070701
Merge pull request #8936 from RonEld/reduce_default_mpi_max_size
...
Reduce default MBEDTLS_MPI_MAX_SIZE
2018-12-04 12:22:15 -06:00
Cruz Monrreal
b3b050170e
Merge pull request #8879 from pan-/ble-extended-advertising-doc-fixes
...
Ble extended advertising doc fixes
2018-12-04 11:51:44 -06:00
Oren Cohen
f1d3eb9340
Add FUTURE_SEQUANA_PSA target
...
* Modify linker scripts to be compatible with bootloader and PSA
* Add memory protection
* Modify original post-build step to allow link with PSA binaries
* Config kvstore for ITS on FUTURE_SEQUANA_PSA
* Enable PSA-Crypto on PSoC6 with NVSeed
2018-12-04 18:38:50 +02:00
Martin Kojtal
e02a8ab2f1
Merge pull request #8925 from Patater/crypto-storage-config-fixes
...
Fix PSA storage typo
2018-12-04 14:34:15 +01:00
Martin Kojtal
403405c44c
Merge pull request #8953 from ARMmbed/yennster-patch-1
...
Update FEATURE_BLE README
2018-12-04 14:32:14 +01:00
Kari Haapalehto
6d8320fd8c
Coverity fixes.
...
These issues has been found by coverity.
2018-12-04 15:32:02 +02:00
Mel W
f92cc7b30b
Capitalization and punctuation
2018-12-04 12:34:48 +02:00
Martin Kojtal
c1c94c83c5
Merge pull request #8904 from pan-/ble-extended-advertising-fixes
...
Ble extended advertising fixes
2018-12-04 09:50:36 +01:00
Martin Kojtal
992bcbafdb
Merge pull request #8926 from Patater/mbedtls-2.15.1
...
mbedtls: Update Mbed TLS to 2.15.1
2018-12-04 09:32:30 +01:00
Cruz Monrreal
3d6dd46948
Merge pull request #8946 from juhoeskeli/STM32L4_aes_set_key_fix
...
STM32L4: before calling HAL_CRYP_DeInit initialize the Instance member
2018-12-03 21:13:29 -06:00
Cruz Monrreal
36bdf0f59d
Merge pull request #8951 from jeromecoutant/PR_NVSTORE
...
Remove NVSTORE enabled from NUCLEO_F410RB
2018-12-03 21:10:51 -06:00
Jenny Plunkett
fa191259b7
Update FEATURE_BLE README
...
Remove all outdated information including supported services and old documentation links
2018-12-03 13:09:01 -06:00
Vincent Coubard
472c57205b
BLE: Fix doxygen parameter declaration order.
2018-12-03 18:03:30 +00:00
Vincent Coubard
d1b0642ad2
BLE: rename AdvertisingReportEvent::getAdvertisingData into getPayload.
...
This change makes it consistent with PeriodicAdvertisingReportEvent.
2018-12-03 17:56:54 +00:00
Vincent Coubard
ed426c5b45
BLE: rename ConnectionParameters::getFilterPolicy into getFilter for consistency.
2018-12-03 17:11:28 +00:00
Vincent Coubard
5abf2f08fa
BLE: Reintroduce refactored type identifier in privacy configuration structures.
2018-12-03 17:04:38 +00:00
Ron Eldor
edc09cf087
Add comment for reasoning for changing default
...
Add a comment in the `adjust-config.sh` script, for effects
and benefits of the new value.
2018-12-03 18:59:25 +02:00
Ron Eldor
097996c25a
Reduce default MBEDTLS_MPI_MAX_SIZE
...
Reduce the default size of `MBEDTLS_MPI_MAX_SIZE` to 512 bytes,
as the default 1024 consumes much stack, and supporting RSA 4096 bit
may suffice at the moment.
2018-12-03 18:59:25 +02:00
Vincent Coubard
dc3ff6a5e0
BLE: Rename ConnectionParameters::setFilterPolicy into setFilter for consistency.
2018-12-03 16:56:20 +00:00
Vincent Coubard
e026bce881
BLE: Change parameter order of ble::Gap::startScan
2018-12-03 16:50:10 +00:00
jeromecoutant
b2cfef23bc
Remove NVSTORE enabled from NUCLEO_F410RB
2018-12-03 16:00:44 +01:00
Yossi Levy
d21bfbfdab
Setting K64F to use KVStore FileSystem configuration
2018-12-03 16:09:19 +02:00
Yossi Levy
cdcf14ef79
Fixing Doxygen descriptions
2018-12-03 16:08:07 +02:00
Juho Eskeli
361d804e2e
STM32L4: before calling HAL_CRYP_DeInit initialize the Instance member
2018-12-03 16:07:49 +02:00
Martin Kojtal
c59aa99861
Merge pull request #8882 from anttiylitokola/mbed-coap-4.7.3
...
Update mbed-coap to version 4.7.3
2018-12-03 13:44:20 +01:00
Martin Kojtal
ce11081db7
Merge pull request #8884 from pan-/fix-cordio-connection-iteration
...
BLE: Fix iteration on connections in CordioGattServer.
2018-12-03 13:40:23 +01:00
Martin Kojtal
bf36ff77c1
Merge pull request #8855 from michalpasztamobica/warnings_fix
...
Fix compilation warnings (apart from nanostack)
2018-12-03 13:31:55 +01:00
Martin Kojtal
c62f654da1
Merge pull request #8843 from miyuki/fix-cxx11
...
Fix C++11 build with Arm Compiler 6
2018-12-03 13:22:11 +01:00
Cruz Monrreal
92a0e48435
Merge pull request #8817 from KariHaapalehto/ethernet_cable_status_callback_correction
...
Correct network status callbacks with ethernet and nanostack
2018-11-30 17:55:15 -06:00
Cruz Monrreal
79da14d1f4
Merge pull request #8797 from RonEld/cryptocell_ecc_errors_alt_fixes
...
Fix issues in Cryptocell 310 cc_internal discovered by On Target Testing
2018-11-30 17:51:50 -06:00
Jaeden Amero
f9417ac12b
crypto: storage: Fix PSA_PS_ERROR_OFFSET typo
...
Correct typo of PSA_PS_ERROR_OFFSET to PSA_ITS_ERROR_OFFSET.
2018-11-30 15:36:22 +00:00
Jaeden Amero
74f93271ab
mbedtls: Update Mbed TLS to 2.15.1
2018-11-30 15:29:34 +00:00
Martin Kojtal
b9927e5f27
Merge pull request #8795 from TeemuKultala/cellular_connect_status_fix
...
cellular: registration status change fix
2018-11-30 14:32:34 +01:00
jeromecoutant
a8c87c0804
STM32F429/STM32F439 alignment
2018-11-30 09:20:29 +01:00
Paul Szczepanek
0c21112482
fix DM_CONN_ID_NONE loop condition
2018-11-30 08:16:17 +00:00
Vincent Coubard
8c4a1a7b7a
BLE: Improve scan response process explanation.
2018-11-29 13:52:04 +00:00
Vincent Coubard
da3720138e
BLE: Fix common/Duration.h doc.
2018-11-29 13:52:04 +00:00
Vincent Coubard
e8972a72a4
BLE: provide better default connection parameters.
2018-11-29 12:32:36 +00:00
Vincent Coubard
4ed3f5620f
BLE: Fix name of DisconnectionEvent into DisconnectionCompleteEvent for consistency.
2018-11-29 12:28:38 +00:00
Vincent Coubard
3ddcdf24a3
BLE: Fix ble::Gap::getMaxAdvertisingDataLength return type.
2018-11-29 12:26:40 +00:00
Vincent Coubard
402a4479d2
BLE: Ensure scan process is stopped before connecting.
2018-11-29 12:22:34 +00:00
Vincent Coubard
78468fb6e3
BLE: Use RANDOM address per default for Advertising, Scan and Connection parameter.
...
Unlike the public address, the RANDOM address is guaranteed to exist.
If privacy is enabled, it means the controller will generates random resolvable addresses or non resolvable addresses depending on the config.
If privacy is not enabled then the device will use the device's random static address that doesn't change between radio processes.
2018-11-29 12:18:11 +00:00
Vincent Coubard
e7ef0b764e
BLE: protect event signaling flag from concurent accesses.
2018-11-28 17:25:44 +00:00
Vincent Coubard
c23911e3d8
BLE: Fix extraction of advertising element type.
2018-11-28 17:15:54 +00:00
Ron Eldor
bcbda3e621
Return not supported for internal process function
...
Return the `MBEDTLS_ERR_PLATFORM_FEATURE_UNSUPPORTED` for the
internal process function, as it is not public.
2018-11-28 15:31:55 +02:00
Ron Eldor
7822fa8065
Style fixes
...
1. Change camelcase variables to Mbed OS style.
2. Remove functions declarations from the `_alt` header, since they
are now added from the module header regardless whether an alternative
implementation exists.
3. Remove the `extern "c"` declaration from the `_alt` headers.
4. Remove redundant extra lines.
2018-11-28 15:31:17 +02:00
Vincent Coubard
c99824892c
BLE: Reintroduce changes to address types lost.
2018-11-28 11:29:40 +00:00
Steve Cartmell
353e991410
doc(pan-cordio): Add toolchain version used to compile cordio-ll readme
2018-11-28 10:26:14 +00:00
Steve Cartmell
a3bae1c48d
doc(pan-cordio): Add readme and license documents for cordio link layer
2018-11-28 10:26:14 +00:00
Donatien Garnier
5a87cfa13d
Fix a few more rebasing issues
2018-11-28 10:26:14 +00:00
Donatien Garnier
89aabaec0d
Fix some rebasing quirks
2018-11-28 10:26:14 +00:00
Donatien Garnier
f9808140df
Add number of advertising sets
2018-11-28 10:26:14 +00:00
Donatien Garnier
3ce1d91d35
Amend Nordic HCI driver to support BLE5 features
2018-11-28 10:26:14 +00:00
Steve Cartmell
1b3efa4ccd
doc(pan-cordio): Add documentation to README on how to enable Cordio LL
2018-11-28 10:26:14 +00:00
Steve Cartmell
12fdab312e
feat(pan-cordio): Add nordic softdevice sources back into repository
2018-11-28 10:26:14 +00:00
Donatien Garnier
c68c150bf8
Fix buffer size for NRF Cordio HCI driver
2018-11-28 10:26:13 +00:00
Steve Cartmell
93bf68df0b
fix(pan-cordio): Remove erroneous files added after rebasing
2018-11-28 10:26:13 +00:00
Steve Cartmell
1e1486ed18
fix(pan-cordio): Replace the compiled uECC library with the sources
2018-11-28 10:19:08 +00:00
Donatien Garnier
01620b9ba2
Use uECC C99 implementation
2018-11-28 10:19:08 +00:00
Steve Cartmell
0f4ded19ac
feat(pan-cordio): Replace NRF51 softdevice BLE stack with cordio
2018-11-28 10:19:08 +00:00
Steve Cartmell
f583596fea
refactor(pan-cordio): Replace the uECC source with a precompiled library
2018-11-28 10:19:08 +00:00
Steve Cartmell
93267699b8
fix(pan-nordic): Fix memory allocation sizes to resolve NRF52832 issues
2018-11-28 10:19:08 +00:00
Steve Cartmell
815d0d5efc
feat(pan-cordio): Add cordio-ll libraries and NORDIC implementation
2018-11-28 10:19:08 +00:00
Steve Cartmell
ca2efcdd11
fix(pan-cordio): Reset timer after updating to reduce chance of overflow
2018-11-28 10:19:08 +00:00
Steve Cartmell
e5aa84308f
refactor(pan-cordio): Use Timer class instead of raw ticker for timing
2018-11-28 10:19:08 +00:00
Steve Cartmell
299ae1d9c6
fix(pan-cordio): Override WSF handler size in a platform specific manner
2018-11-28 10:19:08 +00:00
Steve Cartmell
5782e93a19
fix(pan-cordio): Wrap call to wsfOsReadyToSleep in a critical section
...
The function wsfOsReadyToSleep should only be called when interrupts are
disabled. Entering a critical section before calling the function fixes
any potential issues.
2018-11-28 10:19:08 +00:00
Steve Cartmell
f60c2c9aa8
fix(pan-cordio): Increase the maximum number of supported WSF handlers
...
NRF52480 fails to complete BLE initialisation due to attempting to set
more event handlers than are supported by the WSF library.
Increasing the number of handlers fixes this issue.
2018-11-28 10:19:08 +00:00
Steve Cartmell
065bad6fa6
fix(pan-cordio): Move stack BLE stack setup to later in initialisation
2018-11-28 10:19:08 +00:00
Martin Kojtal
e62abd8aee
Merge pull request #8804 from mohammad1603/inject_entropy_spm
...
PSA Crypto SPM
2018-11-28 09:40:31 +01:00
Martin Kojtal
4758ddd2c6
Merge pull request #8738 from pan-/ble-extended-advertising
...
Ble extended advertising
2018-11-28 09:39:13 +01:00
Vincent Coubard
d115e73e7e
BLE: Fix iteration on connections in CordioGattServer.
2018-11-27 16:01:56 +00:00
paul-szczepanek-arm
5302a7f599
consistent errors
2018-11-27 15:38:01 +00:00
Vincent Coubard
1a6246f130
BLE: Remove double handling of DM_CONN_OPEN_IND .
2018-11-27 15:30:56 +00:00
Vincent Coubard
daee12d623
BLE: Fix set check in GenerigGap::stopAdvertising.
2018-11-27 15:29:52 +00:00
Antti Yli-Tokola
fffbca64e0
Update mbed-coap to version 4.7.3
...
EMPTY response should not be stored to blockwise list.
An Empty message only contains the 4-byte header so it does not require any blockwise operations.
This will fix unneseccary message sending timeouts which leads mbed cloud client to do unnecessary
reconnections which increases the network traffic.
2018-11-27 16:47:17 +02:00
Netanel Gonen
f1c5aeb70e
add MBEDTLS_PSA_CRYPTO_C defined to K64F PSA target
2018-11-27 14:02:55 +02:00
Martin Kojtal
86915d9a7e
Merge pull request #8704 from RonEld/cryptocell_ccm_alt_fixes
...
Fix issues in Cryptocell 310 ccm_alt discovered by On Target Testing
2018-11-27 11:44:33 +01:00
Mohammad AboMokh
819594477c
Refactor trng_get_bytes()
2018-11-27 12:15:52 +02:00
Mohammad AboMokh
b9ea334f1f
Change __WEAK to MBED_WEAK
2018-11-27 12:15:26 +02:00
mohammad1603
4cef73d2eb
Update output_length in trng_get_bytes() provided by psa.
2018-11-27 11:56:58 +02:00
Danny Shavit
e72d910754
Add a weak implementation for trng_get_bytes()
2018-11-27 11:56:49 +02:00
Netanel Gonen
4816266205
add comment to explain why (-1 * rc) is returned
2018-11-27 11:56:44 +02:00
Netanel Gonen
ae0fa609a9
remove psa_its_get_info from seed read function
2018-11-27 11:56:42 +02:00
Mohammad AboMokh
0fde6af120
change MBEDTLS_RANDOM_SEED_ITS_UID define to be PSA_CRYPTO_ITS_RANDOM_SEED_UID
2018-11-27 11:56:36 +02:00
Mohammad AboMokh
7b2c924ac7
Adding defualt behaviour for platforms without TRNG.
...
If setting the MBEDTLS_PLATFORM_NV_SEED_ALT and MBEDTLS_ENTROPY_NV_SEED flags and not
setting MBEDTLS_PLATFORM_NV_SEED_WRITE_MACRO and MBEDTLS_PLATFORM_NV_SEED_READ_MACRO flags
mbed-os will add an entropy source to the relevent partition - SPE in case of daul core or
in case of single core V7 to the main partition.
The defualt behaviour will be to read or write the data from the ITS.
2018-11-27 11:56:31 +02:00
Vincent Coubard
6677fab856
BLE: Move source/Gap.cpp -> source/LegacyGap.cpp
2018-11-27 09:12:28 +00:00
Martin Kojtal
5e6dc940ba
Merge pull request #8821 from jarvte/add_rat_json
...
Cellular: add radio access technology as configurable in json
2018-11-27 09:23:57 +01:00
Martin Kojtal
436644b7bd
Merge pull request #7760 from ARMmbed/feature_namespace
...
Give an option to remove 'using namespace'
2018-11-27 09:04:58 +01:00
Martin Kojtal
2009f028b1
Merge pull request #8592 from deepikabhavnani/nw_stats_ver2
...
Network Socket Statistics
2018-11-27 09:03:49 +01:00
Teppo Järvelin
76672db5cc
Cellular: add Callback functionality to CellularDevice.
2018-11-27 08:05:41 +02:00
Teppo Järvelin
a3f1ad7b8b
Cellular: updated doxygen for CellularContext and CellularDevice.
2018-11-27 08:04:01 +02:00
Amanda Butler
bbb67a69c8
Edit Types.h
...
Edit file.
2018-11-26 19:35:43 -06:00
Amanda Butler
d00ad8bc96
Edit ScanParameters.h
...
Edit file, mostly to fix typos.
2018-11-26 19:18:24 -06:00
Amanda Butler
fa784c2aff
Edit URIBeaconCOnfigService.h
...
Edit file for active voice and comma use.
2018-11-26 19:15:31 -06:00
Amanda Butler
08ef3f7209
Edit iBeacon.h
...
Add commas between two independent clauses joined by a coordinating conjunction.
2018-11-26 19:14:14 -06:00
Amanda Butler
431402c14d
Edit Gap.h
...
Edit most of file, mostly for U.S. spelling and typos.
2018-11-26 19:08:41 -06:00
Amanda Butler
b4c34557d9
Edit Events.h
...
Edit file for person, capitalization and to fix typos.
2018-11-26 18:47:49 -06:00
Amanda Butler
2e02869173
Edit ConnectionParameters.h
...
Edit file, mostly for agreement.
2018-11-26 18:40:55 -06:00
Amanda Butler
c904ac898a
Edit AdvertisingParameters.h
...
Edit file, mostly for active voice and U.S. spelling.
2018-11-26 18:32:35 -06:00
Amanda Butler
31a73fc007
Edit AdvertisitngDataSimpleBuilder.h
...
Edit file, mostly for consistent tense and typos.
2018-11-26 18:17:22 -06:00
Donatien Garnier
5347a8ae4a
Update Duration.h in consistent casing
2018-11-27 00:16:33 +00:00
Amanda Butler
7df90ba3bc
Edit AdvertisingDataBuilder.h
...
Edit file, mostly to fix typos and standardize hyphen use.
2018-11-26 18:12:56 -06:00
Amanda Butler
451f9aad12
Edit Bounded.h
...
Edit file, mostly for consistent capitalization and active voice.
2018-11-26 18:01:30 -06:00