Antti Kauppila
fd9a6af93b
Merge pull request #3 from AnttiKauppila/fix_compliance_test
...
Fix compilance test compilation
2018-03-22 09:06:15 +02:00
Cruz Monrreal
816890d646
Merge pull request #6348 from 0xc0170/fix_pr_template
...
Fix PR template
2018-03-21 17:21:59 -05:00
Cruz Monrreal
3ddca11395
Merge pull request #6368 from kjbracey-arm/atomic_volatile
...
Sort out volatiles in the atomic functions
2018-03-21 17:03:27 -05:00
Cruz Monrreal
58f57954ca
Merge pull request #6378 from geky/events-travis-prof
...
equeue: Added profiling reports to Travis
2018-03-21 16:24:33 -05:00
Jimmy Brisson
a27dd66f92
Correct get_config imports
2018-03-21 10:50:56 -05:00
Brendan McDonnell
8d2214fa6e
linebreaks
2018-03-21 11:18:54 -04:00
Brendan McDonnell
895e19ae0f
Restore single-param InterruptIn ctor, to maintain binary compatibility (for Wi-Fi drivers).
...
Revert "simplify InterruptIn - default parameter instead of multiple constructors"; add comment.
This reverts commit d28dbf6702
.
2018-03-21 11:18:42 -04:00
Martin Kojtal
7b325f30a0
Merge pull request #6168 from hug-dev/cm3ds-memory
...
CM3DS Maintenance Pull Request: Memory changes (2/4)
2018-03-21 14:16:16 +01:00
Martin Kojtal
7125c8ad0b
Merge pull request #6344 from tung7970/fix-tools
...
armcc - remove fromelf output before regenerating one
2018-03-21 14:12:00 +01:00
Martin Kojtal
0f2659bdce
Merge pull request #6392 from OpenNuvoton/nuvoton_fix_uart
...
Nuvoton: Remove unnecessary UART INT in UART DMA transfer
2018-03-21 14:10:44 +01:00
Kimmo Vaisanen
c1983570b4
Fix compilance test compilation
...
Fix compilation of compilance test and at the same time refactor compliance
test handler. Renamed mcps_request as test_request as it is only used for
compliance test. Also fixed a bug with null buffer in send_compliance_test_frame_to_mac.
2018-03-21 14:39:18 +02:00
Seppo Takalo
fbea6f15e2
Add missing Doxygen descriptions for Nanostack
...
Fix couple of parameter issues as well.
2018-03-21 14:15:28 +02:00
Martin Kojtal
e2d0eaf1cc
PR template: do not use task list
2018-03-21 11:56:38 +00:00
Kevin Bracey
b3eb51acef
lwIP: fix some IPv6 errors, eg TCP keepalive
...
Glue code was inspecting lwIP's netconn "type", checking directly for
NETCONN_UDP and NETCONN_TCP.
Unfortunately the type byte has some flag bits like
"IPv6", which means the tests fail if it's an IPv6 socket. So, for
example, TCP socket options were rejected for IPv6.
Add the necessary NETCONNTYPE_GROUP macros to fix this.
2018-03-21 13:40:25 +02:00
zzw
2dc94b24d2
rtl8195am: fix LogUART Tx interrupt crash
...
add Mask & UnMask Tx FIFO empty interrupt for LogUart
fix LogUart interrupt enable
fix LogUart interrupt handler
coding style fix
2018-03-21 18:50:58 +08:00
jeromecoutant
ef006931f8
STM32L4 ADC correct internal channel management
2018-03-21 10:57:57 +01:00
toyowata
d76d511969
LPC176X: Fix flash program size
...
This patch fix flash write issue when program size is more than page size (= 1024 bytes). See detail - https://github.com/ARMmbed/mbed-os/issues/6165
Source data always use aligned data in heap memory.
2018-03-21 18:36:16 +09:00
Antti Kauppila
cbdeb7dc4b
LoRa: Added API break warnings for lorawan_channelplan_t struct and it's components
2018-03-21 08:54:42 +02:00
Antti Kauppila
dc98228139
LoRa: Struct cleanups
...
- Unneeded structs removed and replaced by variables in functions
2018-03-21 08:54:42 +02:00
Antti Kauppila
489eecf7df
LoRa: LoRaMAC class refactored
...
- Internal change only, no functional changes
- Tested by running Green tea tests manually
2018-03-21 08:54:42 +02:00
Antti Kauppila
6b54478af4
LoRaWANStack is made independent of MAC sublayers
...
- Only internal changes, no API has been broke.
- Tested by manually running Green tea tests
2018-03-21 08:54:42 +02:00
Antti Kauppila
b63c98e103
LoRa: LoRaPHY dependency removed from LoRaMacStack
...
- This is internal change, no functionality has been changed
- LoRaWanInterface cleaned up and code moved to LoRaMacStack
- Compliance code in LoRaMacStack moved to EOF
- Green tea tests have been run manually
- Doxygen updated accordingly
LoRA: reorder class members
2018-03-21 08:54:42 +02:00
Kimmo Vaisanen
fe225a8430
Remove redundant event from timer callbacks
...
Since our timers are now already using events, we no longer need to
defer timer callback calls.
2018-03-21 08:54:42 +02:00
Kimmo Vaisanen
c6eee4fd98
Simplify check for pending bit
2018-03-21 08:54:42 +02:00
Kimmo Vaisanen
32075b91b5
Fix reception of class C messages
...
- Do not put radio into sleep when message is received in class c mode
- Experimental feature for acknowledging confirmed downlink messages
2018-03-21 08:54:42 +02:00
Kimmo Vaisanen
a26fca8bf5
Add set_device_class API to change active device class
...
This API can be used to runtime change device class.
Please note that only class A and C are supported at the moment.
Trying to set class B will return LORAWAN_STATUS_UNSUPPORTED.
Fix set_device_class documentation
fix documentation
2018-03-21 08:54:42 +02:00
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
Cruz Monrreal
53cb6e06f9
Merge pull request #6279 from AnttiKauppila/master
...
LoRa refactoring
2018-03-20 17:28:38 -05:00
Cruz Monrreal
2c7f909eea
Merge pull request #6245 from mbedNoobNinja/Sync_PR
...
Update for VK_RZ_A1H
2018-03-20 15:21:01 -05:00
Cruz Monrreal
f3e2a3dd4b
Merge pull request #6357 from anttiylitokola/master
...
Update mbed-coap to version 4.4.0
2018-03-20 15:01:00 -05:00
Cruz Monrreal
6cb6dd9e62
Merge pull request #6330 from bcostm/fix_pins_nucleo_l433rc_p
...
NUCLEO_L433RC_P: fix pins definitions
2018-03-20 14:56:05 -05:00
Cruz Monrreal
0b7a9a9f3d
Merge pull request #6333 from mikaleppanen/lwip_tcp_flag_corr
...
Corrected lwip adaptation TCP flagging
2018-03-20 14:35:43 -05:00
Cruz Monrreal
7ab4b064e5
Merge pull request #6338 from geky/fix-littlefs-dir-chain
...
littlefs: Fix issue updating dir struct when extended dir chain
2018-03-20 14:33:26 -05:00
Cruz Monrreal
53adeed521
Merge pull request #6350 from u-blox/cellular_test
...
Cellular: update attach test
2018-03-20 14:27:02 -05:00
Cruz Monrreal
a3d8c8fe16
Merge pull request #6363 from deepikabhavnani/seek_fix
...
dir seek fixed - dptr was not updated before checking
2018-03-20 14:21:49 -05:00
Cruz Monrreal
d7dfab5c7e
Merge pull request #6370 from jeromecoutant/PR_LPT_RTC_OPTIM
...
STM32 LPTICKER : optimize RTC wake up timer init
2018-03-20 14:19:07 -05:00
Cruz Monrreal
7b2ee2d52f
Merge pull request #6291 from mirelachirica/bc95_echotest_fixes
...
Cellular: BC95 echo test fixes
2018-03-20 14:06:06 -05:00