Cruz Monrreal
e8005f6d72
Merge pull request #7206 from mikaleppanen/k64f_async_powerup
...
K64f non-blocking powerup
2018-06-19 21:49:37 -05:00
Cruz Monrreal
ba5b5a3870
Merge pull request #7191 from hasnainvirk/precise_timing
...
LoRaWAN: Fine tuning timing for delays and receive windows
2018-06-19 09:48:52 -05:00
Cruz Monrreal
fcfe6e1c43
Merge pull request #7217 from AriParkkila/cellular-info-sim
...
Cellular: Add AT+CCID and AT+CGSN
2018-06-19 08:54:49 -05:00
Cruz Monrreal
d1dc1e849e
Merge pull request #7146 from jarvte/add_cellular_sim_and_power_tests
...
Cellular: Added power and sim greentea and unit tests.
2018-06-19 08:46:51 -05:00
Cruz Monrreal
2bb686ff1e
Merge pull request #7245 from SeppoTakalo/fix-default-interface
...
Fix default interface selection by using correct macro names.
2018-06-19 08:46:28 -05:00
Martin Kojtal
0658544cb6
Merge pull request #7207 from mikaleppanen/dns_singletons
...
Change DNS global class definitions to singletons
2018-06-19 14:14:21 +02:00
Seppo Takalo
384fc7e778
Fix typo: WifiInterface -> WiFiInterface and add missing return.
...
Default WiFiInterface did not even build. And when it was fixed to build,
it was always returning NULL.
2018-06-19 10:47:12 +03:00
Cruz Monrreal
94a06cef66
Merge pull request #7229 from mikaleppanen/stm_chksum_disable
...
Disabled STM ethernet driver hardware checksum calculation
2018-06-18 17:23:28 -05:00
Seppo Takalo
412f654c8d
Fix default interface selection by using correct macro names.
...
Code was written using MBED_CONF_DEFAULT_* but the mbed_lib.json file
that created these values is prefixed with "nsapi" and therefore
final macros are MBED_CONF_NSAPI_DEFAULT_*
2018-06-18 18:59:43 +03:00
Cruz Monrreal
701d49d8eb
Merge pull request #7211 from pan-/ble-workaround-connections-param-update-request
...
Nordic BLE: Accept connection parameter update
2018-06-18 10:09:22 -05:00
Cruz Monrreal
74a75d5bb0
Merge pull request #7058 from davidsaada/david_exhaustible_bd_fix
...
Fix two issues in ExhaustibleBlockDevice
2018-06-15 10:03:54 -05:00
Ari Parkkila
7d006f6f6a
Cellular: Target support for AT+CCID and AT+CGSN
2018-06-15 14:28:48 +03:00
Mika Leppänen
9b0cbe064d
Disabled STM ethernet driver hardware checksum calculation
...
No need for driver level hardware IPv4/TCP/UDP/ICMP checksum insertion
since LWIP and nanostack handles those already.
Related to issue: https://github.com/ARMmbed/mbed-os/issues/7227
2018-06-15 14:24:05 +03:00
Anna Bridge
3e2e6a714a
Merge pull request #7195 from jarvte/fixing_easycellular_release_version
...
Cellular: Semaphore wasn't released in easycellular release build.
2018-06-15 11:13:34 +01:00
Mika Leppänen
b7627e823b
K64F, K66F: Update the ENET PHY driver
...
PHY init and autonegotation is split into own functions.
2018-06-15 10:41:31 +03:00
Teppo Järvelin
f821b02468
Cellular: fixed unit tests after rebase with latest changes.
2018-06-15 09:51:16 +03:00
Teppo Järvelin
7e1b0480b0
Cellular: Added power and sim greentea and unit tests.
2018-06-15 09:03:08 +03:00
Cruz Monrreal
a588d15ab4
Merge pull request #7194 from mikaleppanen/lwip_debug_stack
...
Increased LWIP main worker thread stack size for debug builds
2018-06-14 11:01:47 -05:00
Cruz Monrreal
baf563709a
Merge pull request #7090 from jorisa/usbserial-write-nonblocking
...
Add non-blocking write function for USBCDC
2018-06-14 10:20:26 -05:00
Cruz Monrreal
ac107e955f
Merge pull request #6962 from jarvte/release_resources_cellular_statemachine
...
Cellular: release resources in state machine.
2018-06-14 10:19:12 -05:00
Cruz Monrreal
276588f9fa
Merge pull request #7098 from SeeedJP/feature-cellular-mux
...
[Wio 3G] Adding platform
2018-06-14 10:17:19 -05:00
Cruz Monrreal
c82af3dbe9
Merge pull request #7102 from jarvte/adding_cellular_tests
...
Adding cellular tests
2018-06-14 10:16:58 -05:00
Cruz Monrreal
c3e639aad2
Merge pull request #7123 from paul-szczepanek-arm/fix-generate-whitelist
...
BLE: check flags to make sure the IRK has been stored before retrieving it
2018-06-14 10:15:15 -05:00
Hasnain Virk
d335f82440
Remaining style fixes
2018-06-14 14:52:46 +03:00
Hasnain Virk
27290bb12f
Adding valid frequency check for RXParamSetup cmd
...
We must check for a valid value of a frequency being sent
by the network server.
2018-06-14 14:52:46 +03:00
Hasnain Virk
ffb0698ce7
Adding port in trace & streamlining continuous RX2
2018-06-14 14:52:45 +03:00
Hasnain Virk
eab2bad593
Queuing the automatic uplink
...
If the automatic uplink is sent directly the call-stack becomes larger than 1K
which may cause serious problems in debug builds. Just to have a respite between
RX and TX we queue an event for the automatic uplink rather than directly undergoing
an automatic uplink.
2018-06-14 14:52:38 +03:00
Ari Parkkila
44365bccd0
Cellular: Added AT+CCID and AT+CGSN
2018-06-14 13:47:17 +03:00
Vincent Coubard
92fa40b1c7
Nordic BLE: Accept connection parameter update
...
A peer device that sends a connection parameter update may get block if it doesn't receive a response.
This patch accept the peer request unconditionnally. At some point this event will be managed by the application.
2018-06-13 15:54:51 +01:00
Cruz Monrreal
fff3564012
Merge pull request #7166 from paul-szczepanek-arm/fix-cancel-pairing
...
BLE: fix pairing for misconfigured devices (deny pairing correctly)
2018-06-13 08:45:46 -05:00
Mika Leppänen
9457bd13b0
Changed DNS global class definitions to singletons
...
This saves memory on platforms without network interface.
2018-06-13 15:50:22 +03:00
Mika Leppänen
48825aa847
Increased LWIP main worker thread stack size for debug builds
...
LWIP stack is configured to be 1200 as default. Without debug enabled,
maximum stack size used for asynchronous DNS operations is 880 bytes. With
debug enabled maximum used stack size is 1248. Added configuration
to LWIP to increase stack size by 25 percent when debug is enabled on build.
2018-06-13 10:34:14 +03:00
Mika Leppänen
5e8ed3364a
Added delay to K64F/K66F ethernet TX when all descriptors are in use
...
Currently, if all TX descriptors are in use and IP stack calls K64F/K66F
ethernet driver link out, link out drops the packet. Added 10ms delay
to link out to wait for a descriptor to become available before dropping
the packet.
2018-06-13 10:02:13 +03:00
Mika Leppänen
db672b36c5
Non-blocking K64F/K66F ethernet power up
...
Changed K64F/K66F power up to return without waiting for link up i.e. for
the ethernet cable to be connected. This is needed for non-blocking use
of driver e.g. for using the driver from event queue.
2018-06-13 09:53:32 +03:00
Teppo Järvelin
7e34349628
Cellular: Semaphore wasn't released in easycellular release build.
2018-06-12 16:04:39 +03:00
Hasnain Virk
828815c7e3
Adding precise timing for receive delays
...
RX1 and 2 delays needed to be more precise and aggregate tx time was
drifiting because of timing difference between actual tx interrupt and
our processing of that interrupt ever so slightly.
We now take a timestamp of the tx interrupt and take a time diff while
instantiating delay timers. The timestamp is then used to update the aggregate
tx time.
Two new methods are introduced in the LoRaMac class which provide current
timing and current receive slot. These functions are used by LoRaWANStack
for its processing.
2018-06-12 12:32:13 +03:00
Teppo Järvelin
d9a99b0a45
Cellular: release resources in state machine. Made sure that athandler does not try process urc's after switch to data mode.
2018-06-12 09:01:03 +03:00
Cruz Monrreal
ed9a1f1327
Merge pull request #7161 from kjbracey-arm/ppp-gateway
...
Correct PPPCellularInterface::get_gateway()
2018-06-11 22:11:18 -05:00
Cruz Monrreal
af55378c26
Merge pull request #7182 from AriParkkila/cellular-greentea-fix
...
Cellular: Disable Greentea tracing to consume less memory
2018-06-11 21:28:02 -05:00
Cruz Monrreal
0eac433a66
Merge pull request #7119 from kjbracey-arm/nsapi-ip6string
...
NSAPI: Use IPv6 conversion routines from frameworks
2018-06-11 21:27:21 -05:00
Cruz Monrreal
12211178c3
Merge pull request #7179 from c1728p9/fix_unsupported_k64f
...
Fix USB on Kinetis devices
2018-06-11 16:46:13 -05:00
David Saada
4af2c9d483
Support erasing of more than one erase unit in the exhaustible block device
2018-06-11 19:40:35 +03:00
Cruz Monrreal
093a6066c2
Merge pull request #7158 from kjbracey-arm/thread-eui64
...
Add API to read Thread EUI-64
2018-06-11 10:21:22 -05:00
Cruz Monrreal
1b14351e28
Merge pull request #7084 from AriParkkila/cellular-debug
...
Cellular: Enable AT debug also when mbed-trace is disabled
2018-06-11 09:06:53 -05:00
Cruz Monrreal
5e8a0a853a
Merge pull request #7097 from TeemuKultala/random_port
...
cellular: random socket port number
2018-06-11 08:57:47 -05:00
Cruz Monrreal
de99c0f3a3
Merge pull request #7160 from jarvte/ppp_lwip_disconnect_hangs
...
Fixed ppp_lwip_disconnect hangs when connection failure.
2018-06-11 08:50:27 -05:00
Cruz Monrreal
02e90ef469
Merge pull request #7163 from pan-/cordio-driver-hook
...
Cordio driver hook
2018-06-11 08:49:49 -05:00
Cruz Monrreal
a78208166c
Merge pull request #7164 from davidsaada/david_fix_nvstore_readme_apis
...
Fix NVStore README file (changed APIs)
2018-06-11 08:47:39 -05:00
Cruz Monrreal
b00a91d15b
Merge pull request #6938 from hasnainvirk/style_and_bug_fixes
...
LoRaWAN: Style and bug fixes
2018-06-11 08:46:52 -05:00
Cruz Monrreal
3206b81437
Merge pull request #6978 from OpenNuvoton/nuvoton_m23_tz_module
...
Support default tz_module in event loop thread for M23/M33
2018-06-11 08:44:21 -05:00