Kimmo Vaisanen
4aba3434f4
Change minimum required channels from 6 to 2 (US915Hybrid)
...
https://github.com/Lora-net/LoRaMac-node/issues/362
2018-03-21 08:54:42 +02:00
Kimmo Vaisanen
65b2dbc7dc
Update DevStatusAnd format
...
In the DevStatusAns format, the protocol requires RFU(7:6) value = 0
2018-03-21 08:54:42 +02:00
Kimmo Vaisanen
e1fff2e738
Update handling for functions OnRadioRxError and OnRadioRxTimout.
...
This is especially important for class c devices.
2018-03-21 08:54:42 +02:00
Kimmo Vaisanen
6c165e0f19
Changed mcps confirmation ul_frequency to channel
2018-03-21 08:54:42 +02:00
Kimmo Vaisanen
e097429b69
Remove unused is_fPort_allowed method
2018-03-21 08:54:42 +02:00
Kimmo Vaisanen
a9e1076572
Bug fix in RX timeout and RX error handling for class c nodes.
...
1. Do not stop the 2nd window timer, as it is not running.
2. Wait for the OnAckTimeout event, before setting MacDone
3. Process for class c also the 2nd window timeout part, as we do
not have a 2nd window timer.
2018-03-21 08:54:42 +02:00
Kimmo Vaisanen
591bc7da1f
Add the possibility to set the default antenna gain.
2018-03-21 08:54:42 +02:00
Kimmo Vaisanen
256a3a5842
Fix calculation of the aggregated time-off.
...
Perform only an assignment.
https://github.com/Lora-net/LoRaMac-node/issues/282
2018-03-21 08:54:42 +02:00
Kimmo Vaisanen
c1ea418ac4
Fix rx slot handling
...
Store the rx slot temporarily. When in class C, this variable will be changed
in function OpenContinuousRx2Window.
2018-03-21 08:54:42 +02:00
Kimmo Vaisanen
fc1696b74f
Do only set the MacDone if the MAC is not in class c
2018-03-21 08:54:42 +02:00
Kimmo Vaisanen
6114f2b3d5
Fix an issue with sequence calls.
...
This issue is only present for a device in class c mode, which
has perform unconfirmed uplinks.
https://github.com/Lora-net/LoRaMac-node/issues/327
2018-03-21 08:54:42 +02:00
Kimmo Vaisanen
e206c1ee54
Changed RegionNextChannel function in order to return LoRaMacStatus_t instead of a boolean
...
Removed the while loop checking the return value from set_next_channel
(GitHub Issue https://github.com/Lora-net/LoRaMac-node/issues/357 )
The new return values are:
LORAWAN_STATUS_OK : A channel has been found.
LORAWAN_STATUS_NO_FREE_CHANNEL_FOUND : No free channel has been found (AS923 and KR920 regions)
LORAWAN_STATUS_DUTYCYCLE_RESTRICTED : No channel found due to the duty-cycle or JoinReq back-off restrictions. Trial must be delayed.
LORAWAN_STATUS_NO_CHANNEL_FOUND : No channel has been found. Re-enabled the default channels.
2018-03-21 08:54:42 +02:00
Kimmo Vaisanen
339306ed1b
Ensure DR_6 cannot be selected for IN865 region
2018-03-21 08:54:42 +02:00
Antti Kauppila
a294aa028d
LoRa: LoRaWANInterface refactored.
...
- Only internal changes, no functionality changes
- Some minor improvements to LoRaWanStack
2018-03-21 08:54:42 +02:00
Antti Kauppila
32257858d0
Added missing mac_cmd_buf_idx_to_repeat to LoRaMacCommand class
...
- Reordered LoRaWANStack internal variables for more compact code
2018-03-16 18:00:02 +02:00
Antti Kauppila
488cf03d1e
LoRA: Code cleanup + doxygen updates
...
- Internal changes only
- reset function is created to LoRaPHY to reset LoRaMAC parameters with default values
- Doxygen updates for newly created functions
2018-03-16 18:00:02 +02:00
Antti Kauppila
2ac73a6cac
LoRa: LoRaMacMcps refactored to remove dependency to LoRaMac.
...
- This is internal logic only and there are no functionality changes
- Some compliance test stuff have been moved to end of files
- Some internal data structures removed as useless after refactor
2018-03-16 18:00:02 +02:00
Antti Kauppila
37371df968
LoRa: reset_mac_parameters put to correct place
2018-03-16 18:00:02 +02:00
Antti Kauppila
d232d3bb52
LoRa: Removed LoRaMac dependency from MIB and MLME classes
...
- Internal refactoring only, no functional changes
2018-03-16 18:00:02 +02:00
Antti Kauppila
d1cdd77290
LoRa: get_phy_params() refactored
...
- get_phy_params function was very heavy weight and needed to be refactored.
- switch-case clauses have been refactored to be functions now and the complexity of the usage has been improved a lot.
- There are no functional changes, this is internal only change
2018-03-16 18:00:02 +02:00
Antti Kauppila
3c7bd1b794
LoRa: LoRaMac need removed from LoRaMacCommand class
...
- LoRaMacCommand does not have any external dependencies anymore
- Also LoRaMacMlme is not using LoRaMacCommand anymore
2018-03-16 17:58:44 +02:00
Cruz Monrreal
0828727643
Merge pull request #6270 from evva-sfw/error_warning_msg_as_link
...
Add parameter in tools settings to show error/warning as Link
2018-03-15 11:49:33 -05:00
Cruz Monrreal
92bbdbb60a
Merge pull request #6329 from TeemuKultala/callback_changes
...
Cellular: add callback API
2018-03-15 11:04:17 -05:00
Cruz Monrreal
15807744de
Merge pull request #6238 from pauluap/break_dispatch_flag
...
Remove windup behavior from break_dispatch
2018-03-15 10:59:36 -05:00
Cruz Monrreal
0ae3580781
Merge pull request #6345 from jarvte/cellular_sms_unit_test_fix
...
Cellular: Fixed sms unit tests.
2018-03-15 10:58:16 -05:00
Cruz Monrreal
6eeee5e49f
Merge pull request #6292 from juhaylinen/rtw-fixes
...
rtl8195am - improve credentials handling
2018-03-15 10:57:39 -05:00
Cruz Monrreal
abb74e8cbc
Merge pull request #6092 from kjbracey-arm/mesh-help
...
mbed-mesh-api: add JSON help
2018-03-15 10:57:02 -05:00
Cruz Monrreal
b18c88e2cc
Merge pull request #5106 from fkjagodzinski/timeout_tests
...
Timeout & LowPowerTimeout tests
2018-03-15 10:55:15 -05:00
Cruz Monrreal
9cac3b2f6b
Merge pull request #6149 from bmcdonnell-ionx/typos
...
Fix typos in the files
2018-03-15 10:53:03 -05:00
Cruz Monrreal
95fb33f041
Merge pull request #6198 from codeauroraforum/Add_LPC54XXX_Flash_Support
...
Flash support: Add flash support for LPC54114 & LPC546XX
2018-03-15 10:49:08 -05:00
Cruz Monrreal
b97c7d8263
Merge pull request #6274 from geky/events-doc-periodic
...
events: Added note about immediate firing of periodic events
2018-03-15 10:48:22 -05:00
Cruz Monrreal
69bc68d21f
Merge pull request #6288 from TomoYamanaka/master
...
Fix macro definition of iodefine_typedef for RZ_A1H
2018-03-15 10:48:02 -05:00
Cruz Monrreal
38e0d3b842
Merge pull request #6300 from kivaisan/master
...
Fixes to LoRa PHY
2018-03-15 10:42:43 -05:00
Cruz Monrreal
cd9c28b7f5
Merge pull request #6303 from betzw/betzw_process_oob_wb
...
[ATCmdParser]: Align `process_oob()` to `vrecv()`'s newline handling
2018-03-15 10:42:15 -05:00
Cruz Monrreal
842a86ad7c
Merge pull request #6310 from codeauroraforum/Fix_K82F_I2C
...
MCUXpresso: Fix test failures seen with ci-test shield
2018-03-15 10:41:08 -05:00
Cruz Monrreal
872634d5fa
Merge pull request #6311 from hosse005/master
...
mts_mdot_f411re: Fix for Multi-Tech mDot IAR linker script
2018-03-15 10:40:18 -05:00
Cruz Monrreal
eff0cc2c06
Merge pull request #6314 from jarvte/improve_athandler_write
...
Cellular: ATHandler write improvements.
2018-03-15 10:39:56 -05:00
Cruz Monrreal
d05417a941
Merge pull request #6315 from amq/efm32_faster_gpio_irq
...
EFM32: make gpio interrupts faster by offloading expected pin state check to user
2018-03-15 10:39:29 -05:00
Cruz Monrreal
5523d53f83
Merge pull request #6287 from codeauroraforum/Update_usticker
...
MCUXpresso_MCUS: Apply K64F us_ticker fix across all MCU's
2018-03-14 13:56:34 -05:00
Cruz Monrreal
af46177a65
Merge pull request #6341 from cmonr/add-5.8-examples
...
Add lorawan and nvstore examples for testing.
2018-03-13 23:11:27 -05:00
Cruz Monrreal
cb99c280a6
Actually disabled exporters for lorawan example
2018-03-13 12:15:35 -05:00
Cruz Monrreal
1dfe716b56
Disabled exporters for lorawan example
2018-03-13 12:13:55 -05:00
Teppo Järvelin
cacdbd1550
Cellular: Fixed sms unit tests.
2018-03-13 13:52:05 +02:00
Martin Kojtal
fe2e4a3680
Merge pull request #6290 from AriParkkila/fix_cellular_unit_tests
...
Cellular tests: fix power mgmt stub
2018-03-13 09:53:36 +01:00
Cruz Monrreal II
0ab2216803
Add lorawan and nvstore examples for testing.
2018-03-12 18:45:16 -05:00
Cruz Monrreal
205b2ed131
Merge pull request #6328 from 0xc0170/fix_mimxrt_pullup
...
MIMXRT: define PullUp default value
2018-03-12 17:42:19 -05:00
Cruz Monrreal
56a6f3b4ff
Merge pull request #6327 from TeemuKultala/ doxygen_updates
...
cellular doxygen updates
2018-03-12 15:10:58 -05:00
Cruz Monrreal
81b2768537
Merge pull request #6301 from jarvte/fixing_cellular_gt
...
Cellular tests: fixed cellular greentea tests by adding timeout as it…
2018-03-12 11:52:34 -05:00
Cruz Monrreal
190cd986f7
Merge pull request #6323 from geky/revert-fat-errors
...
fatfs: Revert "Update error code mapping"
2018-03-12 11:52:18 -05:00
Teemu Kultala
bd75d5327f
callback API added
2018-03-12 11:51:27 +02:00