Commit Graph

3299 Commits (dc56a06646772d79823335218e6156faf44c6501)

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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