paul-szczepanek-arm
e75ca75e17
EEPROM driver signature fixed
2018-08-29 10:45:22 +01:00
Yossi Levy
ed8e170d15
Moving SD, SPIF and FLASHIAP into mbedos and refactoring features storage directory structure.
2018-08-29 12:01:11 +03:00
Cruz Monrreal
4089d4e7f0
Merge pull request #7869 from paul-szczepanek-arm/cordio-sources
...
BLE: Cordio going open source
2018-08-28 13:18:24 -05:00
Vincent Coubard
97a4e02c3b
NFC: Fix missing doc in ndef::MessageBuilder
2018-08-28 18:51:39 +01:00
Ron Eldor
127b68fbbc
Make the platform context a global variable
...
Make the platform context a global variable,
adding the refernce counter to it.
2018-08-28 20:29:26 +03:00
Vincent Coubard
ab810b219e
NFC: Fix astyle nonsense.
2018-08-28 17:47:10 +01:00
Vincent Coubard
0fa481ace6
NFC: Fix invalid access to an empty text record.
2018-08-28 17:47:10 +01:00
Vincent Coubard
9a3b64bd55
NFC: Add const qualifier to append_as_record function of ndef common types.
2018-08-28 17:47:09 +01:00
Vincent Coubard
cffc0221cc
NFC: Add get_record_size in common types.
2018-08-28 17:47:09 +01:00
Vincent Coubard
b6e604338e
NFC: Add payload builder into ndef::MessageBuilder
2018-08-28 17:47:09 +01:00
Donatien Garnier
b5bfcc3fcb
Address @paul-szczepanek-arm's comments
2018-08-28 17:32:39 +01:00
Donatien Garnier
bfe4c748ce
Address @ithinuel's comments
2018-08-28 17:00:35 +01:00
Donatien Garnier
681811e403
NFCController::Delegate's destructor does not need to be virtual
2018-08-28 16:55:09 +01:00
Donatien Garnier
66850be6e5
Fix NFCEEPROM erasing flow
2018-08-28 16:53:06 +01:00
Seppo Takalo
488632bc79
Fix LoWPANInterface to provide ::get_target_default()
...
LoWPANInterface should provide target default, instead of default.
2018-08-28 18:50:59 +03:00
Donatien Garnier
9e0c08bbdc
Do not allocate initiator if not required in NFCController::polling_callback
2018-08-28 15:15:31 +01:00
Ari Parkkila
ce84209507
Cellular: Fix Greentea test for network attach
2018-08-28 06:20:50 -07:00
Taiki
758f6d2e83
Switch the IPv4 parser to the one recently introduced in libservice. Return a bool value on wether parsing of the IPv4 address string was successful
2018-08-28 14:00:54 +02:00
Martin Kojtal
b2a05511d0
Merge pull request #7818 from kjbracey-arm/eui64_get_early
...
Allow ThreadInterface::device_eui64_get() before connect()
2018-08-28 12:11:47 +02:00
Martin Kojtal
665f10e1be
Merge pull request #7878 from mikaleppanen/mesh_conn_corr
...
Corrected mbed-mesh-api thread/6lowpan tasklets interface disconnect/connect
2018-08-28 11:55:30 +02:00
Ari Parkkila
90fe9de8ed
Cellular: Fixed network registration on Gemalto AT drivers
2018-08-28 02:14:28 -07:00
Ari Parkkila
9d0e3d8797
Cellular: Added support for the Gemalto/EMS31 cellular module
2018-08-28 02:14:28 -07:00
Ari Parkkila
a14ac31f68
Cellular: Added support for the Gemalto/BGS2 cellular module
2018-08-28 02:14:28 -07:00
Ari Parkkila
761e01f55c
Cellular: Gemalto Cinterion support for ELS61
2018-08-28 02:14:28 -07:00
Vincent Coubard
d144d8bc78
NFC: Fix doxygen documentation.
2018-08-28 10:03:44 +01:00
Donatien Garnier
8e8ce973c6
Run astyle
2018-08-28 10:03:44 +01:00
Vincent Coubard
6c4fe20f09
NFC - NDEF: Improve header inclusion
2018-08-28 10:03:44 +01:00
Vincent Coubard
684b3cad08
NDEF: Move common types into the namespace ndef::common
2018-08-28 10:03:43 +01:00
Vincent Coubard
3770cfb963
NDEF types: mention the function span_from_cstr in functions accepting strings.
2018-08-28 10:03:43 +01:00
Vincent Coubard
3dda860fd4
Ndef types: Add functions that convert a C-string into a span consumable by the API.
2018-08-28 10:03:42 +01:00
Vincent Coubard
b985b2c00b
NFC: Integrate nfc targets with Span
...
The goal is to play nicely with the NDEF message framework.
2018-08-28 10:03:42 +01:00
Vincent Coubard
dcf38eec50
NFC: Add NDEF message framework.
2018-08-28 10:03:41 +01:00
Donatien Garnier
79170d3de5
Use nfc_tech_iso7816_app_t directly to handle ISO7816 applications
2018-08-28 09:59:18 +01:00
Donatien Garnier
fb5a0a3791
NFC: Fix more IAR compilation issues
2018-08-28 09:59:18 +01:00
Donatien Garnier
9cf8eedb63
NFC: Fix IAR compilation issues
2018-08-28 09:59:17 +01:00
Donatien Garnier
5c24c4dd82
NFC: Fix doxygen issues
2018-08-28 09:59:17 +01:00
Donatien Garnier
7a473ed9cf
Fix doxygen issues in acore
2018-08-28 09:59:16 +01:00
Donatien Garnier
83057378f0
Fixes in NFC framework
2018-08-28 09:59:16 +01:00
Donatien Garnier
1f1f5f183f
NFC Stack: ISO7816 now uses the 'repolling' mechanism of ISODEP module to avoid re-running a full polling loop
2018-08-28 09:59:16 +01:00
Donatien Garnier
e7b2ec347f
Enable NFC debug
2018-08-28 09:59:15 +01:00
Donatien Garnier
6eb99d65b4
NFC: Add a few missing method implementations and run astyle
2018-08-28 09:59:12 +01:00
Donatien Garnier
3f31a95a76
Fix compilation issues in NFC framework
2018-08-28 09:59:12 +01:00
Donatien Garnier
2568725d47
Fix compilation issues in NFC stack
2018-08-28 09:59:11 +01:00
Donatien Garnier
f0b0762ca9
Prefix acore lib files with ac_ to avoid include clashes
2018-08-28 09:59:11 +01:00
Donatien Garnier
483fcdfc83
Fix a bunch of compilation issues, thanks @pan-
2018-08-28 09:59:10 +01:00
Donatien Garnier
3970f5f77a
Expose Event Queue to NFCEEPROMDriver
2018-08-28 09:59:10 +01:00
Donatien Garnier
0e2484f7f3
Astyle formatting
2018-08-28 09:59:09 +01:00
Donatien Garnier
ce39e77f3d
Missing change in NFCRemoteInitiator
2018-08-28 09:59:09 +01:00
Donatien Garnier
d63a36c586
Some missing virtual qualifiers
2018-08-28 09:59:09 +01:00
Donatien Garnier
1dfeafd11a
Missing =0 in NFCEEPROMDriver
2018-08-28 09:59:08 +01:00
Donatien Garnier
928115b106
Missing inheritance in NFCController
2018-08-28 09:59:08 +01:00
Donatien Garnier
3b8413a3d8
Fix virtualness of NFCControllerDriver::Delegate method
2018-08-28 09:59:07 +01:00
Donatien Garnier
6a0cbffaf6
Fix API signatures
2018-08-28 09:59:07 +01:00
Donatien Garnier
9fcca783b9
Erase & Read implementations in NFCEEPROM
2018-08-28 09:59:06 +01:00
Donatien Garnier
5a9cab2408
Writing implementation in NFC EEPROM
2018-08-28 09:59:06 +01:00
Donatien Garnier
28fad6b320
Update NFC EEPROM Driver + Delegate API names
2018-08-28 09:59:05 +01:00
Donatien Garnier
a4a8ee1b49
Update NFC EEPROM Driver and add implementation
2018-08-28 09:59:05 +01:00
Donatien Garnier
8c4e4d855c
Add scheduler implementation to NFC Controller class
2018-08-28 09:59:05 +01:00
Donatien Garnier
9056f29025
Add PN512 Driver implementation
2018-08-28 09:59:04 +01:00
Donatien Garnier
5fa27744b0
Implement PN512 SPI transport driver
2018-08-28 09:59:04 +01:00
Donatien Garnier
d4c29207cc
Type 4 Target and dependencies implementation
2018-08-28 09:59:03 +01:00
Donatien Garnier
fdd8d0b9b6
Implement NFCNDEFCapable
2018-08-28 09:59:03 +01:00
Donatien Garnier
db2cdf0b02
Use SharedPtr class for detected endpoints
2018-08-28 09:59:02 +01:00
Donatien Garnier
d5201f00e4
Add basis for NFC Controller implementation
2018-08-28 09:59:02 +01:00
Donatien Garnier
cd7f518596
Add NFC Stack
2018-08-28 09:59:02 +01:00
Donatien Garnier
5691a663b4
Update doc/API for Type4RemoteInitiator
2018-08-28 09:59:01 +01:00
Donatien Garnier
b2cbdb5aa1
Add doc/update API for NFCTarget
2018-08-28 09:59:01 +01:00
Donatien Garnier
2246535a9f
Update API/doc for NFCNDEFCapable
2018-08-28 09:59:00 +01:00
Donatien Garnier
3cd3efe9d8
Fix NFCEEPROM's destructor
2018-08-28 09:59:00 +01:00
Donatien Garnier
2db8f8607d
Add doc for NFCRemoteInitiator
2018-08-28 09:58:59 +01:00
Donatien Garnier
b14e18d170
Add documemtation for ISO7816App
2018-08-28 09:58:59 +01:00
Donatien Garnier
f6a0cb3ae2
Add doc and amend API of NFCNDEFCapable
2018-08-28 09:58:58 +01:00
Donatien Garnier
97f72cae2f
Add doc for NFCRemoteEndpoint
2018-08-28 09:58:58 +01:00
Donatien Garnier
717b2f599f
Add doc for NFCEEPROMDriver and amend API slightly
2018-08-28 09:58:57 +01:00
Donatien Garnier
b0f1f4304c
Add doc for NFCTarget
2018-08-28 09:58:57 +01:00
Donatien Garnier
39879b7d9d
Amend NFCControllerDriver API and add documentation
2018-08-28 09:58:56 +01:00
Donatien Garnier
37263c359a
Add doc to NFCController
2018-08-28 09:58:56 +01:00
Donatien Garnier
2fb635a28d
Add get_supported_rf_protocols() method to driver
2018-08-28 09:58:55 +01:00
Donatien Garnier
2ff14df60b
Finish renaming NFCRemoteEndpoint.h
2018-08-28 09:58:55 +01:00
Donatien Garnier
5ae65aaf35
Simplify NFCNDEFCapable.h
2018-08-28 09:58:54 +01:00
Donatien Garnier
0e9e2fdbed
Add has_started_session() in NFC EEPROM driver delegate
2018-08-28 09:58:54 +01:00
Donatien Garnier
1d61ab686e
Missing end of comment
2018-08-28 09:58:54 +01:00
Donatien Garnier
3321a5998d
NFCTarget should not inherit from NFCEndpoint
2018-08-28 09:58:53 +01:00
Donatien Garnier
da4842de45
Remove redundant boolean parameters in NDEF Capable
2018-08-28 09:58:53 +01:00
Donatien Garnier
18b2bb37ce
Move nfc_tag_type_t to NFCDefinitions.h
2018-08-28 09:58:52 +01:00
Donatien Garnier
04304e0ec0
Added nfc_tag_type() and fixed some const qualifiers
2018-08-28 09:58:52 +01:00
Donatien Garnier
8d03c557e2
Adding initial API
2018-08-28 09:58:51 +01:00
Martin Kojtal
9e012c3de6
Merge pull request #7860 from AriParkkila/cell-reg-mode
...
Cellular: Allow cellular modules to override network registration mode
2018-08-28 10:42:48 +02:00
Antti Yli-Tokola
7ae00ee24a
Update mbed-coap to version 4.6.2
...
Do not clear block2 in subsequent block request.
When sending a request with block2 option, eg. indicating need
for response to be blockwised, copy the block2 option from the
sent_blockwise list item so that the block2 option will be added
to all requests. This fixes an issue where previously the block2
was only sent for the first blockwise request and not for the
subsequent ones, including the last request. This made the response
not follow the request block2 option.
2018-08-28 11:09:45 +03:00
Seppo Takalo
9836b9bd6a
Provide default mesh driver on NCS36510
2018-08-28 11:02:58 +03:00
Seppo Takalo
c5064a8e33
Fix *MeshInterface::get_default_instance()
...
This was returning object, instead of pointer.
Also it was trying to call lowpan(reference), instad of lowpan(ptr).
2018-08-28 11:02:58 +03:00
Teppo Järvelin
5e6988899c
Cellular: review fix removed magic numbers from unit tests.
2018-08-28 07:36:49 +03:00
Cruz Monrreal
7ac4bf4a4e
Merge pull request #7870 from AriParkkila/cell-cgdata
...
Cellular: Support for GPRS dial-up
2018-08-27 10:29:44 -05:00
Cruz Monrreal
686b77949f
Merge pull request #7857 from AriParkkila/cell-stack-mt
...
Cellular: Make AT_CellularStack socket array multi-thread safe
2018-08-27 10:29:29 -05:00
Cruz Monrreal
bf2da4859c
Merge pull request #7761 from aashishc1988/master
...
ifndef some macros to allow overriding during compilation
2018-08-27 10:27:49 -05:00
Amanda Butler
a779e6f3c2
Copy edit FSB_Usage.txt
...
Copy edit for active voice, consistent tense and precise language.
2018-08-27 10:06:21 -05:00
Amanda Butler
e4c4e7cc8d
Copy edit lorawan_types.h
...
Copy edit for minor grammar nits and consistent tense across docs.
2018-08-27 09:51:27 -05:00
Mika Leppänen
1250ceb82c
Corrected thread tasklet during interface disconnect/connect
...
Added check for valid interface ID to network scan timer start so that it
is not triggered after disconnect. Added variable for mac api so that it
is not tried to set again after re-connecting.
2018-08-27 15:08:48 +03:00
Mika Leppänen
68f5739e09
Corrected 6lowpan tasklet during interface disconnect/connect
...
Removed main tasklet ID and used instead tasklet id. Added check
for valid interface ID to network scan timer start so that it
is not triggered after disconnect. Added small delay to re-connect
so that stack has time to send its status events to application
after disconnect.
2018-08-27 15:08:48 +03:00
Kimmo Vaisanen
6dc83dd737
Lora: Remove duplicate LinkCheckReq MAC command
...
When application requests link check request with add_link_check_request()
it was added to MAC command buffer. Again when actual TX was started,
stack cherry-picked the request into MAC buffer again resulting in a duplicate
entry in the buffer.
Functionality is changed now so that add_link_check_request() does not add
the request into MAC command buffer but it is cherry-picked into the buffer when
TX is issued.
2018-08-27 13:45:21 +03:00
Teppo Järvelin
ccb75d2771
Cellular: fixed CellularDevice unittests by doing proper initializations between tests.
2018-08-27 13:00:20 +03:00
Hasnain Virk
5cca2f2e76
Adding override for TX ch. selection in CN470 PHY
...
set_next_channel() is the base function provided by LoRaPHY class and should be overridden
by the PHYs who behave differently as compared to EU868 like PHY layers.
CN470 PHY had been missing such an override.
In addition to that we have provided a parameter "fsb-mask-china" that can be used to
enforce a custom frequency sub-band of operation as most of the base stations in the market
may not support all 96 channels. Such a strategy will help in rapid network acquisition.
2018-08-27 12:50:09 +03:00
Kimmo Vaisanen
fdff9f0f5d
Lora: Improve description of callback methods
...
Users often use "show declaration" (or similar) in their IDE to see descriptions of callback
methods so the function descriptions should be placed close to function declaration itself.
2018-08-27 12:37:29 +03:00
Martin Kojtal
928f90a7d5
Merge pull request #7773 from davidsaada/david_fix_init_ref_count
...
Add some logic related to initialization to various block devices
2018-08-27 10:38:15 +02:00
Martin Kojtal
b4d5e24ca2
Merge pull request #7802 from hasnainvirk/pipeline_br
...
LoRaWAN: Custom FSB selection in US and Australian regions
2018-08-27 10:27:02 +02:00
Przemyslaw Stekiel
e7b8e303ef
Fix usage of `Mutex::unlock()` function - ignore returned value.
2018-08-27 08:50:00 +02:00
Przemyslaw Stekiel
8482cdc70f
Fix usage of `Mutex::lock()` function - ignore returned value.
2018-08-27 08:48:58 +02:00
Cruz Monrreal
2f8e679183
Merge pull request #7592 from orenc17/remove_uvisor
...
Remove uVisor from mbed-os
2018-08-25 19:52:24 -05:00
Cruz Monrreal
02c03204a6
Merge pull request #7714 from brianesquilona/feature_bootloader
...
Add BOOTLOADER feature
2018-08-24 19:30:21 -05:00
Martin Kojtal
3065e2fce1
Merge pull request #7854 from deepakvenugopal/master
...
Nanostack patch release for Mbed OS 5.10
2018-08-24 14:46:42 +02:00
Hasnain Virk
9b2507d71a
Adding helpers for Channel mask manipulation
...
A few protected member functions are introduced in LoRaPHY class
that help manipulate channel masks in various ways.
2018-08-24 15:32:13 +03:00
Hasnain Virk
8f0bb07390
Removing US915Hybrid PHY
...
This phy implementation was just to support a single sub-band in US region.
As we have decided to make FSBs configurable, we do not need this class anymore.
2018-08-24 15:32:12 +03:00
Hasnain Virk
dc56a06646
Enabling FSB support in AU915 PHY
...
Just like US915 PHY, user can define a custom FSB mask for AU915 PHY.
This helps deployments where base stations do not portray full feature
channel sets and choose to stick with sub-bands.
2018-08-24 15:31:53 +03:00
Hasnain Virk
207ae2dedf
Adding FSB selection feature for US915 PHY
...
User can now define a custom frequency sub-band for the US915 PHY.
FSB_Usage.txt defines how this parameter will be configured.
2018-08-24 15:31:53 +03:00
Ari Parkkila
1eb1fabad0
Cellular: Allow cellular modules to override network registration mode
2018-08-24 04:27:49 -07:00
Martin Kojtal
781573a0b2
Merge pull request #7839 from kivaisan/change_loramac_internal_methods_as_private
...
Lora: Change visibility of LoRaMac internal methods as private
2018-08-24 13:04:56 +02:00
paul-szczepanek-arm
657fc45a3c
updated porting guide
2018-08-24 11:30:04 +01:00
Juha Ylinen
b8b39ac3ab
netsocket: Fix compiler warning
...
[Warning] InternetSocket.h@237,10: 'InternetSocket::_factory_allocated' will be initialized after [-Wreorder]
[Warning] InternetSocket.h@236,23: 'volatile unsigned int InternetSocket::_pending' [-Wreorder]
[Warning] InternetSocket.cpp@22,1: when initialized here [-Wreorder]
2018-08-24 13:26:53 +03:00
paul-szczepanek-arm
f36e58b039
update readme
2018-08-24 11:14:03 +01:00
paul-szczepanek-arm
1d2ab42d27
replace libraries with sources
2018-08-24 11:14:03 +01:00
Martin Kojtal
582b414ea2
Merge pull request #7840 from mirelachirica/wise_1570_greentea_tests
...
WISE_1570 greentea tests
2018-08-24 11:31:44 +02:00
Martin Kojtal
871d7e7361
Merge pull request #7730 from davidsaada/david_stack_stats_fail_fix
...
When stack stats enabled, prevent exceptions if memory allocations fail
2018-08-24 11:31:24 +02:00
Martin Kojtal
70814d6185
Merge pull request #7417 from pan-/improve-cordio-hci-doc
...
Cordio Documentation: Explain how to tests and what tools are available.
2018-08-24 09:52:21 +02:00
Ari Parkkila
4b223b6ff2
Cellular: Make AT_CellularStack socket array multi-thread safe
2018-08-24 00:21:26 -07:00
Brian Esquilona
7f7290e711
Update: 1. moved the binaries to specific target folders 2. Changed the license to PBL
2018-08-23 17:20:08 -05:00
Cruz Monrreal
f7a731544c
Merge pull request #7816 from kivaisan/option_to_disabled_join_duty_cycle
...
Lora: Refactor duty-cycle configuration and introduce config for JOIN request
2018-08-23 10:05:44 -05:00
Ari Parkkila
d208706fd6
Cellular: Support for GPRS dial-up
2018-08-23 02:37:47 -07:00
Martin Kojtal
603c4f930e
Merge pull request #7851 from geky/fix-littlefs-mount-cleanup
...
littlefs: Fixed issue with cleanup in mount function on error
2018-08-23 11:00:06 +02:00
Andres Amaya Garcia
d7519565d2
Disable MBEDTLS_HAVE_DATE_TIME as ARMCC does not support gmtime
2018-08-22 22:54:43 +01:00
Oren Cohen
787317b7eb
Remove uVisor from mbed-os
2018-08-22 16:36:59 +03:00
Martin Kojtal
f5fb3c1911
Merge pull request #7739 from anttiylitokola/master
...
Update mbed-coap to version 4.6.1
2018-08-22 14:06:39 +02:00
Martin Kojtal
81f5decf8f
Merge pull request #7785 from kivaisan/fix_join_accept_failure_handling
...
Lora: Fix join-response failure handling
2018-08-22 14:05:24 +02:00
Mirela Chirica
9ef2d0d5ca
Cellular: Fix information greentea tests for BC95 modem
2018-08-22 14:41:31 +03:00
Mirela Chirica
8db370c642
Cellular: Fix sim greentea tests for BC95 modem
2018-08-22 14:41:30 +03:00
Mirela Chirica
c0b8a113b1
Cellular: Fix network greentea tests for BC95 modem
2018-08-22 14:40:22 +03:00
Mirela Chirica
b5d68b546a
Cellular: In LTE mode last PDP context cannot be deactivated
2018-08-22 14:38:18 +03:00
Deepak Venugopal
8c94411882
Merge commit '94f82102284f73721f685ec9ae535aef815e0d69'
...
* commit '94f82102284f73721f685ec9ae535aef815e0d69':
Squashed 'features/nanostack/sal-stack-nanostack/' changes from 7963594..2535a6c
2018-08-22 10:52:10 +03:00
Christopher Haster
475cc6bcba
littlefs: Added test for several mounting conditions
2018-08-21 17:59:52 -05:00
Christopher Haster
cc1bad90a7
littlefs: Fixed issue with cleanup in mount function on error
...
As a part of the v1.6 update, littlefs added proper handling for
cleaning up memory in the case of an error during mount. This took care
of a memory leak users were seeing. Ironically, it turns out the implementation
and user patterns in mbed-os was _relying_ on this memory leak to avoid a
double free in the same case of an error during mount.
The issue was that a failed mount would leave the LittleFileSystem class in a
state where it thought it was mounted, and later it would attempt to
unmount the filesystem. With the previous memory leak this would be
"ok", and the leaked memory would be freed. But with the fix in v1.6,
no memory is leaked, and the incorrect free triggers a hard fault.
Fixed to clean up state properly on failed mounts.
2018-08-21 17:23:32 -05:00
Cruz Monrreal
b53a9ea4c0
Merge pull request #7780 from artokin/nsrc510_p1
...
Rename nanostack configuration (.cfg) files
2018-08-21 10:21:15 -05:00
Cruz Monrreal
36ee9b98d6
Merge pull request #7767 from kivaisan/fix_tx_error_if_corrupter_msg_received
...
Lora: Fix TX_ERROR event if corrupted msg is received for CONFIRMED request
2018-08-21 10:20:23 -05:00
Cruz Monrreal
17a525c487
Merge pull request #7619 from u-blox/cellular_ublox_udp_tcp_imp
...
UBLOX cellular api's for UDP and TCP
2018-08-21 10:12:47 -05:00
Brian Esquilona
4db8a106bf
Added BOOTLOADER feature, copy bootloader binaries and LICENSE into mbed OS repository for supported targets
2018-08-21 10:09:28 -05:00
Cruz Monrreal
7c22dca302
Merge pull request #7831 from hasnainvirk/rx2_dr_default
...
LoRaWAN: Restoring default RX2 data rate
2018-08-21 09:59:21 -05:00
Cruz Monrreal
d9367f88f8
Merge pull request #7832 from juhaylinen/fix-nanostack-setsockoptions
...
Nanostack: Fix return code for unsupported socket options
2018-08-21 09:58:59 -05:00
Cruz Monrreal
5c50eadc1b
Merge pull request #7826 from SiliconLabs/fix-lwip-gg11
...
Fix stack size for LwIP on EFM32GG11
2018-08-21 09:55:48 -05:00
Cruz Monrreal
bf26cbf330
Merge pull request #7807 from hasnainvirk/warning_fix
...
Compiler warning: unused variable in LoRaMac.h
2018-08-21 09:53:26 -05:00
Cruz Monrreal
cd0126ae29
Merge pull request #7768 from jarvte/document_all_cellular_errcodes
...
Cellular: Document all possible error codes for cellular API.
2018-08-21 09:42:55 -05:00
Cruz Monrreal
08afaf2f85
Merge pull request #7770 from kivaisan/fix_rejoin_with_parameters
...
LoRa: Fix MAC initialization for connection with parameters
2018-08-21 09:42:16 -05:00
Cruz Monrreal
c10ad7f544
Merge pull request #7212 from davidsaada/david_flashiap_test_small_flash
...
FlashIAP & NVStore tests: Skip test if overwriting code in flash
2018-08-21 09:41:51 -05:00
David Saada
6f6ea14720
Add some logic related to initialization to various block devices
...
- Add an initialization flag on which BD actions depend (fail if uninitialized).
- Fix behavior of init reference count if first initialization fails
2018-08-21 16:52:32 +03:00
Kimmo Vaisanen
223e6a27d8
Lora: Change visibility of LoRaMac internal methods as private
...
Some LoRaMac methods were defined as public even though there were used only
internally.
Also removed definition of some methods which were not even implemented nor used.
2018-08-21 12:08:12 +03:00
Amanda Butler
9f5a71a7bb
Copy edit CellularSMS.h
...
Copy edit file for parallelism, consistent capitalization and minor grammar nits.
2018-08-20 15:41:25 -05:00
Amanda Butler
23da904f8e
Copy edit CellularSIM.h
...
Copy edit for parallelism, and fix typo and capitalization from before these changes.
2018-08-20 15:36:37 -05:00
Amanda Butler
14e1745ec6
Copy edit CellularPower.h
...
Copy edit file for parallelism, and fix typo
2018-08-20 15:32:40 -05:00
Amanda Butler
9d4bb83cc6
Copy edit CellularNetwork.h
...
Copy edit file for parallelism and active voice.
2018-08-20 15:22:15 -05:00
Amanda Butler
7181afcf69
Copy edit CellularInformation.h
...
Copy edit file for parallelism and active voice.
2018-08-20 15:11:53 -05:00
Martin Kojtal
e43f0201a7
Merge pull request #7681 from paul-szczepanek-arm/sc-ltk
...
BLE: store secure connections ltk in both local and peer entry
2018-08-20 18:01:31 +02:00
Juha Ylinen
b8a7e25e84
Nanostack: Fix return code for unsupported socket options
2018-08-20 16:30:19 +03:00
Kimmo Vaisanen
2f15dae400
Lora: Refactor duty-cycle configuration and introduce config for JOIN request
...
- Duty cycle can be now only disabled with duty-cycle-on flag if region supports duty-cycle.
If region does not support duty-cycle, this flag has no effect and duty cycle is always
disabled.
- Also introduced a new flag (duty-cycle-on-join) to disable duty cycle for JOIN requests.
This flag can be used for testing only and is used to speed up JOIN request testing as
backoff times for JOIN request are really long (easily several minutes per attempt).
This flag works in conjunction with main duty cycle setting. Disabling duty-cycle-on-join
works only if duty-cycle-on is disabled (or region settings have duty cycle disabled).
2018-08-20 15:30:15 +03:00
Hasnain Virk
928c68cd7f
Restoring default RX2 data rate
...
In #b0b0261 we changed the RX2 data rate to start from the highest data rate
available for the PHY rather than standard defined DR.
This introduced a regression, i.e., even when somebody changed the default RX2 data
rate to something usable for their environment, it didn't take any effect. As in
reset_mac_params() we override the data rate with max value possible for that PHY.
This commit restores the original behaviour and we always use standard defined
values.
2018-08-20 14:35:40 +03:00
Steven
1cfddb73b7
Fix stack size for LwIP on EFM32GG11
...
Typo in the config file made the LwIP stack way too small on EFM32GG11 STK3701 target. Additionally, the EMAC thread stack was slightly too small when debug printing is on.
2018-08-19 14:39:58 +02:00
Senthil Ramakrishnan
529af2b0f4
Changes to error code names
2018-08-17 23:13:59 -05:00
Senthil Ramakrishnan
7803a40fbd
Update BLE error calls to use new error codes and mbed_error
2018-08-17 22:52:50 -05:00
Cruz Monrreal
871ee09c7a
Merge pull request #7667 from AriParkkila/cellular-detect
...
Cellular: Add CellularDevice::init_module API to be called at startup
2018-08-17 11:09:11 -05:00
Kevin Bracey
e014104258
Allow ThreadInterface::device_eui64_get() before connect()
...
Perform necessary driver initialisation so that we can read
the EUI-64 before connecting.
Fixes #7391 .
2018-08-17 16:41:23 +03:00
Kevin Bracey
3a238bd7bd
Streamline Nanostack interface initialisation
...
Can unify quite a log of the setup here, and that would be useful to
allow initialisation other than in "connect".
2018-08-17 16:41:23 +03:00
Hasnain Virk
a7cb32f83f
unused variable warning in LoRaMac.h for release build
...
In release builds where MBED_ASSERT macro is syphoned off, we were hitting
an unused variable warning. To mitigate that we could direct the variable
used in MBED_ASSERT to void.
2018-08-17 11:19:34 +03:00
David Saada
876b5f755b
FlashIAP & NVStore tests: Skip test if overwriting code in flash.
2018-08-16 21:59:45 +03:00
Cruz Monrreal
467265847a
Merge pull request #7670 from davidsaada/david_fix_nvstore_test_max_possible_keys
...
Check max possible keys in NVStore tests
2018-08-16 13:38:43 -05:00
Cruz Monrreal
7b8a13791b
Merge pull request #7740 from mirelachirica/missing_resp_stop
...
Cellular: Handle AT response stop in case IP address is missing from …
2018-08-16 09:06:05 -05:00
Cruz Monrreal
4ce0d9066e
Merge pull request #7719 from kivaisan/document_lorawan_return_values
...
Lora: Document all possible error codes for LoRaWANBase methods
2018-08-16 09:04:39 -05:00
Melinda Weed
4a9570b252
function signature line
2018-08-16 14:46:07 +03:00
Cruz Monrreal
6bb2f500cd
Merge pull request #7713 from geky/littlefs-v1.6
...
LittleFS: Update to version 1.6
2018-08-15 15:54:05 -05:00
mudassar-ublox
f512668230
Replaced rx_avail with pending_bytes
2018-08-15 16:54:40 +05:00
Antti Yli-Tokola
f78f5601e5
Update mbed-coap to version 4.6.1
...
Fixes error: IOTCLT-2900 - Blockwise handling leaking memory in some error cases
* Fix memory leak when clearing blockwise payload list
* Token was not freed from the list when closing down the library
Fix unused parameter - warning when blockwise is not used
2018-08-15 14:07:38 +03:00
mudassar-ublox
f9aaee55dd
Support added for async sockets
2018-08-15 14:52:57 +05:00
Antti Yli-Tokola
590dfeb1f9
Update mbed-coap to version 4.6.0
...
* Added new API which clears one item from the resend queue by token
2018-08-15 11:16:42 +03:00
Mirela Chirica
2c29852dba
Cellular: Added getters for device and serial to EasyCellularConnection
2018-08-15 09:34:59 +03:00
Nir Sonnenschein
1d9c66af82
Merge pull request #7771 from KariHaapalehto/while1
...
Update mesh_system_heap_error_handler to use new error handler
2018-08-14 19:43:15 +03:00
Melinda Weed
c1e154b1cc
removing \
2018-08-14 16:26:30 +03:00
Ari Parkkila
5f8f47590f
Cellular: Fixed AT+COPN
2018-08-14 04:47:58 -07:00
Melinda Weed
3b95202154
Final review and grammatical changes
2018-08-14 10:55:39 +03:00
Kimmo Vaisanen
aa0c61b2b2
Lora: send and receive methods return LORAWAN_STATUS_NOT_INITIALIZED if not initialized
...
In order have a consistent return value for all methods in case of system is uninitialized
now also send and receive methods can return LORAWAN_STATUS_NOT_INITIALIZED.
2018-08-14 10:03:11 +03:00
Cruz Monrreal
7bdfc07954
Merge pull request #7750 from jarvte/fix_smsgreentea_tests
...
Cellular: Fixed sms greentea tests init
2018-08-13 20:01:36 -05:00
Cruz Monrreal
63e4ea7982
Merge pull request #7757 from ARMmbed/revert-7663-namespace_bd_update
...
Revert "Move BlockDevice classes inside mbed namespace"
2018-08-13 16:43:23 -05:00
Arto Kinnunen
0ee40296f0
Merge commit 'f292d7ad9ab5da89381d7f54de88b46df573c79d'
...
* commit 'f292d7ad9ab5da89381d7f54de88b46df573c79d':
Squashed 'features/nanostack/sal-stack-nanostack/' changes from 4a188ea..7963594
2018-08-13 18:44:28 +03:00
Cruz Monrreal
70c3bdfffd
Merge pull request #7737 from deepakvenugopal/master
...
Nanostack release for Mbed OS 5.10
2018-08-13 09:13:58 -05:00
Kimmo Vaisanen
efeeb095c5
Lora: Fix join-response failure handling
...
Thix commit fixes a bug where stack was resending join-accept already
after RX1 if received join-response was invalid.
Stack should wait for RX2 before resending the join-accept.
2018-08-13 16:11:33 +03:00
Teppo Järvelin
907fede1d7
Cellular: review fixes for doxygen changes of return values.
2018-08-13 15:09:14 +03:00
Kari Haapalehto
de1d9c45b6
Update mesh_system_heap_error_handler to use new error codes and mbed_error call
2018-08-13 14:39:49 +03:00
Kimmo Vaisanen
76d01f5c71
LoRa: Fix MAC initialization for connection with parameters
...
LoRaMAC was not initialized properly if application called
connect(const lorawan_connect_t &connect);
This causes problems for example in case where application
first disconnects and then reconnects as counter values are not
initialized.
2018-08-13 12:41:01 +03:00
Teppo Järvelin
66fcbb9291
Cellular: Document all possible error codes for cellular API.
2018-08-13 09:45:25 +03:00
Martin Kojtal
ff67a96e17
Revert "Move BlockDevice classes inside mbed namespace"
2018-08-10 14:49:51 +01:00
Teppo Järvelin
a8faeac365
Cellular: Fixed sms greentea by removing uncommon character set setting
2018-08-10 14:00:42 +03:00
Teppo Järvelin
6a64ca9a69
Cellular: Fixed sms greentea tests init
...
Fixed sms greentea tests by making sure that device is ready to accept
AT commands before sending them.
2018-08-10 13:57:01 +03:00
Kimmo Vaisanen
07f4ca83f7
Lora: Fix TX_ERROR event if corrupted msg is received for CONFIRMED request
...
When node sends a CONFIRMED message and gateway sends ACK in RX1 window but the
message gets corrupted during the transmission (e.g. MIC fails), currently
our stack already checks for retransmission after RX1 and if retries attemps are
exhausted, TX_ERROR event is sent to application. This is wrong as MAC layer
will still attempt reception in RX2 window.
This commit fixes the behaviour so that TX_ERROR is not sent until RX2 window
has been closed.
2018-08-10 13:38:57 +03:00
Melinda Weed
1082724ac3
formatting changes
2018-08-10 12:53:28 +03:00
Melinda Weed
db8f36945b
Fixing colons and formatting
2018-08-10 11:17:32 +03:00
Melinda Weed
739bd6605d
grammatical and stylistic fixes, more passive -> active
2018-08-10 11:01:38 +03:00
Melinda Weed
f2c6d59c23
Further stylistic changes. Passive -> active
2018-08-10 09:56:42 +03:00
Amanda Butler
9e74fa5072
Copy edit LoRaWANBase.h
...
Copy edit file for minor grammar nits.
2018-08-09 15:51:11 -05:00
Cruz Monrreal
1a5b3e015e
Merge pull request #7725 from SenRamakri/sen_LwipMbedErrorUpdate
...
Update Lwip error calls to use new error codes and mbed_error call
2018-08-09 10:17:51 -05:00
Cruz Monrreal
2b92b260d0
Merge pull request #7688 from paul-szczepanek-arm/nrf-ltk-fix
...
BLE: call secure connections versions of ltk functions
2018-08-09 10:15:58 -05:00
Kimmo Vaisanen
57f89a2576
Lora: Reformate LoRaWANBase documentation
...
- Modified "user" to "you"
- Modified line length to ~100 characters.
2018-08-09 14:38:07 +03:00
Mirela Chirica
c217a521f4
Cellular: Handle AT response stop in case IP address is missing from CGPADDR response
2018-08-09 11:41:19 +03:00
Amanda Butler
71341ec44e
Copy edit LoraWANBase.h
...
Copy edit file, mostly for consistent U.S. spelling and precise language.
2018-08-08 15:30:18 -05:00
Aashish chaddha
1cdef09698
ifndef some macros to allow overriding during compilation or be able to get some warnings during redefinition
2018-08-08 15:23:19 -05:00
paul-szczepanek-arm
6c9bd163b1
factored out whole ediv rand check
2018-08-08 17:02:43 +01:00
Senthil Ramakrishnan
01c46f086e
Update Lwip error calls to use new error codes and mbed_error call
2018-08-08 10:16:13 -05:00
Deepak Venugopal
b82566eeaa
Merge commit 'bee5d601f841949ed8d2e6eecef648d09a3d1984'
...
* commit 'bee5d601f841949ed8d2e6eecef648d09a3d1984':
Squashed 'features/nanostack/coap-service/' changes from 1cb994e..cbe656a
2018-08-08 16:56:19 +03:00
Deepak Venugopal
edfeecdab8
Merge commit '7e1fb3c8420b4d7e43c740c3e779751c9eedb4fb'
...
* commit '7e1fb3c8420b4d7e43c740c3e779751c9eedb4fb':
Squashed 'features/nanostack/sal-stack-nanostack/' changes from 82bbdcc..4a188ea
2018-08-08 16:51:52 +03:00
paul-szczepanek-arm
cbf1776f14
MACRO the size of rand
2018-08-08 14:26:31 +01:00
paul-szczepanek-arm
c1ce511dff
factor out invalid rand function
2018-08-08 14:19:06 +01:00
David Saada
cfe7df28c9
When stack stats enabled, prevent exceptions if memory allocations fail
2018-08-08 16:18:29 +03:00
Cruz Monrreal
1ab05c28f6
Merge pull request #7721 from orenc17/nvstore_owner_bug
...
Fix owner restoration and discard across nvstore init
2018-08-08 07:46:32 -05:00
Cruz Monrreal
509869dc81
Merge pull request #7663 from deepikabhavnani/namespace_bd_update
...
Move BlockDevice classes inside mbed namespace
2018-08-08 07:37:10 -05:00
Cruz Monrreal
4e0112c1b6
Merge pull request #7531 from TeemuKultala/sms_tests
...
Cellular: sms greentea tests
2018-08-08 07:36:36 -05:00
Oren Cohen
b9fb265690
Fix owner restoration and discard across nvstore init
2018-08-07 17:56:22 +03:00
Cruz Monrreal
616e14a041
Merge pull request #7678 from juhaylinen/fix-nanostack-return-code
...
Nanostack: fix error code
2018-08-07 09:40:43 -05:00
deepikabhavnani
8f2f6f43c9
Add header file string.h required for memcpy/memset
2018-08-07 09:15:44 -05:00
Cruz Monrreal
d84bf7fc43
Merge pull request #7692 from 0xc0170/fix_netsocket_style
...
netsocket: astyle fix
2018-08-07 09:15:19 -05:00
Cruz Monrreal
40ff622711
Merge pull request #7601 from hasnainvirk/abp_auto_fix
...
LoRaWAN: Reduced priority for automatic uplinks & higher data rate usage for connection establishment
2018-08-07 09:13:45 -05:00
Teemu Kultala
df8252539b
sms gt tests: rebase and astyle fix
2018-08-07 16:34:46 +03:00
Kimmo Vaisanen
17d02d949f
Lora: Document all possible error codes for LoRaWANBase methods
...
Also duplicate documentation is removed from LoRaWANInterface which
inherits LoRaWANBase class.
2018-08-07 15:25:44 +03:00
Teemu Kultala
2b82746ae2
sms gt tests: changes after review
2018-08-07 14:10:57 +03:00
Teemu Kultala
f9a90d82b0
sms gt tests
2018-08-07 14:10:57 +03:00
Christopher Haster
51123b218d
Took advantage of include gaurds in littlefs
2018-08-06 14:13:51 -05:00
Christopher Haster
ee83046a8e
Removed redundant license in C++ littlefs directory
...
By default, all mbed-os software is under Apache 2.0 license. This is
the license followed by the littlefs C++ wrapper. Note this is not true
for the C implementation.
2018-08-06 14:12:22 -05:00
Christopher Haster
1505aea923
Merge commit 'fd729208' into HEAD
2018-08-06 13:57:46 -05:00
paul-szczepanek-arm
021c452823
replaced lesc field usage with ediv&rand check
2018-08-06 10:34:42 +01:00
TomoYamanaka
e080561c9e
Change override value of "tcp-mss" to max 1440 byte for IPV6 header size.
2018-08-06 18:12:37 +09:00
Martin Kojtal
88a7416941
nsapi: astyle block fix
2018-08-06 09:59:08 +01:00
deepikabhavnani
e36cd00e93
Move BlockDevice classes inside mbed namespace.
2018-08-03 10:22:51 -05:00
Cruz Monrreal
546dafbadc
Merge pull request #7687 from paul-szczepanek-arm/fix-default-privacy
...
BLE: set correct default privacy configuration for centrals
2018-08-03 10:09:35 -05:00
paul-szczepanek-arm
fbb926d77e
call the correct ltk function when SC is used
2018-08-03 15:28:41 +01:00
Martin Kojtal
b46aa6108d
netsocket: astyle fix
2018-08-03 13:34:33 +01:00
Juha Ylinen
942b77255b
Nanostack: fix error code
...
Return NSAPI_ERROR_NO_MEMORY if socket->open() fails
2018-08-03 12:13:21 +03:00
paul-szczepanek-arm
34d985a4ac
set correct default privacy configuration for centrals
2018-08-03 09:54:46 +01:00
TomoYamanaka
1334448c16
Improve LWIP for Renesas
...
For speeding up of LWIP in RZ/A1, I added four new config processes in mbed_lib.json and lwipopts.h, overriden those values.
Since RZ/A1 incorporates a large memory, can actualize speeding up by running with the override value.
Also those new config processes will be helpful for more customize.
2018-08-03 15:04:43 +09:00
Cruz Monrreal
88316e87e7
Merge pull request #7660 from deepikabhavnani/namespace_fs_update
...
Remove inclusion of mbed.h and mbed namespace from filesystem code
2018-08-02 23:04:45 -05:00
Cruz Monrreal
4000e009c1
Merge pull request #7564 from wajahat-ublox/ublox_idle_mode
...
Cellular: Make ATHandler::cmd_start() virtual
2018-08-02 10:11:55 -05:00
Cruz Monrreal
952930c23f
Merge pull request #7495 from hasnainvirk/scheduling_failure_report
...
LoRaWAN: Reporting scheduling failures
2018-08-02 10:10:47 -05:00
paul-szczepanek-arm
e92863a7be
store secure connections ltk in both local and peer entry
2018-08-02 15:33:47 +01:00
Teppo Järvelin
b761e7b5a3
Cellular: fixed greentea tests C027 and BG96.
2018-08-02 08:10:32 +03:00
Cruz Monrreal
35fb35a3b2
Merge pull request #7661 from EnsilicaEdd/fix_lorawan_incomplete_connect
...
Clear CONN_IN_PROGRESS flag after incomplete connect()
2018-08-01 21:36:59 -05:00
Cruz Monrreal
94d1b98d95
Merge pull request #7621 from 0xc0170/fix_cellular_style
...
cellular: astyle fix
2018-08-01 08:57:07 -05:00
Hasnain Virk
b07c3e791f
Reporting scheduling failures
...
It is quite possible that the user request for scheduling an uplink is deferred because of backoff or if it was a CONFIRMED message, a retry may take place on a different datarate and different channel.
We didn't have a hook for such deferred scheduling, telling the user whether the async rescheduling worked or not. This commit adds that capability and now we can tell the application if a scheduling failure took place after the original schedule request was accepted.
2018-08-01 16:28:00 +03:00
Martin Kojtal
d65e614a14
Merge pull request #7648 from davidsaada/david_init_ref_count
...
Add init reference count to all block devices
2018-08-01 15:06:57 +02:00
Martin Kojtal
d5f70f0d21
Merge pull request #7465 from davidsaada/david_tests_not_enough_memory
...
Skip a few tests if not enough memory can be allocated for them
2018-08-01 15:03:45 +02:00
Martin Kojtal
03ad9d63ec
Merge pull request #7620 from kivaisan/fix_cancel_sending
...
Lora: Fix cancel_sending
2018-08-01 15:00:04 +02:00
Wajahat Abbas
dfc8ca91fa
made destructor virtual as class has a virtual method now
2018-08-01 16:59:18 +05:00
Ari Parkkila
c6ab45b6e1
Cellular: Added CellularDevice::init_module API to be called at startup
2018-08-01 04:52:10 -07:00
Ari Parkkila
f059fb36bd
Cellular: Updated coding guidelines
2018-08-01 04:50:14 -07:00
David Saada
ec4e2ce09a
Check max possible keys in NVStore tests.
2018-08-01 14:03:43 +03:00
Cruz Monrreal
63f62165d8
Merge pull request #7565 from OpenNuvoton/nuc472_emac_rst
...
Nuvoton: Fix NUC472 SD-Host HW IP reset definition
2018-07-31 11:44:01 -05:00
Cruz Monrreal
f4a804fff1
Merge pull request #7653 from anttiylitokola/master
...
Update mbed-coap version to 4.5.1
2018-07-31 11:41:56 -05:00
David Saada
235f175cba
Add init reference count to all block devices
2018-07-31 19:41:55 +03:00
Cruz Monrreal
4e0a076612
Merge pull request #7641 from hasnainvirk/abp_armc6_fix
...
LoRaWAN: Fixing incorrect NetID causing ABP Failures
2018-07-31 11:41:34 -05:00
deepikabhavnani
079b751df5
Remove inclusion of mbed.h and mbed namespace from filesystem code
2018-07-31 11:24:42 -05:00
Edd Inglis
88b2858af4
An incomplete connect (either abandoned with a disconnect() or just
...
failed of its own accord) would prevent futher connect()'s due to the
CONN_IN_PROGRESS_FLAG remaining set. This change clears that flag in
the two cases described.
2018-07-31 17:01:54 +01:00
Martin Kojtal
85ef7a008f
cellular: fix tests that astyle breaks
...
Ignore TEST_GROUP by AStyle. As this uses macro, is not visible to formatter.
By default, it assumes it is a function and treats methods as blocks inside a
function (inlined {}). We ignore it.
We might just not format UNITTESTS in the future if we face similar issues
in the future.
2018-07-31 13:15:57 +01:00
mudassar-ublox
122e771063
socket_open function removed
2018-07-31 15:09:29 +05:00
Antti Yli-Tokola
20f647435a
Update mbed-coap version to 4.5.1
...
Fixes error: IOTCLT-2883 - Blockwise observations not completing
2018-07-31 10:31:09 +03:00
cyliangtw
2fcbcf1789
Initialized return value of numaker_emac link-out
2018-07-31 12:01:43 +08:00
mudassar-ublox
ffb4f926e9
Artistic style applied and updated power function
2018-07-30 19:41:02 +05:00
Hasnain Virk
c7f3585e28
Clear distinction b/w class A & C data paths
2018-07-30 15:25:37 +03:00
Hasnain Virk
d76f6c07e9
Making recv timing error and preamble length configurable
...
We had a bug especially in the reception path. Our recv window opening
delays were being calculated on the premise that the radio has to capture
5 preamble symbols out of 8 transmitted by the base station. However, in PHY
layer while setting radio rc settings, we were setting preamble length to be 8.
Preamble length register needs to be configured differently for Uplink and Downlink.
For uplink, we wish to transmit 8 preamble symbols whereas in the reception path we need
to receive 5 preamble symbols at least out of 8.
Alongwith that the maximum range of timing error may vary from platform to platform as it
is based upon the crystal in the chip. We have now made these parameters configurable and
have loaded them with the most optimal defaults.
2018-07-30 15:25:36 +03:00
Hasnain Virk
24c5c58d4f
Mark an error in post processing if ack not recvd
...
If an ack is not received after maximum retries, we need to mark an error
which was missing from the post processing sequence.
2018-07-30 15:25:18 +03:00
Hasnain Virk
31aaea6749
[IOTCELL-1181] Fixing incorrect NetID causing ABP Failures
...
The issue rose up when using ARMC6. A test case didn't initialize NetID
parameter for ABP while using connect(params) API. NetID is the first 7 bits
of the Device Address. It makes sense to actually remove the net-id parameter
from ABP settings as the stack can deduce it from device address. However, the ABP
structure is exposed in public APIs, so we can't really do that at the moment.
Simpler fix is to move the mask that helps us to extract first 7 bits of the device address
is exposed in lorawan_types.h and the user can use it to deduce correct net-id.
2018-07-30 15:02:35 +03:00
deepikabhavnani
feda35503b
Remove debug print
2018-07-27 13:40:43 -05:00
Martin Kojtal
cde18aa0bc
cellular: astyle fix
2018-07-27 13:33:20 +01:00
Hasnain Virk
465fb447e5
AS923: Using LoRa modulation comatible DR as default
...
DR7 is used for FSK in AS932 region. As a default max DR, we should use a LoRa modulation
compatible data rate. Ofcourse if a device wishes to use FSK, it can set DR7 using set_data_rate() API
and turning off ADR, or an NS can configure a new channel for the device utilizing DR7.
2018-07-27 15:04:31 +03:00
Hasnain Virk
b0b026126c
[IOTCELL-1181] Using higher data rates to connect
...
The stack was trying to connect with default data rates which happened to be
the lowest data rates in a specific region. In the beginning device and NS do
not have agreed upon tx rx parameters and there can be synchronization issues.
When we use lower datarates, we may end up having a minute and a half long
transmissions that hnot only blocks the channel for a long time but also reduce
the chance of proper synch between device and NS. That's why we have decided to
begin with higher data rates and gradually decrease datarate if we do not hear
from the network server.
2018-07-27 15:04:31 +03:00
Hasnain Virk
36a4c557b7
[IOTCELL-1182] User TX priority over automatic uplinks
...
In the case when an automatic uplink was queued and the user do have something send,
we should give priority to user data instead od automatic uplink message.
2018-07-27 15:04:31 +03:00
Kimmo Vaisanen
668c6ab6fa
Lora: Fix cancel_sending
...
This commit fixes some bugs from cancel_sending() method:
- System crashed if method was called before initialization.
Now LORAWAN_STATUS_NOT_INITIALIZED will be returned.
- Method returned LORAWAN_STATUS_BUSY error when no send request was pending.
LORAWAN_STATUS_OK should be returned in this case.
- LORAWAN_STATUS_BUSY is now returned if backoff timer is just about to be
dispatched (time_left returns 0).
2018-07-27 13:30:27 +03:00
mudassar-ublox
a8abeccdac
UBLOX cellular api's for UDP and TCP
2018-07-26 19:20:38 +05:00
Martin Kojtal
b170e1c44d
Merge pull request #7587 from SeppoTakalo/fix-tpcserver-warning
...
Allow legacy TCPServer::accept() to override inherited Socket::accept()
2018-07-25 14:20:05 +02:00
Cruz Monrreal
0df9e15e4e
Merge pull request #7549 from TomoYamanaka/improve_ether
...
Revise heap and stack size for Ethernet of GR-PEACH
2018-07-24 11:47:45 -05:00
Seppo Takalo
96a90c2f2f
Allow legacy TCPServer::accept() to override inherited Socket::accept()
2018-07-24 18:06:04 +03:00
cyliangtw
7ea02d95a3
Add error handling for getting null tx buffer
2018-07-20 18:23:54 +08:00
Wajahat Abbas
fda096b4c4
Make ATHandler:cmd_start() virtual
2018-07-20 13:49:43 +05:00
Cruz Monrreal
d91d3a6e4c
Merge pull request #7520 from hasnainvirk/cont_join_issue
...
LoRaWAN: Wrong return code for JoinRequest retry
2018-07-19 13:06:57 -05:00
TomoYamanaka
f272472f2d
Revise heap and stack size for Ethernet of GR-PEACH
...
I changed stack size because the deafult stack size may not be enough for
Ethernet of GR-PEACH(Cortex-A).
- Stack size is default size + 128 byte
In order to maximize the performance of Ethernet, I changed heap size to
below.
- Heap size is default size * 32 byte(send descriptor num is 16 and recv
descriptoer num is 16).
2018-07-19 16:12:32 +09:00
Cruz Monrreal
e9e1ff997d
Merge pull request #7302 from OpenNuvoton/nuvoton_m2351_v1.1
...
Support Nuvoton's NUMAKER_PFM_M2351 target
2018-07-18 08:49:55 -05:00
Andres Amaya Garcia
5ced8e4fdf
Integrate mbed OS RTC with mbed TLS
...
The integration is simply to define the macro MBEDTLS_HAVE_TIME_DATE
in the features/mbedtls/platform/inc/platform_mbed.h. The default
implementation of the mbedtls_time() function provided by mbed TLS is
sufficient to work with mbed OS because both use POSIX functions.
2018-07-16 20:39:43 +01:00
David Saada
a224ca764a
Skip a few tests if not enough memory can be allocated for them.
2018-07-16 17:21:21 +03:00
Cruz Monrreal
be215a310d
Merge pull request #7448 from davidsaada/david_unity_test_skip
...
Unity: Add macros for test skipping.
2018-07-16 09:06:52 -05:00
Hasnain Virk
4a4f8de6f2
LoRaWAN: Wrong return code for JoinRequest retry
...
51f92b0efd
introduced
handling for connection attempts while a connection was already underway or have been
completed. Unfortunately a similar check slipped through and the stack was not able to continue
sending join requests if an error happened.
2018-07-16 16:28:52 +03:00
Cruz Monrreal
602b0cea09
Merge pull request #7079 from SiliconLabs/feature/EFM32GG11-OS5.9
...
Add support for EFM32GG11
2018-07-13 17:33:34 -05:00
Cruz Monrreal
c5ba97fbe0
Merge pull request #7445 from hasnainvirk/issue_7230
...
LoRaWAN: Remedy for issue #7230
2018-07-13 11:48:13 -05:00
Cruz Monrreal
a4117f65e2
Merge pull request #7318 from AriParkkila/cellular-max-packet-size
...
Cellular: Remove max_packet_size
2018-07-13 11:39:35 -05:00
Cruz Monrreal
4c1a89c6a7
Merge pull request #7459 from hasnainvirk/issue_7232_7432
...
LoRaWAN: FRMPayload size validity
2018-07-13 11:03:10 -05:00
Cruz Monrreal
68002155d3
Merge pull request #7107 from kjbracey-arm/ns-global-events
...
Add option to make Nanostack use global event queue
2018-07-12 10:06:03 -05:00
Hasnain Virk
ed9048f79c
Correcting unit for timeout
...
timeout unit should be ms not micro second.
2018-07-12 13:28:21 +03:00
Hasnain Virk
9a77b5d05f
FRMPayload size validity
...
It was pointed out in #7432 and #7232 that the stack was comparing frame payload size
with the allowed payload size in a wrong manner in shcedule_tx().
We must strip the overhead from the frame before comparison.
We did have a similar check in prepare_ongoing_tx() API which would correctly analyse
the situation but a check was needed in schedule_tx() as well. The reason is that the
schedule_tx() API can be called automatically by the stack if the user intiated requested
was not promptly entertained because of duty cycle restriction. Now, the datarate can change
here (for CONFIRMED messages if the ack was not received after retries max out). That's why
a test for validity was needed.
We now perform a comparison using _ongoing_tx_message structure which contains the actual
FRMPayload size.
For proprietary type of messages only MHDR and Port field is used so we shouldn't add MAC commands
and other overhead into them.
In order to have consistent frame overhead, we have opted to always include Port field in the
frame.
2018-07-12 13:28:15 +03:00
ccli8
43b98cf405
Fix Greentea test code with Cortex-M23/M33
...
Enlarge stack size of forked thread for Cortex-M23/M33 targets
2018-07-12 18:01:27 +08:00
Steven Cooreman
da377c6ed3
Add EFM32GG11 Ethernet driver
2018-07-11 18:13:04 +02:00
Cruz Monrreal
b290ff33f3
Merge pull request #7127 from davidsaada/david_nvstore_fix_test_alloc
...
NVStore tests: Tune memory consumption; stop threads greafully
2018-07-11 07:39:25 -05:00
David Saada
2b7d83652e
Unity: Add macros for test skipping.
...
The TEST_SKIP and TEST_SKIP_UNLESS macros (w/ and w/o messages) allow the test
to skip the test case execution from the point the macro was called (without
failing the test).
2018-07-11 14:51:05 +03:00
Mirela Chirica
ee41015304
Cellular: Fix socket_send unit test
2018-07-11 13:45:00 +03:00
Ari Parkkila
4d431cd1ae
Cellular: Removed max_packet_size
2018-07-11 13:11:47 +03:00
Cruz Monrreal
3f742c9b73
Merge pull request #7430 from kivaisan/user_constructed_phy_v2
...
Lora: Add support for runtime PHY selection
2018-07-10 22:11:21 -05:00
Mirela Chirica
7de9770f0c
Cellular: More unit tests for ATHandler's read routines
2018-07-10 15:09:09 +03:00
Mirela Chirica
aff55462f5
Cellular: Fix for ATHandler's read string and hexstring NULL termination
2018-07-10 15:09:09 +03:00
Hasnain Virk
f0844b4cfc
Streamlining connect() API with posix like retcodes
...
For ABP: First call to connect() or connect(params) will return LORAWAN_STATUS_OK
and a CONNECTED event will be sent. Any subsequent call will return
LORAWAN_STATUS_ALREADY_CONNECTED (posix EISCONN) and no event is generated.
FOR OTAA: First call to connect() or connect(params) will return LORAWAN_STATUS_CONNECT_IN_PROGRESS
and a CONNECTED event will be sent whenever the JoinAccept is received. If the application
calls connect again before receiving the CONNECTED event, LORAWAN_STATUS_BUSY will be returned.
After the CONNECTED event is dispatched, any subsequent call to connect() or connect(params) API
will be returned with LORWAN_STATUS_ALREADY_CONNECTED.
No new parameters are accepted after the first call. The application must disconnect before making
a connect() call with new parameters.
2018-07-10 13:31:50 +03:00
Cruz Monrreal
8f43223646
Merge pull request #7412 from bmcdonnell-ionx/bugfix-fatfs-dir-list-when-full
...
apply FatFs 0.13b hotfix - fix readdir() never terminates when dir is full
2018-07-09 10:17:12 -05:00
Melinda Weed
bae4c89d0f
Remove shall, whole lotta other changes. Not done yet.
2018-07-09 15:06:11 +03:00
Hasnain Virk
24db1c81ec
Updating docs
...
API documentation is updated to clear how the connection related return codes will
work from now on.
2018-07-09 13:00:01 +03:00
Hasnain Virk
51f92b0efd
LoRaWAN: Handling re-joining when already Joined
...
This is a remedy for the issue #7230 .
While the device is joining, LORAWAN_STATUS_CONNECT_IN_PROGRESS is returned.
However, if the device is already joined, we will return LORAWAN_STATUS_ALREADY_CONNECTED.
2018-07-09 12:59:54 +03:00
Kevin Bracey
229dfe5ce2
Add Apache licenses to ns_hal files
2018-07-09 12:58:39 +03:00
Kevin Bracey
8ad3e47a7e
Add option to make Nanostack use global event queue
2018-07-09 12:58:38 +03:00
Kimmo Vaisanen
0397b0b292
Lora: Support user provided LoRaPHY object
...
To support custom PHY object, a new LoRaWANInterface constructor was
added.
2018-07-06 15:11:10 +03:00
Kimmo Vaisanen
50004ca89a
Lora: Add initialize() method to set LoRaWANTimeHandler class for phy
...
Instead of giving LoRaWANTimeHandler object as parameter for constructor,
object is now given via own initialize() method.
This change is needed for future refactoring where application can give own
PHY object for LoRa stack.
2018-07-06 10:04:44 +03:00
Cruz Monrreal
93233c4f5d
Merge pull request #7364 from 0xc0170/fix_storage_rtos
...
Fix storage rtos types - remove including internal header file
2018-07-05 14:29:46 -05:00
Cruz Monrreal
cec30ae4cb
Merge pull request #7414 from mikaleppanen/nano_heap_stats_conf
...
Added json options for nanostack heap statictics
2018-07-05 10:42:58 -05:00
Cruz Monrreal
87b3faeff0
Merge pull request #7399 from hasnainvirk/bug_fix_recv_window
...
Bug fix for receive windows
2018-07-05 10:40:51 -05:00
Vincent Coubard
7a8cc0243f
Cordio Documentation: Explain how to tests and what tools are available.
2018-07-04 12:46:41 +01:00
Mika Leppänen
46bcbf2a28
Added json options for nanostack heap statictics
...
Added configuration options to mbed-mesh-api mbed_lib.json to enable
nanostack nsdynmemLIB heap statistics.
2018-07-04 10:35:35 +03:00
Brendan McDonnell
efc03293dd
FatFs 0.13b hotfix - fix readdir() never terminates when dir is full.
...
http://elm-chan.org/fsw/ff/patches.html
http://elm-chan.org/fsw/ff/ff13b_p1.diff
https://github.com/ARMmbed/mbed-os/issues/5780
2018-07-03 17:03:35 -04:00
Cruz Monrreal
b50f09d57d
Merge pull request #7384 from OpenNuvoton/nuvoton_fix_mbr_memleak
...
Fix memory leakage with MBR on exiting error path
2018-07-03 07:37:43 -05:00
Hasnain Virk
bf78e264c8
Bug fix for receive windows
...
In rx_config(params) API we shouldn't check for radio state as radio may never get
idle for a class C device. That check made sense only for class A. As the PHY layer
have no conecpt of receive windows which is a MAC layer construct, we should remove the
state check.
The API will be changed later to void rx_config(params).
In addition to that another bug is fixed in the open_rx2_windows() API. We should set the rx slot
first before instantiating a test based on its value.
2018-07-02 18:42:21 +03:00
Martin Kojtal
226e799d5b
Merge pull request #7389 from artokin/update_libservice
...
Update nsdynmemlib in frameworks/nanostack-libservice
2018-07-02 17:32:23 +02:00
Martin Kojtal
20adbf0c05
Merge pull request #7239 from TeroJaasko/let_config_remove_dns_cache_code
...
netsocket: dns: make dns-cache-size:0 remove whole DNS cache code
2018-07-02 17:26:46 +02:00
Martin Kojtal
3ee8f3214f
Merge pull request #7348 from hasnainvirk/doc_fix
...
LoRaWAN: Correcting doxygen
2018-07-02 17:24:52 +02:00
Arto Kinnunen
3d5010de12
Merge commit 'a184ff592b547f153aa14c99329f65fd18515b0d'
...
* commit 'a184ff592b547f153aa14c99329f65fd18515b0d':
Squashed 'features/frameworks/nanostack-libservice/' changes from ddd45db..2705b9b
2018-07-02 13:15:58 +03:00
ccli8
7cc1245308
Fix memory leakage with MBR on exiting error path
2018-07-02 11:29:29 +08:00
Cruz Monrreal
58b725be85
Merge pull request #7359 from u-blox/sim_pin_init
...
Cellular: EasyCellularConnection::connect doesn't have any check that "CellularConnectionFSM" object is created or not
2018-06-29 20:08:16 -05:00
Cruz Monrreal
f10bb88b97
Merge pull request #7294 from jeromecoutant/PR_GREENTEA_STAT
...
Add CPU stats for greentea tests
2018-06-29 19:57:42 -05:00
Amanda Butler
aa53ee6204
Copy edit LoRaWANBase.h
...
Copy edit for precise language and comma use.
2018-06-29 14:28:44 -05:00
Amanda Butler
563d742872
Copy edit LoRaWANinterface.h
...
Copy edit for precise language and comma use.
2018-06-29 14:27:45 -05:00
Tero Jääskö
2e89fa22a5
netsocket: dns: make dns-cache-size:0 remove whole DNS cache code
...
Setting ""nsapi.dns-cache-size": 0" still left some of the DNS
caching code in. Add crude #if to remove all of it.
This allows one to save 429 bytes of flash and 48 bytes of RAM on
ARMC5 builds.
2018-06-29 18:17:19 +03:00
David Saada
1b5b8390ea
NVStore tests: Tune memory consumption; stop threads greafully
...
- Tune thread stack size in nvstore test using heap stats
- Stop threads gracefully instead of killing them (in multi-thread test)
2018-06-29 14:35:34 +03:00
Martin Kojtal
4d8baa7451
emac targets: fix thread cb type
2018-06-29 08:35:20 +01:00
Cruz Monrreal
d06826b2a4
Merge pull request #7335 from hasnainvirk/recieve_api_change
...
LoRaWAN: Refactoring LoRaRadio::receive(uint32_t) API
2018-06-28 19:41:39 -05:00
Cruz Monrreal
34fd640955
Merge pull request #7344 from hasnainvirk/tx_timeout_fix
...
LoRaWAN: Fixing transport of fatal TX timeout event
2018-06-28 10:08:26 -05:00
Cruz Monrreal
cb000ceeab
Merge pull request #7336 from SeppoTakalo/fix_udp_filtering
...
Fix connected UDPSocket filtering
2018-06-28 10:06:52 -05:00
Cruz Monrreal
bf21bac52d
Merge pull request #7351 from jeromecoutant/PR_ASTYLE
...
STM32 files with MBED astyle rules
2018-06-28 10:06:03 -05:00
Martin Kojtal
82b490b0cf
kinetis: fix rtos storage type for thread
2018-06-28 15:11:00 +01:00
Martin Kojtal
1188f4a0b9
lwip: fix rtx storage types
2018-06-28 14:40:00 +01:00
Martin Kojtal
f2cc21d038
device key: add memset include
2018-06-28 14:17:15 +01:00
jeromecoutant
35c9ddc356
Add CPU stats for greentea tests
2018-06-28 10:54:58 +02:00
mudassar-ublox
1e150c96b5
Cellular: Fixed set_sim_pin method calling
2018-06-28 11:49:20 +05:00
Cruz Monrreal
719d8e0ea5
Merge pull request #7341 from jarvte/packet_domain_urc_for_disconnect_callback
...
Cellular: improved observing of disconnect for callbacks.
2018-06-27 18:44:06 -05:00
Cruz Monrreal
d3641fd4a0
Merge pull request #7320 from anttiylitokola/master
...
Update mbed-coap to version 4.5.0
2018-06-27 18:43:23 -05:00
jeromecoutant
408209989e
TARGET_STM USB astyle
2018-06-27 15:01:23 +02:00
jeromecoutant
6391b7f2fa
TARGET_STM_EMAC astyle
2018-06-27 15:00:51 +02:00
jeromecoutant
057142167b
TARGET_STM mbedtls astyle
2018-06-27 15:00:04 +02:00
Hasnain Virk
ce1e210e4a
Correcting doxygen
...
Use of MSG_FLAGS was updated in previous PRs but the doc was not updated
accordingly.
2018-06-27 15:25:22 +03:00
Hasnain Virk
7ce434b274
LoRaWAN: Fixing transport of fatal TX timeout event
...
This commit fixes the issue reported in #7285 .
If the radio is unable to transmit, its a fatal error and can happen
both while joining or sending a normal packet. In the case of such
a catastrophy we ought to tell the application that this happened.
A fix for the radio driver will also be patched.
2018-06-27 11:41:30 +03:00
Teppo Järvelin
5ccfd9f83c
Cellular: improved observing of disconnect for callbacks.
2018-06-27 09:34:09 +03:00
Cruz Monrreal
0132e7c1a7
Merge pull request #7273 from jarvte/update_cellular_unit_tests
...
Cellular: added unit tests for new API functions (sim, power, base, device).
2018-06-26 20:41:52 -05:00
Seppo Takalo
f2c0c4e248
Fix connected UDPSocket filtering
...
Was dropping all packets from connected peer
2018-06-26 17:01:19 +03:00
Hasnain Virk
10c3019e06
Refactoring LoRaRadio::receive(uint32_t) API
...
receive(uint32_t) API in the LoRaRadio class (base class for the radio drivers) should
not take any argument as we decided to take hardware timers for RX timeout interrupts
instead of software timers. It is being refactored to receive(void).
This is an API change, but as it is not an application interface, we will not put a
deprecation notice. Only user of this API is our stack (LoRaPHY layer) which has been updated
accordingly.
Actual driver comes out of the tree and a PR is open there to update the drivers:
https://github.com/ARMmbed/mbed-semtech-lora-rf-drivers/pull/22
In addition to this an internal API belonging to LoRaPHY class is refactored.
set_rx_window(parameters) is refactored to handle_receive(void) which is more consistent with
handle_send().
2018-06-26 15:47:51 +03:00
Teppo Järvelin
9f68977fee
Cellular: Rebase and fix tests as they got broken in rebase.
2018-06-26 09:14:15 +03:00
Teppo Järvelin
4bd4042101
Cellular: updated unit tests.
2018-06-26 09:08:26 +03:00
Teppo Järvelin
f64c84b1b7
Cellular: review fixes for cellularinformation tests.
2018-06-26 09:05:46 +03:00
Teppo Järvelin
8624765c06
Cellular: added greentea tests for CellularInformation.
2018-06-26 09:05:46 +03:00
Teppo Järvelin
f84862191c
Cellular: added more CellularInformation unit tests.
2018-06-26 09:05:46 +03:00
Cruz Monrreal
f3424da060
Merge pull request #7287 from SeppoTakalo/remove_feature_lwip
...
Remove FEATURE_LWIP
2018-06-25 11:23:15 -05:00
Martin Kojtal
8756183478
Merge pull request #7299 from ARMmbed/g-fix-mbr-invalid
...
MBR: Fix issue with MBR init asserting on bad partition size
2018-06-25 17:45:12 +02:00
Cruz Monrreal
24efa4c06e
Merge pull request #7192 from SeppoTakalo/socket-refactor
...
Create abstract Socket interface
2018-06-25 10:18:51 -05:00
Cruz Monrreal
dd7555e9ed
Merge pull request #7243 from k-stachowiak/disable-mbedtls-xts-default
...
Disable XTS cipher mode by default when importing Mbed TLS
2018-06-25 10:13:21 -05:00
Cruz Monrreal
2e233a96d3
Merge pull request #7210 from pan-/fix-nordic-security-cancellation
...
Fix nordic security cancellation
2018-06-25 10:12:23 -05:00
Cruz Monrreal
335fd58a7c
Merge pull request #7269 from jarvte/add_cellular_network_tests
...
Cellular: add cellular network tests
2018-06-25 10:05:20 -05:00
Antti Yli-Tokola
c887248544
Update mbed-coap to version 4.5.0
...
Fix error: IIOTCLT-2769 - mbed-coap: extra response received after registration
Added own flag to enable blockwise support, without setting default blockwise
payload size. This allows to receive blockwise messages while still sending
without blockwise.
Fix CoAP request blockwise response handling
When request is sent, response can have blockwise option set. All requests must
be stored to the linked list.
2018-06-25 17:08:52 +03:00
Cruz Monrreal
d160cc6cd0
Merge pull request #7284 from KariHaapalehto/wise1530_usi22_support
...
Add binary drivers for MTB_USI_WM_BN_BM_22 and MTB_ADV_WISE_1530
2018-06-22 10:16:16 -05:00
Cruz Monrreal
d18aa9072f
Merge pull request #7262 from paul-szczepanek-arm/gap-params
...
BLE: Add setScanParams overload to the Gap API
2018-06-22 10:15:14 -05:00
Vincent Coubard
4b8fb0be78
Nordic BLE: Fix return value verification
2018-06-22 09:36:06 +01:00
Vincent Coubard
b68e18cdb4
Nordi BLE: Fix formatting
2018-06-22 09:35:34 +01:00
Cruz Monrreal
85f66ca96f
Merge pull request #7275 from jarvte/fix_sim_null_when_used
...
Cellular: fixed defect where SIM interface was closed too early
2018-06-21 23:33:03 -05:00
Cruz Monrreal
34513f2a92
Merge pull request #7221 from pan-/cordio-port-test
...
Cordio: Add tests that validates a cordio port.
2018-06-21 23:30:39 -05:00
Christopher Haster
28a78308af
Fixed issue with MBR init asserting on bad partition size
2018-06-21 17:09:23 -05:00
Amanda Butler
da6f2d958b
Copy edit CellularConnectionFSM.h
...
Copy edit for consistent tense and comma usage.
2018-06-21 11:12:08 -05:00
Kari Haapalehto
699811be72
Add binary drivers for MTB_USI_WM_BN_BM_22 and MTB_ADV_WISE_1530
2018-06-21 12:15:53 +03:00
Seppo Takalo
c544ce0a3b
Add deprecation warning for those who enable LWIP or NANOSTACK
...
This is dropped by linker so does not cause any RAM/ROM cost.
2018-06-21 11:00:00 +03:00
Seppo Takalo
e4d1a9a85a
Remove FEATURE_LWIP. The LwIP stack is enabled on all builds now
...
Leave the FEATURE_LWIP enabled in build scripts so that it does
not break any builds.
Removed 'feature_add: ["LWIP"]' on all targets.
2018-06-21 11:00:00 +03:00
Seppo Takalo
adce2d9172
Remove deprecatd LwIP eth drivers
2018-06-21 10:28:50 +03:00
Vincent Coubard
d2ecdb8900
Cordio BLE: Rewrite reset test strategy
...
The existing test was expecting that the acknowledgement of the reset command would be the first and only event receive. This assumption is false.
As a consequence, the new code parse all incoming packets and raise a flag in the following circumstances:
* a reset packet has been successfully received.
* RX stream is not synchronized
* The status of the reset command is an error.
Another test has been added that send a serie of reset commands.
2018-06-20 15:24:37 +01:00
Teppo Järvelin
1a60422b74
Cellular: fixed defect where SIM interface was closed too early causing crash with certain configurations.
2018-06-20 14:15:22 +03:00
Vincent Coubard
4f8a006f3b
Cordio BLE: Document in test what fields are expected to be set after init.
2018-06-20 12:01:28 +01:00
Vincent Coubard
5b7f7aa77b
Cordio BLE: Fix test failure when controller initialization failed.
2018-06-20 12:00:52 +01:00
Seppo Takalo
1ca9ccda73
Filter incoming UDP packets based on connected peer address.
2018-06-20 12:38:07 +03:00
Seppo Takalo
e7cb4752fa
Fix small issues from the review
2018-06-20 12:38:07 +03:00
Seppo Takalo
2b60e42756
Close Doxygen group at the end of file
2018-06-20 12:38:07 +03:00
Seppo Takalo
96ef8e345d
Move string allocation to a point where get_ip_address() is called
...
This saves RAM/stack on typical socket usage where human readable
format is not exchanged so often.
2018-06-20 12:38:07 +03:00
Seppo Takalo
407b2f275d
Move accept() to abstract socket class and implement in TCPSocket
...
Deprecate TCPServer in favor of just TCPSocket::accept()
2018-06-20 12:38:07 +03:00
Seppo Takalo
cdbe43c0d5
Refactor Sockets by moving functions up into common base.
...
* Move IP Socket stuff to InternetSocket class which is inherited by TCP/UDP
* Implement sendto() and recvfrom() on TCP socket
* Implement connect() call on UDP
* Implement send() and recv() calls on UDP socket
2018-06-20 12:38:06 +03:00
paul-szczepanek-arm
399191fc9c
reuse existing call
2018-06-20 08:24:26 +01:00
Teppo Järvelin
1fb4d2dfc9
Cellular: fixed unit tests after rebasing with master.
2018-06-20 09:08:51 +03:00
Teppo Järvelin
861867e3cc
Cellular: Added network unit tests.
2018-06-20 08:28:00 +03:00
Teppo Järvelin
7efa041fcb
Cellular: added greentea tests for CellularNetwork.
2018-06-20 08:28:00 +03:00
Cruz Monrreal
e8005f6d72
Merge pull request #7206 from mikaleppanen/k64f_async_powerup
...
K64f non-blocking powerup
2018-06-19 21:49:37 -05:00
Cruz Monrreal
ba5b5a3870
Merge pull request #7191 from hasnainvirk/precise_timing
...
LoRaWAN: Fine tuning timing for delays and receive windows
2018-06-19 09:48:52 -05:00
paul-szczepanek-arm
4b1ce49ee1
use sets to apply limits
2018-06-19 15:18:11 +01:00
Cruz Monrreal
fcfe6e1c43
Merge pull request #7217 from AriParkkila/cellular-info-sim
...
Cellular: Add AT+CCID and AT+CGSN
2018-06-19 08:54:49 -05:00
Cruz Monrreal
d1dc1e849e
Merge pull request #7146 from jarvte/add_cellular_sim_and_power_tests
...
Cellular: Added power and sim greentea and unit tests.
2018-06-19 08:46:51 -05:00
Cruz Monrreal
2bb686ff1e
Merge pull request #7245 from SeppoTakalo/fix-default-interface
...
Fix default interface selection by using correct macro names.
2018-06-19 08:46:28 -05:00
paul-szczepanek-arm
588e68bccf
add setScanParams overload
2018-06-19 14:36:18 +01:00
Martin Kojtal
0658544cb6
Merge pull request #7207 from mikaleppanen/dns_singletons
...
Change DNS global class definitions to singletons
2018-06-19 14:14:21 +02:00