Cruz Monrreal
4af3c38078
Merge pull request #10210 from jarvte/cellulardevice_from_context
...
Cellular: CellularContext must provide access to CellularDevice
2019-03-28 17:09:48 -05:00
Cruz Monrreal
716beb96ad
Merge pull request #10214 from hasnainvirk/rx_metadata_toa
...
LoRaWAN: Adding TOA and Channel info in RX metadata
2019-03-28 17:07:39 -05:00
Cruz Monrreal
cd8d362899
Merge pull request #10231 from artokin/nanostack_armc6_update
...
Nanostack ARMC6 update
2019-03-28 17:07:32 -05:00
Cruz Monrreal
48c78ae79a
Merge pull request #9971 from KariHaapalehto/status_callback
...
Correct thread status callback functionality
2019-03-28 17:05:34 -05:00
Cruz Monrreal
d3d0622ac8
Merge pull request #10230 from u-blox/cellular_network_test
...
Cellular: cellular_network_test Compilation Error Removed
2019-03-27 17:07:32 -05:00
Cruz Monrreal
4cdc3b7cb8
Merge pull request #10219 from paul-szczepanek-arm/fix-legacy-scan-timeout
...
BLE: fix scan timeout being called from interrupt
2019-03-27 13:35:06 -05:00
Hasnain Virk
8fd791db49
Adding TOA and Channel info in RX metadata
...
We provide now downlink channel frequency and time on air for the
received frame in the RX metadata.
Previously the channel information in both TX and RX metada contained
the index number of the channel. That information wasn't very useful
except the index numbers of default channels. To make more sense of the
meta data, we now store the channel frequency in the channel parameter
rather than the index number of the channel.
RX time on air is collected from the radio driver and it is assumed that
the downlink frame had 8 downlink preamble symbols (plus 4.25 of the
preambles added by the chip) for LoRa modulation.
This commit also include a bit of tidying of RX frequency storage in rx
configuration parameters storage. Previously we were missing filling in
the RX1 frequency correctly.
2019-03-27 10:23:43 +02:00
Cruz Monrreal
2520c77e75
Merge pull request #10110 from theamirocohen/improve_gen_bd_tests
...
Improve genenral BlockDevice tests
2019-03-27 00:34:19 -05:00
Cruz Monrreal
a0a265ad84
Merge pull request #10196 from hasnainvirk/premature_rx2_fix
...
LoRaWAN: Fixing premature RX2 closure
2019-03-27 00:26:12 -05:00
Cruz Monrreal
365cf1143e
Merge pull request #10162 from pan-/cordio-driver-notify-inactivity
...
BLE - Notify HCI driver of host stack inactivity
2019-03-27 00:26:02 -05:00
Cruz Monrreal
e8e6ad4a06
Merge pull request #10190 from tymoteuszblochmobica/fixtcp
...
Fixed compilation error in LWIPStack class if lwip tcp is disabled.
2019-03-27 00:23:37 -05:00
Cruz Monrreal
eff15804b7
Merge pull request #10154 from itziardelatorre/itziar
...
Fix for LoRaWAN downlink sequence counter rollover
2019-03-27 00:22:37 -05:00
paul-szczepanek-arm
82112b6c52
simplify call
2019-03-26 10:53:10 -05:00
paul-szczepanek-arm
de539e146b
update comments
2019-03-26 10:53:10 -05:00
paul-szczepanek-arm
dad6844167
bounce scan timeout of the queue
2019-03-26 10:53:10 -05:00
mudassar-ublox
71e5a1d2e7
cellular_network_test compilation error removed
2019-03-26 18:04:42 +05:00
Amir Cohen
ba6748fe41
Improve general Block Device tests
...
Fixing all rand issues, aligning erase addresses, moving prints to debug mode.
2019-03-26 14:49:57 +02:00
Arto Kinnunen
adedd05139
Fix compiler warnings in Nanostack HAL
...
Fix compiler warnings:
-"warning: 'size' argument to memset is '0'"
-"warning: implicit declaration of function"
2019-03-26 13:19:33 +02:00
Arto Kinnunen
f348325dbd
Squashed 'features/nanostack/coap-service/' changes from 227cc3d..086e7ba
...
086e7ba Adjust variable scope (#121 )
git-subtree-dir: features/nanostack/coap-service
git-subtree-split: 086e7ba8a1afdcfe3df16ae92ef28cae1af5a4a6
2019-03-26 13:19:18 +02:00
Teppo Järvelin
b0ee22c96b
Cellular: CellularContext must provide access to CellularDevice
...
When using NetworkInterface::get_default_instance() application gets handle
to CellularInterface which is actually CellularContext derived from CellularInterface.
Application needs also handle to CellularDevice to open other interfaces.
2019-03-26 07:29:11 +02:00
Martin Kojtal
ac118eaedc
Merge pull request #10164 from Patater/tls-2.17.0
...
tls: Update Mbed TLS to 2.17.0
2019-03-23 16:33:52 +01:00
Martin Kojtal
f6fc71c501
Merge pull request #10152 from Patater/crypto-1.0.0
...
crypto: Update Mbed Crypto to 1.0.0
2019-03-23 16:33:32 +01:00
Hasnain Virk
2691b83c4e
Fixing premature RX2 abort
...
A bug while setting up RX start timers would result in premature closusre
of RX2 window. The 'ack_Timeout_timer' would be invoked prematurely and
at that time RX2 window may be being demodulating. This resulted in
massive instability with any test that relied on Confirmed traffic or
lower data rates.
To fix the issue, we must know the length of the RX window in
milliseconds and for this purpose we have extended the
'get_rx_window_params(...)' API. The length of the time the window
may remain open must be accounted for while setting up
'ack_timeout_timer'.
2019-03-22 15:15:51 +02:00
Hasnain Virk
2618813c70
Ack timeout must be at least 2 seconds
...
While calculating ack timeout, we were ending up getting a random value
which may become less than 2 seconds. This is not allowed as per v1.0.2
specification.
To fix the issue we now take the random number from 0 to 2000 ms and
then add that to the fixed 2000 ms ack timeout value, guaranteeing a
value at least equal to 2000 ms.
2019-03-22 15:15:51 +02:00
Martin Kojtal
1d8c3d4553
Merge pull request #10179 from u-blox/n2xx_provide_default
...
Cellular: C030_N2XX default interface
2019-03-22 06:33:24 +01:00
Martin Kojtal
e7a4658256
Merge pull request #10180 from AriParkkila/fix-wise-1570
...
Fix SPIF speed for MTB_ADV_WISE_1570 and max packet size for BC95
2019-03-22 06:32:39 +01:00
Tymoteusz Bloch
646c925d60
Fixed compilation error in LWIPStack class if lwip tcp is disabled.
2019-03-21 17:58:31 +01:00
Martin Kojtal
014a5ec487
Merge pull request #10172 from kivaisan/fix_plmn_iar_trace
...
Cellular: Fix plmn trace for IAR
2019-03-21 10:05:20 +01:00
Ari Parkkila
bdd07b6a37
Cellular: Fix max packet size for BC95 driver
2019-03-21 01:11:28 -07:00
mudassar-ublox
2f37e371b4
C030_N2XX default interface
2019-03-21 11:57:32 +05:00
Martin Kojtal
839e977bee
Merge pull request #10138 from jarvte/athandler_filehandle_not_usable
...
Cellular: don't allow ATHandler read/write if filehandle not usable
2019-03-20 15:39:12 +01:00
Kimmo Vaisanen
06caa0ff14
Cellular: Fix plmn trace for IAR
...
IAR compiler does not seem to like printing null strings.
2019-03-20 14:39:07 +02:00
Martin Kojtal
23cd1aa083
Merge pull request #10140 from jarvte/astyle_fixes
...
Cellular: fix astyle for files that already in master
2019-03-20 13:24:23 +01:00
Martin Kojtal
c6d3d8326e
Merge pull request #10005 from TeemuKultala/cellular_remove_device
...
cellular: remove last CELLULAR_DEVICE references
2019-03-20 13:18:23 +01:00
Jaeden Amero
20598bcea1
tls: Update Mbed TLS to 2.17.0
...
There are no differences from the previously imported version of Mbed
TLS other than the version number.
2019-03-19 16:55:56 +00:00
Vincent Coubard
339c57f6a7
BLE - Use low power timeout in cordio::BLE::callDispatcher .
2019-03-19 16:26:29 +00:00
Vincent Coubard
63b7e69d89
BLE - Signal to the HCI driver when the host stack is inactive
2019-03-19 16:25:24 +00:00
Vincent Coubard
7ee811141b
BLE - Add CordioHCIDriver::on_host_stack_inactivity
...
This callback should be called by the host stack when it has no pending activities. It allows a driver to put its controller to sleep.
2019-03-19 16:08:04 +00:00
itziar
4c1fedd72a
Applied suggested astyle fix(es)
2019-03-19 10:11:15 +01:00
itziar
5beef7405c
Bug related to downlink sequence counter rollover
2019-03-19 10:11:14 +01:00
Martin Kojtal
54602f55ba
Merge pull request #10108 from theamirocohen/fix_is_valid_erase
...
Fix functionality for FlashIAPBD & SlicingBD
2019-03-19 09:31:33 +01:00
Jaeden Amero
11ef5a0a72
crypto: Update Mbed Crypto to 1.0.0
...
There are no differences from Mbed Crypto 1.0.0d7 other than the version
number.
2019-03-18 16:17:02 +00:00
Teppo Järvelin
de7520bd97
Cellular: fix astyle for files that already in master
2019-03-18 13:50:10 +02:00
Teppo Järvelin
174d95709c
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-03-18 13:37:48 +02:00
Martin Kojtal
6b84b14ab6
Merge pull request #10081 from jarvte/move_call_CGEREP
...
Cellular: call AT+CGEREP after sim is ready
2019-03-18 11:26:41 +01:00
Teemu Kultala
614b014d05
cellular: remove last CELLULAR_DEVICE references
2019-03-18 10:07:30 +02:00
Martin Kojtal
964f5ad321
Merge pull request #10098 from ghseb/credentials-for-connection-profile
...
Cinterion Cellular: Setup connection profile with username and password
2019-03-18 08:13:32 +01:00
Martin Kojtal
4cf22b39d6
Merge pull request #10029 from AriParkkila/cellular-device_serial
...
Cellular: Remove compile dependency of UARTSerial
2019-03-18 08:12:27 +01:00
Teppo Järvelin
dba3d42362
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-03-18 08:10:09 +02:00
Cruz Monrreal
05f18fc7f6
Merge pull request #10100 from ghseb/support-ehs5-e
...
Cellular: Support Cinterion EHS5-E cellular module
2019-03-16 23:00:51 -05:00