paul-szczepanek-arm
bd8b7fa87f
use set value on return
2018-11-26 10:24:31 +00:00
paul-szczepanek-arm
5e6c0c92f6
compilation errors
2018-11-26 10:24:31 +00:00
paul-szczepanek-arm
6fa7a8ffce
fix type
2018-11-26 10:24:31 +00:00
paul-szczepanek-arm
9529974572
type already defined in ble types
2018-11-26 10:24:31 +00:00
paul-szczepanek-arm
4fe7d5ed90
small cleanup
2018-11-26 10:24:31 +00:00
paul-szczepanek-arm
8801ef570a
fix types
2018-11-26 10:24:31 +00:00
paul-szczepanek-arm
b489e0957e
pal call
2018-11-26 10:24:31 +00:00
paul-szczepanek-arm
a2f461c38e
reference instead of pointer
2018-11-26 10:24:31 +00:00
paul-szczepanek-arm
32d3fa9aad
shorten min max
2018-11-26 10:24:31 +00:00
paul-szczepanek-arm
edb645b492
handle creating contiguous arrays for the pal call
2018-11-26 10:24:31 +00:00
paul-szczepanek-arm
713b5c7e10
add ability to disable phy
2018-11-26 10:24:31 +00:00
paul-szczepanek-arm
d00a92d10f
init param to false until user changes it
2018-11-26 10:24:31 +00:00
paul-szczepanek-arm
4c4743db7b
extended connection API
2018-11-26 10:24:31 +00:00
paul-szczepanek-arm
afadc1d8c0
convert to correct time units
2018-11-26 10:24:31 +00:00
Vincent Coubard
2f8e336635
BLE: tag missing documentation block.
2018-11-26 10:24:31 +00:00
Vincent Coubard
651bf321db
BLE: Use typedef in signature.
2018-11-26 10:24:31 +00:00
Vincent Coubard
5661bf6bbb
BLE: remove dead code.
2018-11-26 10:24:31 +00:00
Vincent Coubard
31e028f22f
BLE: fix integer overflow in setPeriodicAdvertisingParameters
2018-11-26 10:24:31 +00:00
Vincent Coubard
3eebcc49ad
BLE: Add more precondition check to GenericGap.
2018-11-26 10:24:31 +00:00
Vincent Coubard
d23bd2f268
BLE: Fix compilation error.
2018-11-26 10:24:31 +00:00
Vincent Coubard
297ad78452
BLE: check for periodic advertising enabled in GenericGap::destroyAdvertisingSet
2018-11-26 10:24:31 +00:00
Vincent Coubard
24e6b89ade
BLE: use uint32_t to describe ms interval in Gap::setPeriodicAdvertisingParameters
2018-11-26 10:24:31 +00:00
Vincent Coubard
01b0de2175
BLE: rename Gap:setPeriodicAdvertisingData into setPeriodicAdvertisingPayload.
2018-11-26 10:24:31 +00:00
Paul Szczepanek
eefdc638f7
BLE: fix condition in advertising set allocation.
...
Co-Authored-By: pan- <vincent.coubard@arm.com>
2018-11-26 10:24:31 +00:00
Vincent Coubard
b1c6914e34
BLE: Add periodic sync advertisement management.
2018-11-26 10:24:31 +00:00
Vincent Coubard
5236a70618
BLE: Add default minimiseFragmentationValue for Gap::setAdvertisingScanresponse.
2018-11-26 10:24:31 +00:00
Vincent Coubard
06b3ccd322
BLE: refactor parameters order of Gap::startAdvertising
2018-11-26 10:24:31 +00:00
Vincent Coubard
d6d1ea5c2a
BLE: rework GenericGap::stopAdvertising(AdvHandle)
2018-11-26 10:24:31 +00:00
Vincent Coubard
74356aa7f0
BLE: Rework GenericGap::startAdvertising
2018-11-26 10:24:31 +00:00
Vincent Coubard
b825ffc1f6
BLE: Handle setAdvertisingParameters on legacy controllers.
2018-11-26 10:24:31 +00:00
Vincent Coubard
d2773e9731
BLE: Reduce complexity of GenericGap::setAdvertisingData
2018-11-26 10:24:31 +00:00
Vincent Coubard
0d90671842
BLE: Fix release of advertising sets.
2018-11-26 10:24:31 +00:00
Vincent Coubard
413908d594
BLE: Renaming
...
GenericGap::is_extended_advertising_enabled become GenericGap::is_extended_advertising_available
2018-11-26 10:24:31 +00:00
Vincent Coubard
df5e01bf45
BLE: wrap bitstream manipulation into a BitArray class.
2018-11-26 10:24:31 +00:00
Vincent Coubard
2e8389d4fd
BLE: Create and destroy advertising sets in the controller.
2018-11-26 10:24:31 +00:00
Vincent Coubard
ed012adab3
BLE: Fix create and destroy advertising set.
2018-11-26 10:24:31 +00:00
Vincent Coubard
7882bb3016
BLE: Fix bit access to mapped advertising set.
2018-11-26 10:24:31 +00:00
Vincent Coubard
f6ceafa3e9
BLE: use helper function where appropriate.
2018-11-26 10:24:31 +00:00
Vincent Coubard
d63c7bc948
BLE: use std::min where appropriate.
2018-11-26 10:24:31 +00:00
Vincent Coubard
a628eba212
BLE: cosmetic fixes.
2018-11-26 10:24:31 +00:00
Vincent Coubard
ad3f3c86a5
BLE: Move implementation to cpp file.
2018-11-26 10:24:31 +00:00
Vincent Coubard
87014b71b6
BLE: reorder declaration.
2018-11-26 10:24:31 +00:00
Vincent Coubard
6a55d65660
BLE: Create advertising payload builder.
...
This change set use a data buffer to set data and scan responses.
2018-11-26 10:24:31 +00:00
Vincent Coubard
e24fcdd12a
BLE: move extended advertising parameter in ble/gap folder
2018-11-26 10:24:31 +00:00
Vincent Coubard
7f9be995a2
BLE: Revert GapAdvertisingdata and create new type for extened Advertising data.
2018-11-26 10:24:31 +00:00
Vincent Coubard
e4c27e5071
BLE: Introduce new type for extended advertising parameters.
2018-11-26 10:24:31 +00:00
Vincent Coubard
2c7cf2bbd9
BLE: revert GapScanningParams
2018-11-26 10:24:31 +00:00
Vincent Coubard
61536c3f64
BLE: revert non backward compatible changes.
...
This changeset includes order of function declaration in headers.
2018-11-26 10:24:31 +00:00
Vincent Coubard
dc07e44290
BLE: makes GenericGap::stopGap aware of extended scan.
2018-11-26 10:24:31 +00:00
Vincent Coubard
24460de86f
BLE: Implement new scan API in GenericGap
2018-11-26 10:24:30 +00:00
Vincent Coubard
4835a1afdc
BLE: Add non legacy scan API.
2018-11-26 10:24:30 +00:00
Vincent Coubard
28ead51401
BLE: Add GapScanParameters type.
...
The new type covers what is required by extended and legacy scan parameters.
2018-11-26 10:24:30 +00:00
Vincent Coubard
27ea248863
BLE: Fix GapScanningParams includes.
2018-11-26 10:24:30 +00:00
Vincent Coubard
1a14453da1
BLE: Add mechanism to track use of non compatible scan API.
2018-11-26 10:24:30 +00:00
Vincent Coubard
962b5c34d4
BLE: Tag scanning filter policy mode with FIXME
2018-11-26 10:21:32 +00:00
paul-szczepanek-arm
2b00903a30
missing param
2018-11-26 10:21:32 +00:00
paul-szczepanek-arm
a1582bd3ac
pointer to ref
2018-11-26 10:21:32 +00:00
paul-szczepanek-arm
6663171607
docs
2018-11-26 10:21:32 +00:00
paul-szczepanek-arm
2f6d861818
fix packetisation in adv set data
2018-11-26 10:21:32 +00:00
paul-szczepanek-arm
23dc808968
handle legacy adv calls
2018-11-26 10:21:32 +00:00
paul-szczepanek-arm
587eb9845e
call the right func for set scan response
2018-11-26 10:21:32 +00:00
paul-szczepanek-arm
b276e6edaf
fix high duty cycle setting (reversed)
2018-11-26 10:21:32 +00:00
paul-szczepanek-arm
238f15b031
doc fixes
2018-11-26 10:21:32 +00:00
paul-szczepanek-arm
ca72f5a289
merged adv param types
2018-11-26 10:21:32 +00:00
paul-szczepanek-arm
8c253a3dfe
proposed scan type changes
2018-11-26 10:21:32 +00:00
paul-szczepanek-arm
60fb78795b
fix adv and scan types
2018-11-26 10:21:32 +00:00
paul-szczepanek-arm
5d077e6dbc
new addr types for ext adv
2018-11-26 10:21:32 +00:00
paul-szczepanek-arm
c58099f0ee
new scan call
2018-11-26 10:21:32 +00:00
Vincent Coubard
75c0b0ed90
BLE: Fix advertising_channel_map_t constructor.
2018-11-26 10:21:32 +00:00
Vincent Coubard
0c1e01952b
Compilation fixes
2018-11-26 10:21:32 +00:00
Vincent Coubard
fb804bf85a
BLE: Fix GapExtendedAdvertisingParams visibility and constness.
2018-11-26 10:21:32 +00:00
Vincent Coubard
e951fa15ff
BLE: Fix GapExtendedAdvertisingParams::getPeerAddress return type.
2018-11-26 10:21:32 +00:00
Vincent Coubard
426de4a2d9
BLE: Fix GapAdvertisingData copy constructor.
2018-11-26 10:21:32 +00:00
Vincent Coubard
2f53ee896c
BLE: Add setters to advertising_event_t and use it in GapExtendedAdvertisingParams.
2018-11-26 10:21:32 +00:00
Vincent Coubard
d1e3800e79
BLE: Refactor AdvReportOptionalInformation and onAdvertisingReport
2018-11-26 10:21:32 +00:00
Vincent Coubard
5e707731f2
BLE: Wrap advertising data in a span.
2018-11-26 10:21:32 +00:00
Vincent Coubard
dee48e71e3
BLE: Typedef ble::advertising_event_t into Gap::AdvertisingEventType_t
2018-11-26 10:21:32 +00:00
Vincent Coubard
f930905947
BLE: Regactor Gap::EventHandler::onScanRequest signature.
2018-11-26 10:21:32 +00:00
Vincent Coubard
14b24d324c
BLE: Move advertising_handle_t into ble namespace.
2018-11-26 10:21:32 +00:00
Vincent Coubard
f83f32948a
BLE: Fix typo in arguments name.
2018-11-26 10:21:32 +00:00
Vincent Coubard
44d8545dc8
BLE: Add ANONYMOUS in peer_advertising_type_t
2018-11-26 10:21:32 +00:00
Vincent Coubard
e58928def1
Move advertising event and advertising event data status to ble.
2018-11-26 10:21:32 +00:00
paul-szczepanek-arm
78a4bdda8a
type translation
2018-11-26 10:21:32 +00:00
paul-szczepanek-arm
8794c0b43b
make packetisation common
2018-11-26 10:21:32 +00:00
paul-szczepanek-arm
87482b5530
compilation errors fixed
2018-11-26 10:21:32 +00:00
paul-szczepanek-arm
a5e1bdb97e
missing parens
2018-11-26 10:21:32 +00:00
paul-szczepanek-arm
060d2f5216
advertising data only contains advertising data
2018-11-26 10:21:32 +00:00
paul-szczepanek-arm
52f54c032a
compiilation errors
2018-11-26 10:21:32 +00:00
paul-szczepanek-arm
4a86b3dd10
typo in var name
2018-11-26 10:21:31 +00:00
paul-szczepanek-arm
019b0c2146
added constructor to use with deprecated data
2018-11-26 10:21:31 +00:00
paul-szczepanek-arm
93b0b9f6e2
fix getting value instead of address
2018-11-26 10:21:31 +00:00
paul-szczepanek-arm
944d867c79
fix comments and missing comma in constructor
2018-11-26 10:21:31 +00:00
paul-szczepanek-arm
9d83a8e134
non braking Advertising data deprecation
2018-11-26 10:21:31 +00:00
paul-szczepanek-arm
26f40e07f7
packetisation
2018-11-26 10:21:31 +00:00
paul-szczepanek-arm
834e6c4f9b
Update mbed-os/features/FEATURE_BLE/ble/GapAdvertisingData.h
2018-11-26 10:21:31 +00:00
paul-szczepanek-arm
56146a44fb
legacy support
2018-11-26 10:21:31 +00:00
Vincent Coubard
7de5d8c763
Merge pull request #4 from pan-/extended
...
Last bit of PAL extended advertising implementation.
2018-11-26 10:21:31 +00:00
paul-szczepanek-arm
5efac211be
sid
2018-11-26 10:21:31 +00:00
paul-szczepanek-arm
25997d96b9
chek for features
2018-11-26 10:21:31 +00:00
paul-szczepanek-arm
6ca5041f53
generic advertising
2018-11-26 10:21:31 +00:00
paul-szczepanek-arm
f35ebcc900
simplify params to avoid holding state
2018-11-26 10:21:31 +00:00
Vincent Coubard
b9d7e63911
BLE: Implement Advertising extension and Periodic Advertising on Cordio (WIP)
2018-11-26 10:21:31 +00:00
Vincent Coubard
8fa62ec719
BLE: Add count function to phy_set_t
2018-11-26 10:21:31 +00:00
Vincent Coubard
ca68323930
Add explicit cast to bool.
2018-11-26 10:21:31 +00:00
Vincent Coubard
7d9c3d1432
Improve advertising_event_properties_t constructor.
2018-11-26 10:21:31 +00:00
Vincent Coubard
d836841e0f
Add missing pure qualifier to PAL GAP APIs.
2018-11-26 10:21:31 +00:00
Vincent Coubard
74cf305452
Add PAL declaration for extended and periodic advertising
2018-11-26 10:21:31 +00:00
paul-szczepanek-arm
ff68c94ec2
update state on disconnect fix
2018-11-26 10:21:31 +00:00
paul-szczepanek-arm
1f2ee0d873
missing include
2018-11-26 10:21:31 +00:00
paul-szczepanek-arm
6932789453
extended advertising scanning and connecting API
2018-11-26 10:21:31 +00:00
Martin Kojtal
0cc134586c
Merge pull request #8851 from KariHaapalehto/disconnect_error_code_change
...
Change error code from NSAPI_ERROR_PARAMETER to NSAPI_ERROR_NO_CONNEC…
2018-11-26 11:03:51 +01:00
Martin Kojtal
7a77e66472
Merge pull request #8643 from RonEld/feature_unsupported_error_support
...
Modify HW accelerator drivers to new error code
2018-11-26 10:59:14 +01:00
Martin Kojtal
aae6bb125a
Merge pull request #8836 from SeppoTakalo/clarify_connect_docs
...
Clarify asynchronous NetworkInterface::connect() documentation
2018-11-25 11:27:16 +01:00
Martin Kojtal
7fd4692b32
Merge pull request #8862 from 0xc0170/dev_rollup
...
Rollup 5.11rc v3
2018-11-25 11:25:54 +01:00
Nir Sonnenschein
0283bb84e4
Merge pull request #8667 from davidsaada/kvstore_integration
...
KVStore & derived classes: design docs, implementation & configuration
2018-11-25 07:30:53 +02:00
Martin Kojtal
5ad7c3ee6e
Merge branch 'gracefully_disconnect' of https://github.com/jarvte/mbed-os into dev_rollup
2018-11-24 21:15:38 +00:00
Martin Kojtal
ab7d2ddf1e
Merge branch 'fix_bc95_todo' of https://github.com/jarvte/mbed-os into dev_rollup
2018-11-24 20:50:16 +00:00
Martin Kojtal
b16569dc3f
Merge pull request #8838 from 0xc0170/dev_rollup
...
Rollup v2 for 5.11rc1
2018-11-24 21:37:02 +01:00
Martin Kojtal
860e4befd6
Merge pull request #8859 from Patater/dev/Patater/import-mbed-tls-and-crypto
...
Import Mbed TLS v2.15.0 with Mbed Crypto
2018-11-24 21:35:19 +01:00
Martin Kojtal
5086c3d280
Merge pull request #8814 from jarvte/unify_cellular_return
...
Cellular: unified return value comments on API folder.
2018-11-24 17:08:58 +01:00
David Saada
e073fb69b2
Change Device key to work with KVStore
2018-11-24 17:43:42 +02:00
David Saada
e9c25e23a5
KVStore & derived classes: design docs, implementation & configuration
...
Implement the following:
KVStore base class
TDBStore class
FileSystemStore class
SecureStore class
Global APIs
Configuration framework
Design documentation
2018-11-24 17:43:35 +02:00
Martin Kojtal
cb6f5d65e7
Merge pull request #8766 from jarvte/fix_cellular_backward_com
...
Fix cellular backward compatibility
2018-11-24 08:05:56 +01:00
Jaeden Amero
3900b81d02
Update Mbed TLS to mbedtls-2.15.0
2018-11-23 22:54:09 +00:00
Hanno Becker
70f9497918
Mbed TLS importer: Call `config.pl --force` to accept unknown option
...
The new PSA-aware Mbed TLS importer script calls `config.pl` on the
Mbed TLS config.h to set the PSA configuration option
MBEDTLS_PSA_CRYPTO_STORAGE_C which isn't documented in config.h.
config.pl therefore fails, and so does the importer.
This commit fixes this by calling `config.pl` with the `--force`
option which amends the given `config.h` by a `#define` for the
requested option if the option isn't present in the file.
2018-11-23 22:54:07 +00:00
Mohammad AboMokh
1f4584fc70
Add mbed_lib.json for Mbed Crypto
2018-11-23 22:54:05 +00:00
itayzafrir
b85db484b0
Update adjust-config.sh to enable persistent keys
...
In adjust-config.h, set and unset Mbed Crypto storage configuration options
in order to use persistent keys with PSA ITS storage.
2018-11-23 22:54:04 +00:00
Mohammad AboMokh
15945687bc
Record Mbed Crypto version
...
Record the version of Mbed Crypto into VERSION.txt for easy reference.
2018-11-23 22:54:03 +00:00
Mohammad AboMokh
7ba359a4a6
Update mbedtls importer to import mbed-crypto
2018-11-23 22:54:01 +00:00
Martin Kojtal
0f14f4bf39
Merge branch 'update_coap_to_4.7.2' of https://github.com/anttiylitokola/mbed-os-1 into dev_rollup
2018-11-23 18:40:24 +00:00
Martin Kojtal
b9ea30abf1
Merge branch 'socket_open_deprecated' of https://github.com/michalpasztamobica/mbed-os into dev_rollup
2018-11-23 18:38:02 +00:00
Martin Kojtal
61c7947b47
Merge branch 'cell-trace' of https://github.com/AriParkkila/mbed-os into dev_rollup
2018-11-23 18:37:40 +00:00
Martin Kojtal
b75aae66f4
Merge branch 'block_device_general_tests' of https://github.com/theamirocohen/mbed-os into dev_rollup
2018-11-23 18:37:13 +00:00
Martin Kojtal
95b1e75202
Merge branch 'dtls' of https://github.com/SeppoTakalo/mbed-os into dev_rollup
2018-11-23 18:36:55 +00:00
Kari Haapalehto
d828d2d279
Change error code from NSAPI_ERROR_PARAMETER to NSAPI_ERROR_NO_CONNECTION
...
in a case were there wasn't connection.
2018-11-23 11:54:34 +02:00
Teppo Järvelin
9095635c8f
Cellular: Fixed bc95 to accept only RAT_NB1 as it's only valid rat that modem supports.
2018-11-23 07:52:22 +02:00
Martin Kojtal
78bd53121a
Merge pull request #8291 from theotherjimmy/fix-ff-lpc546xx
...
*LPC546XX: Finish MCU Refactoring
2018-11-22 17:31:18 +01:00
Antti Yli-Tokola
8d341ae0d4
Update mbed-coap to version 4.7.2
...
- Fix handling of duplicate blockwise ACK's
CoAP data buffer was not added into duplication info store when creating response for blockwise request.
This leads to case where whole bootstrap flow just timeouts if received any duplicate messages during blockwise operation.
Fixes error: IOTCLT-3188 - UDP connection fails for lost ACK sending
- Remove error trace when building reset message without options
This makes it possible to build the reset message without allocating option or getting error message.
2018-11-22 14:48:33 +02:00
Seppo Takalo
1b80f6ba5e
Clarify asynchronous NetworkInterface::connect() documentation
2018-11-22 12:52:28 +02:00
Martin Kojtal
f1f64266c0
Merge pull request #8600 from KariHaapalehto/wisuninterface_created
...
Wi-SUN interface implementation.
2018-11-22 10:55:58 +01:00
Seppo Takalo
5459a7b5c9
Add license headers into TLSSocket files
2018-11-20 11:47:29 +02:00
Seppo Takalo
0f5cec3ebc
Include TLSSocket and DTLSSocket in Doxygen
2018-11-20 11:47:28 +02:00
Teppo Järvelin
c6205628d6
Cellular: unified return value comments on API folder.
2018-11-20 07:47:01 +02:00
Jimmy Brisson
f41b78c6b8
Move EMAC implementation to shared target
2018-11-19 09:37:17 -06:00
Teppo Järvelin
a655a538b0
Cellular: more gracefully disconnect.
2018-11-19 16:02:30 +02:00
Seppo Takalo
bdc355f873
Astyle fixes
2018-11-19 15:31:31 +02:00
Seppo Takalo
5d170f2b3e
Clarify that TLSSocket should not be reopened.
2018-11-19 15:19:50 +02:00
Seppo Takalo
6192ed1480
Compare the intermediate timestamps as well
2018-11-19 15:19:50 +02:00
Seppo Takalo
2229a2f2f5
Need to protect members with MBEDTLS_PK_C and X509_CRT_PARSE flags.
...
This is dependency to X509_CRT_PARSE but just to make sure
that also the 'mbedtls_pk_context' structure is not used if that
flag is not enabled.
2018-11-19 15:19:49 +02:00
Seppo Takalo
46c46019bc
Refactor DTLSSocket to use Socket::getpeername()
...
Also, let DTLSSocket to be a friend of InternetSocket so it can do
the name resolution from its _stack.
+ Some whitespace fixes
2018-11-19 15:19:49 +02:00
Seppo Takalo
695db63df8
Decrease verbosity of the TLSSocketWrapper
2018-11-19 15:19:49 +02:00
Michal Paszta
392bccf835
Add unit tests for TLSSocket and TLSSocketWrapper
...
This also includes their Datagram counterparts: DTLSSocket and DTLSSocketWrapper.
Coverage missing for timer-related functionality, but this would require more advanced stub development.
The extra (d)tls_test_config.h is necessary for successful compilation without HW support for the mbedtls features in unittests.
I reused the mbedtls stub found in features/nanostack/coap-service/test/coap-service/unittest/stub/mbedtls_stub.c and amended it slightly with a few missing functions.
2018-11-19 15:19:49 +02:00
Seppo Takalo
2ca1fe65dd
Implement DTLSSocket helper
...
This is equivalent of TLSSocket class but for UDP and DTLS.
2018-11-19 15:19:49 +02:00
Seppo Takalo
d22adbdb26
Implement DTLSSocketWrapper and fix non-blocking connections on TLSSocket
...
DTLSSocketWrapper is equivalent of TLSSocketWrapper but uses datagram mode
and timers for handling Mbed TLS timeouts.
Non-blocking connections were not working earlier, now fixed for both
secure socket modes.
2018-11-19 15:19:49 +02:00
Amir Cohen
cf846151eb
Add block device small data size test
2018-11-19 14:49:28 +02:00
Martin Kojtal
31475455ea
Merge pull request #8751 from jarvte/ctx_unittests
...
Cellular: minor fix to CellularDevice and adding updating unit tests after refactoring
2018-11-19 11:54:56 +00:00
Michal Paszta
42940fab3c
Deprecate TCP/UDPSocket open-calling constructors
...
Updated Doxygen, removed the only one call of the deprecated constructor from the tests.
2018-11-19 12:19:52 +01:00
Ari Parkkila
9bdeb68e74
Cellular: Updated debug prints, and network registration return value
...
Updated cellular debug trace prints:
- Removed unnecessary prints.
- Tracing more in DEBUG level.
- Read/write bytes not printed on big packets.
- Signal quality (RSSI) traced to log network problems.
- Dismissed AT data is traced.
- Modem type and firmware version are traced.
Network registration returns NotRegistered instead of StatusNotAvailable,
because that's not in 3GPP TS 27.007.
2018-11-19 02:55:43 -08:00
Teppo Järvelin
a3589ed41f
Fixed cellular backward compatiblity.
2018-11-19 09:04:22 +02:00
Teppo Järvelin
e5c3024849
Cellular: adding unit tests for new class CellularContext and changed classes.
2018-11-16 13:14:38 +02:00
Qinghao Shi
d157e59267
reformat to following codeing style rules
2018-11-16 10:29:31 +00:00
Qinghao Shi
25e8f89567
update wait_ms() to sleep_for()
2018-11-16 10:29:31 +00:00
Qinghao Shi
78b186ec56
Update code according to the reviews
...
* move emac driver to COMPONENT folder
* use mbed rtos C++ API instead of CMSIS API
2018-11-16 10:29:31 +00:00
Qinghao Shi
1a25051f91
override default mem-size in lwIP stack config
2018-11-16 10:27:15 +00:00
Qinghao Shi
e603f1ad49
add FVP EMAC driver
2018-11-16 10:22:42 +00:00
Cruz Monrreal II
b327b12c75
Merge branch 'david_unity_error_code' of ssh://github.com/davidsaada/mbed-os into rollup-b.1
2018-11-15 18:26:14 -06:00
Cruz Monrreal II
49b940c9a7
Merge branch 'prepare_for_mbedos511' of ssh://github.com/artokin/mbed-os into rollup-b.1
2018-11-15 18:26:12 -06:00
Cruz Monrreal II
0e4f843022
Merge branch 'david_buffered_bd_perf' of ssh://github.com/davidsaada/mbed-os into rollup-b.1
2018-11-15 18:26:11 -06:00
Cruz Monrreal II
5c1c7bf71f
Merge branch 'fix_astyle_error' of ssh://github.com/0xc0170/mbed-os into rollup-b.1
2018-11-15 18:26:09 -06:00
Cruz Monrreal II
8cbd310858
Merge branch 'Lora_compliance' of ssh://github.com/AnttiKauppila/mbed-os into rollup-b.1
2018-11-15 18:26:06 -06:00
Cruz Monrreal
fa2077df41
Merge pull request #8685 from bridadan/clean_up_deprecated_feature_code
...
Clean up deprecated feature code
2018-11-15 17:05:22 -06:00
Martin Kojtal
48569e1cf7
Merge branch 'master' of https://github.com/ConradBraam/mbed-os into dev_rollup
2018-11-15 14:04:41 +00:00
Martin Kojtal
9a252cd218
Merge branch 'feature-emac-mxrt1050' of https://github.com/NXPmicro/mbed into dev_rollup
2018-11-15 13:58:27 +00:00
Martin Kojtal
91e1da1f8c
cellular: fix test coding style
2018-11-15 10:47:11 +00:00
Martin Kojtal
f91eed97da
cellular: fix onboard cellular coding style
2018-11-15 10:47:08 +00:00
David Saada
3995779806
Add a Unity macro to assert on platform error code difference
2018-11-15 12:14:44 +02:00
David Saada
50836e76a1
Improve the efficiency of BufferedBlockDevice
2018-11-15 11:52:22 +02:00
Martin Kojtal
a2ae34b0e6
cellular: fix coding style
2018-11-15 07:23:37 +00:00
Martin Kojtal
3f9d1a9271
nanostack eventloop: fix coding style
2018-11-15 07:20:13 +00:00
Martin Kojtal
eec4e1329a
nanostack interface: fix coding style
2018-11-15 07:20:12 +00:00
Martin Kojtal
29a1149bd6
nanostakc cmsis rtos: fix coding style
2018-11-15 07:20:12 +00:00
Martin Kojtal
3aab38140a
nanostack mesh: fix coding style
2018-11-15 07:20:12 +00:00
Martin Kojtal
a4500e86f5
blockdevice test: fix coding style
2018-11-15 07:20:09 +00:00
Anna Bridge
4d07bcbd6e
Merge pull request #8579 from jarvte/cellular_context
...
Major refactoring: changing Network inheritance from CellularNetwork to new class CellularContext
2018-11-14 14:37:19 +00:00
Mahesh Mahadevan
12c6b1bd88
MIMXRT1050EVK: Add ENET support
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-11-14 07:13:07 -06:00
Conrad Braam
ef81f4b5a3
Merge pull request #2 from ARMmbed/master
...
catch up from armmbed
2018-11-14 12:25:12 +00:00
Antti Kauppila
cf53494f2e
Compliance test errors fixed
2018-11-14 09:46:38 +02:00
Cruz Monrreal II
4a5ba7f156
Merge branch 'getpeername' of ssh://github.com/SeppoTakalo/mbed-os into rollup
2018-11-13 17:26:49 -06:00
Teppo Järvelin
88213d3e03
Cellular: astyle fixes after introducing CellularContext class and major refactor.
2018-11-13 18:50:35 +02:00
Teppo Järvelin
14f3740c13
Cellular: fixed cellular greentea tests after major refactoring.
2018-11-13 18:33:55 +02:00
Seppo Takalo
619bcb5b4e
Implement Socket::getpeername() API
...
This is equivalent of POSIX getpeername() function. It allows to
get remote address associated with the socket.
For example:
socket *s = server.accept();
SocketAddress remote;
s->getpeername(&remote);
2018-11-13 11:02:51 +02:00
Conrad Braam
6a59fa1e62
State machine step for Erase command
2018-11-12 16:13:21 +00:00
Kevin Bracey
913103c34d
TLSSocketWrapper: decouple error requirements
...
* Don't pull in mbedtls_strerror() if trace is not enabled.
* Output error trace even if mbedtls_strerror() is not available.
2018-11-12 13:12:34 +02:00
Teppo Järvelin
3f6e088782
Cellular: Fixed backward compatibility with OnBoardCellularInterface and set default values in NetworkInterfaceDefaults.cpp.
2018-11-11 14:13:05 +02:00
Teppo Järvelin
1a047efade
Cellular: review fixes, added missing fixes from master.
2018-11-11 14:13:05 +02:00
Teppo Järvelin
467ae09bef
Cellular: Updated target SARA4_PPP to use new CellularContext class.
2018-11-11 14:13:05 +02:00
Teppo Järvelin
9fb83024ea
Changed CellularContext to inherit from CellularBase instead of NetworkInterface. \n Changed Device constructor to take Filehandle instead of eventqueue.
2018-11-11 14:13:05 +02:00
Teppo Järvelin
dbbe2ddc59
Cellular: fixed to compile even if CELLULAR_DEVICE and rx/tx are not defined.
2018-11-11 14:13:05 +02:00
Teppo Järvelin
d1ff9ed68d
Cellular: added to reset state machine is we get disconnected so application can try again.
2018-11-11 14:13:05 +02:00
Teppo Järvelin
609b0f71be
Cellular: minor doxygen fixes.
2018-11-11 14:13:05 +02:00
Teppo Järvelin
8385b19e5e
Cellular: Deleted unused class CellularConnectionFSM. Application should use CellularContext class instead.
2018-11-11 14:13:05 +02:00
Teppo Järvelin
43e08a0adf
Cellular: fixing unit test after refactor.
2018-11-11 14:12:49 +02:00
Teppo Järvelin
ad2abbe887
Cellular: major refactoring while introducing new CellularContext class.
2018-11-11 14:12:49 +02:00
Teppo Järvelin
8880538eba
Cellular: Introduced new state machine to replace old CellularConnectionFSM
...
CellularDevice class own new state machine. Now we don't have to expose state machine
which may change and so we don't have to make API changes if that happens.
EasyCellularConnection uses now CellularDevice instead of old state machine.
2018-11-11 14:11:21 +02:00
Ron Eldor
9f4e752ef3
Modify HW accelerator drivers to new error code
...
Have the HW accelearation drivers return the platform module
errors about feature unsupported, and hw acceleration failure,
because the moduel specific errors will be removed.
2018-11-11 09:59:18 +02:00
Arto Kinnunen
d879422f5e
Merge commit '77818568c6d9389ef1eb82e40ebfbbf26626c9d3' into mbedos511
...
* commit '77818568c6d9389ef1eb82e40ebfbbf26626c9d3':
Squashed 'features/nanostack/sal-stack-nanostack/' changes from ccd30a3..513a38e
2018-11-10 20:16:03 +02:00
Arto Kinnunen
923ce138f5
Merge commit '661681f65c3fb61aec2e4605bef0fc075cc8cb0d' into mbedos511
...
* commit '661681f65c3fb61aec2e4605bef0fc075cc8cb0d':
Squashed 'features/frameworks/nanostack-libservice/' changes from bb56e37..1d4c358
2018-11-10 20:14:25 +02:00
Cruz Monrreal
9d95d46d6c
Merge pull request #8591 from 0xc0170/fix_coding_style_features
...
features: fix coding style
2018-11-09 09:40:56 -06:00
Arto Kinnunen
e1ef0e4347
Merge commit 'e6a851f0a7310462f5f65e9f7955f9fdc71b84f0' into mbedos511
...
* commit 'e6a851f0a7310462f5f65e9f7955f9fdc71b84f0':
Squashed 'features/nanostack/coap-service/' changes from bc331ca..c45afcd
2018-11-09 16:40:43 +02:00
Arto Kinnunen
9a13e9d5e8
Merge commit '1374a5e5e6775dd6db9533075f25b3112c984b22' into mbedos511
...
* commit '1374a5e5e6775dd6db9533075f25b3112c984b22':
Squashed 'features/frameworks/mbed-trace/' changes from 9eaf0d1..7a1bd34
2018-11-09 15:59:35 +02:00
Arto Kinnunen
ce2ecd5e5b
Merge commit '5d162a08ffd383c97b49e35f3065fcd4638ac87c' as 'features/frameworks/mbed-client-randlib'
2018-11-09 15:52:44 +02:00
Arto Kinnunen
72fc5faab0
Remove mbed-client-randlib
...
Remove mbed-client-randlib and add it later as git subtree
2018-11-09 15:48:41 +02:00
Arto Kinnunen
9e661a9846
Merge commit '623607c9da4ccd5cc1d3d75ff185b3f8d29a473b' as 'features/nanostack/sal-stack-nanostack-eventloop'
2018-11-09 15:31:56 +02:00
Arto Kinnunen
2457efc20a
Remove sal-stack-nanostack-eventloop
2018-11-09 15:29:30 +02:00
Brian Daniels
da6ce029ea
Removing cellular references to COMMON_PAL
2018-11-08 16:55:59 -06:00
Cruz Monrreal II
6ebc5be0f0
Merge branch 'cellular_fsm' of ssh://github.com/marcemmers/mbed-os into rollup
2018-11-08 13:24:20 -06:00
Cruz Monrreal II
e40c357cb2
Merge branch 'internetsocket' of ssh://github.com/marcemmers/mbed-os into rollup
2018-11-08 13:24:14 -06:00
Cruz Monrreal II
60ad33b180
Merge branch 'mbed_client_cli_sync_v040' of ssh://github.com/artokin/mbed-os into rollup
2018-11-08 13:24:08 -06:00
Cruz Monrreal
dee3506fe4
Merge pull request #8676 from 0xc0170/dev_rollup
...
Rollup PR
2018-11-08 17:58:34 -06:00
Martin Kojtal
14eadfac44
Merge pull request #8653 from u-blox/r410m_sdcard
...
mbed_lib.json updated for other all C030 targets and code corrected t…
2018-11-08 14:54:58 +01:00
Kari Haapalehto
6163e6f425
Review changes corrected
2018-11-08 14:50:54 +02:00
Arto Kinnunen
2d10cebd00
Sync mbed-client-cli files with v0.4.0
...
Sync mbed-client-cli with master repo v0.4.0.
2018-11-08 13:21:56 +02:00
Martin Kojtal
0217f69511
Merge branch 'cm3ds_emac' of git://github.com/kapi90/mbed-os into dev_rollup
2018-11-08 09:21:38 +00:00
Martin Kojtal
20646d3da1
littlefs: fix coding style
2018-11-08 08:54:43 +00:00
Martin Kojtal
63160d8c5b
netsocket: fix astyle coding style
2018-11-08 08:54:17 +00:00
Martin Kojtal
884a7748b2
lorawan: fix astyle coding style
2018-11-07 08:56:36 +00:00
Martin Kojtal
7bd258154d
feature deprecated: fix astyle coding style
2018-11-07 08:56:35 +00:00
Martin Kojtal
41c1901318
lwipstack: fix astyle coding style
2018-11-07 08:56:35 +00:00
Martin Kojtal
e54ce88bca
storage: fix astyle coding style
2018-11-07 08:56:35 +00:00
Martin Kojtal
5c79ba5189
lorawan: fix coding style
2018-11-07 08:56:32 +00:00
Martin Kojtal
bfb8b723c3
device key: fix coding style
2018-11-07 08:56:32 +00:00
Martin Kojtal
71d35749f9
cellular: fix coding style
2018-11-07 08:56:32 +00:00
Cruz Monrreal II
75368766f7
Merge branch 'fix_compile_warning' of ssh://github.com/KariHaapalehto/mbed-os into rollup
2018-11-06 21:29:08 -06:00
Cruz Monrreal II
ddd82a9d5e
Merge branch 'fix_possible_memory_leak' of ssh://github.com/KariHaapalehto/mbed-os into rollup
2018-11-06 21:29:02 -06:00
Cruz Monrreal
c792d33112
Merge pull request #8652 from 0xc0170/dev_rollup
...
Rollup PR for docs
2018-11-06 20:40:04 -06:00
Cruz Monrreal
0c2d35f312
Merge pull request #8612 from vidavidorra/master
...
Add names to system thread
2018-11-06 17:00:05 -06:00
Marc Emmers
dcb97f9f74
InternetSocket: Fixed missing unlock before return
2018-11-06 15:02:42 +01:00
Fahim Alavi
2806dd8216
mbed_lib.json updated for other all C030 targets and code corrected to use UBLOX_AT
2018-11-06 17:58:41 +05:00
Martin Kojtal
4cbcd64ca3
Merge branch 'doxy_refactor' of https://github.com/jamesbeyond/mbed-os into dev_rollup
2018-11-06 12:10:10 +00:00
Martin Kojtal
cb4924151e
Merge pull request #8621 from marcuschangarm/fix_include
...
Add missing include for TLSSocket
2018-11-05 17:18:52 +01:00
Martin Kojtal
d55c0da61e
Merge pull request #8613 from SeppoTakalo/tls_fix
...
Make sure that TLSSocketWrapper::close() is called before the transport is destroyed.
2018-11-05 17:17:36 +01:00
Martin Kojtal
73cc54e5f7
Merge pull request #8524 from korjaa/more_blockdevice_tests
...
Add more generic BlockDevice tests.
2018-11-05 17:15:59 +01:00
Arto Kinnunen
ef39a19ba9
Merge commit '6dd01c679db4deb0a4a2c55832f3abe7b19bc51b' into mbedos511
...
* commit '6dd01c679db4deb0a4a2c55832f3abe7b19bc51b':
Squashed 'features/nanostack/sal-stack-nanostack/' changes from 2535a6c..ccd30a3
2018-11-05 17:08:28 +02:00
Arto Kinnunen
3c37456f4c
Merge commit '6a6dc452aa482a87421de660b3c57590cd43d6fa' into mbedos511
...
* commit '6a6dc452aa482a87421de660b3c57590cd43d6fa':
Squashed 'features/nanostack/coap-service/' changes from cbe656a..bc331ca
2018-11-05 14:22:43 +02:00
Arto Kinnunen
d7e2bd3f81
Merge commit '7fab5abace6aa9d6fc6c335fa6fcab15a108d646' into mbedos511
...
* commit '7fab5abace6aa9d6fc6c335fa6fcab15a108d646':
Squashed 'features/frameworks/mbed-trace/' changes from 6df2572..9eaf0d1
2018-11-05 14:21:35 +02:00
Arto Kinnunen
66620a2761
Merge commit '0ca91df5905111270a6ec1343be5c726c97fe571' into mbedos511
...
* commit '0ca91df5905111270a6ec1343be5c726c97fe571':
Squashed 'features/frameworks/nanostack-libservice/' changes from 5eb2f3f..bb56e37
2018-11-05 14:17:48 +02:00
Kari Haapalehto
4aaf013b0e
Fix memory leak
2018-11-05 13:09:56 +02:00
Kari Haapalehto
c7afb91f62
Fix compile warning about initializing and variable order
2018-11-05 12:45:53 +02:00
Cruz Monrreal
0e6eac5faa
Merge pull request #8491 from lrusinowicz/new-target-future_sequana
...
New target future sequana
2018-11-03 07:05:58 -05:00
Jeroen de Bruijn
440905a84e
fix: Change cellular FSM thread name
2018-11-02 16:23:52 +01:00