Commit Graph

6351 Commits (957d458a2496eaa222758c234c355627100ae844)

Author SHA1 Message Date
Kimmo Vaisanen 2c4194bbe3 Cellular: Fix compilation fail with APN lookup enabled
Compilation failed if cellular APN lookup was enabled as stop command has been
removed.
2020-01-15 14:42:04 +02:00
Martin Kojtal 606f3a35a7
Merge pull request #12260 from Szalacinski/master
Add KSZ8041 as a supported PHY for the LPC17xx series
2020-01-15 13:07:11 +01:00
Martin Kojtal 1b11d2cb02
Merge pull request #12249 from kivaisan/remove_deprecated_cellulardevice_stop
Cellular: Remove deprecated CellularDevice::stop()
2020-01-15 13:06:27 +01:00
Martin Kojtal bfbed2de7b
Merge pull request #12243 from 0xc0170/fix_12242_recreate
Add timer shutdown after time stop on deinit
2020-01-15 13:04:04 +01:00
Martin Kojtal c53f4d2344
Merge pull request #12227 from AnttiKauppila/BG96_fix
Cellular: AT + QICSGP set up APN fix
2020-01-15 12:59:09 +01:00
Martin Kojtal cbca99d38f
Merge pull request #12160 from AGlass0fMilk/fix-prs-config
nRF52: Properly configure nRF SDK for nRF52-series targets
2020-01-15 12:58:32 +01:00
Caleb Szalacinski e4e0225a0e Add KSZ8041 as a supported PHY for the LPC17xx series 2020-01-14 19:46:39 -06:00
Kimmo Vaisanen 0d525fff29 Cellular: Remove deprecated CellularDevice::stop()
CellularDevice::shutdown() should be used instead.
2020-01-14 10:47:05 +02:00
Bram de Boer b444b7c560 Added timer shutdown after time stop on deinit 2020-01-13 13:37:50 +00:00
George Beckstein cb4f3db2a7 Replace preprocessor "UARTx_ENABLED" with "NRFX_UARTEx_ENABLED". 2020-01-10 11:30:52 -05:00
Evelyne Donnaes 8a4bba33bd Fixed baremetal build failures 2020-01-10 13:20:59 +00:00
Antti Kauppila eb78ba6624 Fixed PDP type handling 2020-01-10 13:48:25 +02:00
Antti Kauppila 2fb167be26 Fixed IOTCELL-2384
Earlier we called AT+QICSGP only if the username and password was set.
It seems that we must call it also to set up APN while in AT mode.
This commit fixes the issue + updated IPv4/v6 handling to be correct in the same call
2020-01-09 17:19:24 +02:00
Martin Kojtal ec3fc672a1
Merge pull request #12215 from u-blox/ubx_get_ip_addr
Cellular: Implementation of virtual get_ip_address funtion in ublox-api
2020-01-09 12:43:12 +01:00
Martin Kojtal 1fb9dd7ddd
Merge pull request #12122 from AnttiKauppila/visibility_fixes
ATHandler refactoring
2020-01-09 12:05:08 +01:00
Martin Kojtal 974baaf199
Merge pull request #12143 from VeijoPesonen/blockdevices_testable
Blockdevice config changes to make it possible to run littlefs filesystem tests
2020-01-09 12:04:20 +01:00
mudassar-ublox 075a6fdd99 Override virtual get_ip_address funtion in ublox-api for targets UBLOX_C030_U201 and UBLOX_C027 2020-01-09 12:16:48 +05:00
Martin Kojtal 8d94d4ce92
Merge pull request #12214 from kivaisan/move_string_to_pdp_type_to_cellularcontext
Cellular: Move string_to_pdp_type method to CellularContext
2020-01-08 16:59:58 +01:00
Martin Kojtal af03f839e2
Merge pull request #10959 from OpenNuvoton/nuvoton_m2351_psa
M2351: Support TFM level 1
2020-01-08 16:09:35 +01:00
Kimmo Vaisanen 0d7cc428b1 Cellular: Move string_to_pdp_type method to CellularContext
string_to_pdp_type is only used in CellularContext classes and by having
the conversion method in CellularContext it can be used to check also
the non-standard Non-IP PDP type string.
2020-01-08 12:15:51 +02:00
Martin Kojtal d4c2fd56a9
Merge pull request #12195 from mikaleppanen/ppp_trace_disable
Corrected PPP debug trace flagging
2020-01-07 16:41:15 +01:00
Antti Kauppila 5553d0acd3 ATHandler class refactor
Refactored ATHandler class to have clear private and public elements
Also removed virtuality from ATHandler
Unittests updated to reflect changes
2020-01-07 17:15:27 +02:00
Antti Kauppila 36ca4d6516 ATHandler relocated
ATHandler is part of our API so header file was moved under API folder and .cpp file was moved under device/ folder
ATHandler is used in both AT and PPP mode so it has been in slightly wrong place at the beginning.
2020-01-07 17:15:27 +02:00
Martin Kojtal c8ac1ef2b8
Merge pull request #12196 from kjbracey-arm/lwipclose
LWIP: don't pbuf_free(NULL) on socket close
2020-01-07 15:56:13 +01:00
Martin Kojtal 3e790cc9ab
Merge pull request #12065 from AriParkkila/cell-fea-nidd
Non-IP socket implementation for NIDD over CP
2020-01-07 15:55:15 +01:00
Martin Kojtal d07d7ca722
Merge pull request #12185 from paul-szczepanek-arm/db-delete
BLE: fix pointer not set to null on delete
2020-01-07 14:56:04 +01:00
Martin Kojtal 9d16a17e7e
Merge pull request #11653 from tymoteuszblochmobica/multiple
Add  Getaddrinfo interface for multiple DNS adresses
2020-01-07 14:53:36 +01:00
Martin Kojtal 2d3c4022ae
Merge pull request #12193 from kivaisan/move_event_thread_to_cellulardevice
Cellular: Move cellular event queue thread ownership to CellularDevice
2020-01-07 14:04:55 +01:00
Ari Parkkila 7899fead59 Cellular: Refactor CellularBase from AT_ControlPlane_netif 2020-01-07 04:03:33 -08:00
Martin Kojtal 39daa5fd77
Merge pull request #12109 from hugueskamba/hk-replace-rawserial-usage
Replace RawSerial as it has been deprecated
2020-01-07 12:59:57 +01:00
Kevin Bracey 988ef099c7 LWIP: don't pbuf_free(NULL) on socket close
`pbuf_free(NULL)` causes an `LWIP_ASSERT`. Make the call conditional.

Fixes #12184
2020-01-07 13:20:14 +02:00
Mika Leppänen 9e41f1fc7d Corrected PPP debug trace flagging
Some parts of PPP debug traces were enabled also on non-debug builds.
Now they are correctly disabled. Corrected also compiler warnings
that became visible when trace macros were flagged (if clauses without
brackets).
2020-01-07 12:07:50 +02:00
Martin Kojtal 0f5c3f0b37
Merge pull request #12189 from dustin-crossman/cy8cproto_062_4343w-baudrate-fix
Removed hardcoded CY8CPROTO_062_4343W bt baudrate limit.
2020-01-07 11:04:43 +01:00
Martin Kojtal e666848f07
Merge pull request #12194 from juhhei01/socket_api_fix
Nanostack Socket event handler fix
2020-01-07 11:00:28 +01:00
Ari Parkkila 4b3ef73333 Cellular: Fix astyle 2020-01-06 22:35:53 -08:00
Ari Parkkila 85baad850f Cellular: Add NIDD for U-blox/N2XX 2020-01-06 22:35:18 -08:00
Ari Parkkila f695e278ea Cellular: Add NIDD for Quectel/BC95 2020-01-06 22:35:18 -08:00
Ari Parkkila 033402d597 Cellular: Change CellularNonIPSocket to poll before timeout 2020-01-06 22:35:18 -08:00
Ari Parkkila f4158ca00e Cellular: Change ATHandler debug print levels 2020-01-06 22:35:18 -08:00
Ari Parkkila 913cbd96a6 Cellular: Change 3GPP TS 27.007 NIDD to async
Add a missing license header.
Remove semaphores and add +CRTDCP to support async operation.
Fix delete context and disconnect to execute just once.
Add support for NONIP PPD type.
Change CellularNetwork::clear() to virtual so it can be overridden.
2020-01-06 22:35:18 -08:00
Ari Parkkila 972d8a6107 Cellular: Add count/dequeue methods in CellularList 2020-01-06 22:33:50 -08:00
Ari Parkkila 7374b22191 Cellular: Change CellularNonIPSocket to singleton 2020-01-06 22:33:49 -08:00
Ari Parkkila feee2a234e Cellular: Fix Non-IP of Quectel/BG96 modem driver
Add missing license headers.
Remove semaphores to allow async operation.
Change hex format to allow binary payload.
Limit payload size to 100 bytes.
Fix missing plus char at +QCFGEXT.
2020-01-06 22:33:49 -08:00
Kimmo Vaisanen 6c647104c7 Cellular: Move cellular event queue thread ownership to CellularDevice
Earlier CellularDevice has owned event queue used by cellular (state machine and ATHandler for example),
but the thread used to dispatch the queue has been owned by state machine.

This commit moves the event queue thread to CellularDevice so now the ownership of cellular event queue
is in one place.
2020-01-07 08:28:30 +02:00
Hugues Kamba dbaeeaf758 Replace RawSerial instances as it has been deprecated 2020-01-06 15:48:49 +00:00
ccli8 41d95ef2fb [M2351] Support TFM level 1 2020-01-06 15:55:00 +08:00
Dustin Crossman dbedc86c06 Removed hardcoded CY8CPROTO_062_4343W bt baudrate limit. 2020-01-03 16:46:00 -08:00
Juha Heiskanen b71d5edd38 Nanostack Socket event handler fix
SOCKET_TX_DONE not generate event signal anymore for SOCKET_MODE_DATAGRAM.
Event handler try to read socket which is not necessary in that case.
2020-01-03 18:24:12 +02:00
Martin Kojtal 7fd637b66b
Merge pull request #12095 from NXPmicro/Update_MXRT_SDK6
Update MXRT1050 to SDK 6.0
2020-01-03 15:22:13 +00:00
Veijo Pesonen 9763ad3b2d DataFlashBlockDevice: Makes default configuration to use mbed_lib.json settings
DataFlashBlockDevice parameters come from mbed_lib.json if not provided
explicitly.
2020-01-03 15:31:01 +02:00