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
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
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
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
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
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