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
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
Anna Bridge
ad891d9658
Merge pull request #11548 from AriParkkila/cell-dns-ip
...
Cellular: Fix resolving of DNS server IPv4/6 address
2019-10-07 16:46:47 +01:00
Anna Bridge
5108f9188d
Merge pull request #11558 from Tharazi97/Coverity_fixes
...
Coverity fixes
2019-10-07 14:52:11 +01:00
Ari Parkkila
8054b8eef8
Cellular: Fix resolving of DNS server IPv4/6 address
2019-09-25 03:16:45 -07:00
int_szyk
7c13b8f6b9
CellularUtil prefer_ipv6: check length.
...
Fixes Coverity issue about not checking the length of string before copying it.
2019-09-24 10:44:38 +02:00
Kimmo Vaisanen
e824714cd8
Add UT for CellularUtil::hex_to_char and ::hex_str_to_char_str
...
Also added checks for pointer validity.
2019-09-17 12:15:03 +03:00
Mirela Chirica
ea1b2b8045
Cellular: Stack type based on assigned IP addresses versions
2019-09-12 12:55:33 +03:00
Antti Kauppila
84063bf222
Coverity issues fixed
2019-08-14 16:22:05 +03:00
Teppo Järvelin
3c1bf0a9e2
Cellular: moved string_to_pdp_type from AT_CellularContext to CellularUtil
...
string_to_pdp_type is a common method for AT and other layers.
Without moving there will be duplicate methods.
2019-08-12 10:27:57 +03:00
Kimmo Vaisanen
d7858f6184
Cellular: Refactor APN db implementation to reduce memory usage
...
Reduce memory usage by moving actual APN database into single object file
instead of having it defined in header as a static.
2019-06-14 13:31:54 +03:00
Ari Parkkila
830b4234e9
Cellular: Fix setting of statemachine timeout
2019-05-09 04:42:30 -07:00
Teppo Järvelin
2470a3611c
Cellular: new state machine state and better info from stm
...
Added new state (signal quality) and more information about progress
so application/driver can build recovery logic.
2019-04-09 13:44:45 +03:00
Teppo Järvelin
c6e5595cec
Cellular: retry logic for CellularContext connect
...
State machine has retry logic until device is attached to network.
After this CellularContext does the context activation e.g. connect.
There was no retry logic for context activation. Added logic to
CellularContext level so it's available for at and (upcoming)ril layers.
2019-03-29 14:12:23 -05:00
Teemu Kultala
614b014d05
cellular: remove last CELLULAR_DEVICE references
2019-03-18 10:07:30 +02:00
mudassar-ublox
da797ef946
C030_N211 cellular api
2019-02-21 14:44:20 +05:00
Neil MacMullen
a7f4cbcdce
Make a few trivial syntactic changes to better support cross-compilation
2019-02-12 12:01:05 +00:00
Teppo Järvelin
b0d37ebec4
Cellular: Removed unnecessary checks after new
...
After this change we were able to change methods
ATHandler::set_urc_handler and CellularDevice::set_ready_cb to void
and simplify error handling.
2019-01-22 02:23:04 -08:00
Fahim Alavi
5caeaed6db
Set target C030-R412M in mbed
2019-01-14 17:34:50 +05:00
Cruz Monrreal
1c1638342d
Merge pull request #8708 from SeeedJP/wio_bg96_hal
...
[Wio BG96] Adding platform HAL
2018-11-26 11:22:29 -06:00
Teppo Järvelin
88213d3e03
Cellular: astyle fixes after introducing CellularContext class and major refactor.
2018-11-13 18:50:35 +02:00
Yoshihiro TSUBOI
222b21e593
[Wio BG96] Adding platform HAL
2018-11-11 23:32:22 +09:00
Teppo Järvelin
9fb83024ea
Changed CellularContext to inherit from CellularBase instead of NetworkInterface. \n Changed Device constructor to take Filehandle instead of eventqueue.
2018-11-11 14:13:05 +02:00
Teppo Järvelin
ad2abbe887
Cellular: major refactoring while introducing new CellularContext class.
2018-11-11 14:12:49 +02:00
Teppo Järvelin
8880538eba
Cellular: Introduced new state machine to replace old CellularConnectionFSM
...
CellularDevice class own new state machine. Now we don't have to expose state machine
which may change and so we don't have to make API changes if that happens.
EasyCellularConnection uses now CellularDevice instead of old state machine.
2018-11-11 14:11:21 +02:00
Fahim Alavi
2806dd8216
mbed_lib.json updated for other all C030 targets and code corrected to use UBLOX_AT
2018-11-06 17:58:41 +05:00
Cruz Monrreal
39b4872233
Merge pull request #8369 from u-blox/ublox-cellular-target
...
Cellular: UBLOX_C030_R410M cellular target add
2018-10-23 10:54:44 -05:00
Mirela Chirica
ffb9cdb4b3
Cellular: Registration parameters as struct
2018-10-09 10:49:47 +03:00
mudassar-ublox
903b6d6d19
C030_R410M cellular target added
2018-10-05 17:21:51 +05:00
Leon Lindenfelser
5ff0eb9d92
Rebase and changes for Dragonfly nano support
2018-09-26 15:39:42 -05:00
cedrick kukela
59dda88e05
changes to support mts dragonfly nano ppp
2018-09-26 15:37:33 -05:00
Antti Kauppila
a6b4938844
Small improvements for test cases
2018-09-17 12:07:43 +03:00
Cruz Monrreal
17a525c487
Merge pull request #7619 from u-blox/cellular_ublox_udp_tcp_imp
...
UBLOX cellular api's for UDP and TCP
2018-08-21 10:12:47 -05:00
Martin Kojtal
cde18aa0bc
cellular: astyle fix
2018-07-27 13:33:20 +01:00
mudassar-ublox
a8abeccdac
UBLOX cellular api's for UDP and TCP
2018-07-26 19:20:38 +05:00
Teppo Järvelin
f821b02468
Cellular: fixed unit tests after rebase with latest changes.
2018-06-15 09:51:16 +03: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
Teemu Kultala
d3a46eb7cd
more effective port randomisation
2018-06-05 13:25:59 +03:00
Teppo Järvelin
9a3c3b531f
Cellular: fixed unit tests to compile after rebasing to latest.
2018-06-04 13:27:50 +03:00
ytsuboi
e5b8591818
[Wio 3G] Adding platform
2018-06-04 15:55:43 +09:00
Teemu Kultala
b7bad77569
random socket port number
2018-06-04 09:53:34 +03:00
Ari Parkkila
3abfa4531f
Cellular: Removed obsolete FEATURE_COMMON_PAL flag from trace
2018-05-17 09:41:49 +03:00
Ari Parkkila
6a3dce839e
Cellular: Updated coding guidelines
2018-05-17 09:02:54 +03:00
Ari Parkkila
a146e0e7ff
Cellular: AT debugging improved
2018-05-16 12:39:30 +03:00
Mirela Chirica
c0629c8d11
Cellular: Remove unnecessary NULL assignment
2018-04-25 14:09:20 +03:00
Mirela Chirica
7e684cd789
Cellular: Destructor added for CellularList
2018-04-25 14:09:19 +03:00
Teppo Järvelin
fa61f094db
Fixed coverity warning for class CellularUtil.
2018-04-11 09:31:44 +03:00
Teppo Järvelin
89843246ac
Separated context activation from connect, increased stack size to 2048 to avoid stack underflows and changed connection callback call.
2018-04-11 09:31:44 +03:00