Commit Graph

23710 Commits (9567800914f342df50460b1ee5652c6d11f32b71)

Author SHA1 Message Date
Mirela Chirica 9567800914 Cellular: Fix network interface test for cellular targets 2019-04-05 12:26:18 +01:00
Teppo Järvelin a12f8cd5db Cellular: don't allow ATHandler read/write if filehandle not usable
For example after going to ppp mode we must block at write and
read as filehandle is not usable.
2019-04-05 12:26:18 +01:00
Arto Kinnunen 54c8d5a0f5 Nanostack 802.15.4 RF drivers update
Sync Nanostack RF drivers from master copies:
-Atmel: v3.0.7
-MCR20A: v1.0.3
-S2LP: v0.0.4
2019-04-05 12:26:18 +01:00
Ashok Rao 2daa3e6783 Removing redundant code.
MCO pins are not brought out on MTB / MCB design.
2019-04-05 12:26:18 +01:00
Ashok Rao 5e39bf8eec Adding STM32_F439 as a new MTB target 2019-04-05 12:26:18 +01:00
jeromecoutant 85d832eb9f STM32H7 ADC internal channels 2019-04-05 12:26:18 +01:00
Teppo Järvelin 811984aa26 Cellular: fix astyle for files that already in master 2019-04-05 12:26:18 +01:00
Teemu Kultala d2a645da72 cellular: remove last CELLULAR_DEVICE references 2019-04-05 12:26:17 +01:00
Veijo Pesonen 676408d8aa test_configs: generic app config for boards with Wi-Fi 2019-04-05 12:26:17 +01:00
Teppo Järvelin 390eea4852 Cellular: call AT+CGEREP after sim is ready
Current implementation did call AT+CGEREP before sim was ready
and it was failing in most modems.
2019-04-05 12:26:17 +01:00
Sebastian Stockhammer c9fcf72b77 Setup connection profile with username and password 2019-04-05 12:26:17 +01:00
Brian Daniels 9503734260 Fixing uvision exporter with CPM updates 2019-04-05 12:26:17 +01:00
Brian Daniels c0fba2fcde Ensure all exported paths use Posix style separators.
mbed_config.h is a file that is placed in your project root when you
export. This allows the configuration to be used by your IDE. When this
file already exists (due to a previous export), it changed the compiler
include option on Windows from "-include mbed_config.h" to "-include
.\mbed_config.h". The "\" character was interpreted as an escape
character "\m" and broke the build. This converts all resource paths to
use the Posix path separator "/" before writing project files to avoid
this issue.
2019-04-05 12:26:17 +01:00
Brian Daniels fc37879873 Fix include paths for uvision when exported with Python 3.
The call to encode() was causing the include paths to be placed in the
uvision product file with the prefix "b'" and the postfix "'". This
broke the parsing of this file and broke the build.
2019-04-05 12:26:17 +01:00
Ari Parkkila c2e730c15c Cellular: Remove compile dependency of UARTSerial 2019-04-05 12:26:16 +01:00
Kevin Bracey 5df623199b mbed_error.c: fix warnings
Correct printf formats, and avoid an unused static function warning.
2019-04-05 12:26:16 +01:00
Artturi Ramanen ef6ced3aa0 Selectively append changes to exported config files
In case of a non-overwriting change to an exported config file
the previous logic appended a new block of text to the previous file
every time the to-be-written block of text was not exactly matched.

This parses the old config file and the to-be-written changes into
sets, which can then be compared. If all of the incoming lines are
found in the old config file set, no changes are made. If some
incoming lines are not found in the old config file, only these are
appended.
2019-04-05 12:26:16 +01:00
Sebastian Stockhammer f78e7c7365 Disable dual stack mode for ehs5-e 2019-04-05 12:26:16 +01:00
Sebastian Stockhammer bd15aeaa05 Revert "Disable dual stack mode"
This reverts commit 8611474e6c.
2019-04-05 12:26:15 +01:00
Sebastian Stockhammer 4408bb696c Disable dual stack mode 2019-04-05 12:26:15 +01:00
Sebastian Stockhammer 7d37750b5c Fix registration modes and disable CGSN with type 2019-04-05 12:26:15 +01:00
Sebastian Stockhammer f0e61e7f41 Support Cinterion EHS5-E cellular module 2019-04-05 12:26:15 +01:00
Desmond Chen 7482a86de0 BLE:fix on_phy_update_complete function 2019-04-05 12:26:15 +01:00
Mirela Chirica 6cbe74f794 Cellular: AT information response to return false on empty prefix 2019-04-05 12:26:15 +01:00
Jimmy Brisson c853372506 Clean up all lint warnings in targets 2019-04-05 12:26:15 +01:00
Jimmy Brisson a5b13ab7ef Simplify conditions with get and getattr optional arguments 2019-04-05 12:26:14 +01:00
Jimmy Brisson bc1fbe3432 Explicitly return None 2019-04-05 12:26:14 +01:00
Jimmy Brisson d025435d2a Correct post-build filtering options 2019-04-05 12:26:14 +01:00
Arto Kinnunen afcf6941ad Update nanostack-interface error mapping
Use status NSAPI_ERROR_PARAMETER instead of NSAPI_ERROR_UNSUPPORTED
when error is caused by parameter.
2019-04-05 12:26:14 +01:00
Vincent Coubard ab06c1f9ea BLE - Use LowPower Ticker and Timer for address rotation and scan timeout. 2019-04-05 12:26:14 +01:00
Vincent Coubard 165732938f BLE - Use LowPowerTimer instead of Timer in the Cordio stack. 2019-04-05 12:26:14 +01:00
paul-szczepanek-arm 46f935723c change tick rate to 1 ms 2019-04-05 12:26:14 +01:00
Brian Daniels 092bacb91d Add imports of basestring for python 3 2019-04-05 12:26:14 +01:00
d-kato a384f140e1 Fix condition statement of write function 2019-04-05 12:26:13 +01:00
d-kato 41c422bc9a Add PWM pin for GR-LYCHEE 2019-04-05 12:26:13 +01:00
d-kato 080ca96304 Remove noise when duty is 0% and 100% 2019-04-05 12:26:13 +01:00
d-kato 7f08937c6d Changed PWM period setting register for RZ/A1 2019-04-05 12:26:13 +01:00
d-kato 255a4d447e Refactoring PWM driver for RZ/A1 2019-04-05 12:26:13 +01:00
Teppo Järvelin 931add3261 Increased timeout for lwip waiting netif_is_link_up
Cellular PPP connect fails too often if timeout is 15s so increased to 60 seconds.
Tested to be enough with BG96 and MTB_MTS_DRAGONFLY.
2019-04-05 12:26:13 +01:00
Desmond Chen 57636b08ad BLE:Cordio:Fix insert characteristic not handle error 2019-04-05 12:26:13 +01:00
Vincent Coubard 9504abdcba BLE - Report extended advertising in legacy handler if legacy API in use.
Workaround for the Cordio stack as extended advertising can be reported for a legacy advertising command.
2019-04-05 12:26:13 +01:00
Volodymyr Medvid ba751e3d4a Correctly include EventQueue.h
There are two EventQueue.h in mbed-os codebase:
events/EventQueue.h
features/FEATURE_BLE/ble/pal/EventQueue.h

By accident, `mbed compile` generates includes.txt with the correct
order of include search paths. This is not the case for the CMake
exporter: targets with FEATURE_BLE enables fail to compile with errors:

mbed-os/features/cellular/framework/AT/ATHandler.h:99:60: error:
'events' has not been declared

Update all places to always include either "events/EventQueue.h"
or "ble/pal/EventQueue.h": to always find the correct header.
2019-04-05 12:26:12 +01:00
arekzaluski 0c67c63a6b Update manifest tool to version 1.4.8 and install it from pypi 2019-04-05 12:26:11 +01:00
Marcus Chang 61851aad07 Add missing RSPIF component to the defaut BlockDevice handler 2019-04-05 12:26:10 +01:00
arekzaluski c5b540d2b1 Remove fuzzywuzzy dependency 2019-04-05 12:26:10 +01:00
Desmond Chen 5a35956cb6 BLE:Fix cordio reset sequence 2019-04-05 12:26:10 +01:00
Lin Gao ecfb82e8e2 Remove intervaltree from requirements.txt for mbed-os as it contradicts pyocd requirements 2019-04-05 12:26:10 +01:00
Jan Jongboom 716e4d43cb OdinWifiInterface is calling memcpy with a null pointer 2019-04-05 12:26:10 +01:00
Teppo Järvelin b031dfa1d7 Cellular: removed manual registering state.
Simplified state machine by removing manual registering state.
This was done as some modems did not have all the needed at commands
for checking the registered network. Some modem run out of memory as when
checking correct network there might be so many networks available.
Manual registration still works but it does not do any checks to which network
it's registered. Moved manual registering at command earlier in state machine so it forces
registering to a correct network. Internal refactor/fix, does not affect applications.
2019-04-05 12:26:10 +01:00
Desmond Chen cf7550fb85 BLE:Cordio:insert_descriptor check r/w properties 2019-04-05 12:26:10 +01:00