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
7b2ee2d52f
Merge pull request #6291 from mirelachirica/bc95_echotest_fixes
...
Cellular: BC95 echo test fixes
2018-03-20 14:06:06 -05:00
David Saada
b7bb29a301
NVStore: key management enhancements
...
- Define an enum for predefined keys (later filled by internal users of NVStore)
- Add the set_alloc_key API, allocating a free key from the non predefined keys
2018-03-19 12:00:47 +02:00
Cruz Monrreal
7c30faf69d
Merge pull request #6264 from jarvte/master
...
Deprecated warnings for feature/netsocket/cellular
2018-03-16 13:32:09 -05:00
Cruz Monrreal
0a1fc956ec
Merge pull request #6359 from davidsaada/david_sotp_cpp
...
NVStore: add comments in header file for Doxygen formatting sake.
2018-03-16 11:34:40 -05: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
92bbdbb60a
Merge pull request #6329 from TeemuKultala/callback_changes
...
Cellular: add callback API
2018-03-15 11:04:17 -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
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
9cac3b2f6b
Merge pull request #6149 from bmcdonnell-ionx/typos
...
Fix typos in the files
2018-03-15 10:53:03 -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
eff0cc2c06
Merge pull request #6314 from jarvte/improve_athandler_write
...
Cellular: ATHandler write improvements.
2018-03-15 10:39:56 -05:00
Mudassar Hussain
91333d2892
Removed strncmp
2018-03-15 10:41:00 +05:00
Deepika
351aaa8acd
dir seek fixed - dptr was not updated before checking
2018-03-14 14:40:08 -05:00
David Saada
f20c54e275
NVStore: add comments in header file for Doxygen formatting sake.
2018-03-14 18:15:13 +02:00
Antti Yli-Tokola
2e3651c2f7
Update mbed-coap to version 4.4.0
...
Make sn_coap_protocol_send_rst as public needed for CoAP ping sending
Allow disabling resendings by defining SN_COAP_DISABLE_RESENDINGS
2018-03-14 15:34:15 +02:00
Mudassar Hussain
3bee060942
Cellular: update attach test
2018-03-13 20:49:31 +05:00
Teppo Järvelin
53455c5528
Fixed correct includes so that compile log is not polluted.
2018-03-13 16:23:15 +02:00
Teppo Järvelin
cacdbd1550
Cellular: Fixed sms unit tests.
2018-03-13 13:52:05 +02:00
Teppo Järvelin
16e8b77474
PR review findings, updated deprecated comments.
2018-03-13 13:15:29 +02:00
Antti Kauppila
783d0c58f5
MBED_DEPRECATED_SINCE taken into use
2018-03-13 13:15:29 +02:00
Teppo Järvelin
7fd6b71337
Moved APN_db.h under new cellular.
2018-03-13 13:15:29 +02:00
Teppo Järvelin
bee31ad1b3
Added deprecation notes to old cellular interfaces.
2018-03-13 13:15:29 +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
Mika Leppänen
af29734dd0
Corrected lwip adaptation TCP flagging
2018-03-13 09:47:11 +02:00
Christopher Haster
7f17a9b8da
littlefs: Fixed issue updating dir struct when extended dir chain
...
Like most of the lfs_dir_t functions, lfs_dir_append is responsible for
updating the lfs_dir_t struct if the underlying directory block is
moved. This property makes handling worn out blocks much easier by
removing the amount of state that needs to be considered during a
directory update.
However, extending the dir chain is a bit of a corner case. It's not
changing the old block, but callers of lfs_dir_append do assume the
"entry" will reside in "dir" after lfs_dir_append completes.
This issue only occurs when creating files, since mkdir does not use
the entry after lfs_dir_append. Unfortunately, the tests against
extending the directory chain were all made using mkdir.
Found by schouleu
2018-03-12 15:52:32 -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
Teemu Kultala
bd75d5327f
callback API added
2018-03-12 11:51:27 +02:00
Teemu Kultala
cf07cb0394
cellular doxygen updates
2018-03-12 10:24:33 +02:00
Christopher Haster
17f7c8cd5b
fatfs: Revert "Update error code mapping"
...
This reverts commits:
b40ff8af15
b548fd8a39
2018-03-09 15:27:03 -06:00
Teppo Järvelin
d26bb23dae
Cellular: ATHandler write improvements.
2018-03-09 14:03:17 +02:00
Martin Kojtal
d2f00a054c
Merge pull request #6171 from anttiylitokola/master
...
Update mbed-coap to version 4.3.0
2018-03-08 17:44:17 +01:00
Martin Kojtal
0c0826179f
Merge pull request #6280 from davidsaada/david_nvstore_doxygen_only
...
NVStore: Enclose header file with DOXYGEN_ONLY option as well.
2018-03-08 17:40:12 +01:00
Martin Kojtal
87b37c0e2a
Merge pull request #6286 from delftswa2018/feature-typo-fixes
...
Small typo fixes in readme.md files
2018-03-08 17:36:23 +01:00
Kimmo Vaisanen
5bfe056370
Fix verification of RX2 datarate
...
Datarate verification passed only if given datarate was a minimum
possible value. Instead datarate should be checked that it is less
than maximum value.
2018-03-08 14:02:40 +02:00
Teppo Järvelin
228f7e8160
Cellular tests: fixed cellular greentea tests by adding timeout as it may take time to register, attach and connect to network.
2018-03-08 13:27:23 +02:00
Mirela Chirica
be95f47636
Quectel BC95 echo test fixes
...
Fixing get host by name and iterate send/recv socket operations.
2018-03-08 13:13:02 +02:00
Mirela Chirica
84cd5c1000
Use of APN lookup decision logic fixed
2018-03-08 12:58:12 +02:00
Mirela Chirica
9f6454a084
Fix wrong header define name
2018-03-08 12:53:52 +02:00
Mirela Chirica
350d7916cf
Release AT handler if network not created
2018-03-08 12:50:14 +02:00
Kimmo Vaisanen
3bd0f97914
Fix initialization of phy_params.payloads_with_repeater.size
2018-03-08 12:46:54 +02:00
Mirela Chirica
aaf4edc15c
Own SIM state retrieval for Quectel BC95
2018-03-08 12:46:44 +02:00
Teppo Järvelin
66fcc758c5
Fixed Cellular unit tests by adding one missing stub after changes in mbed-os.
2018-03-07 12:45:49 +02:00
Kevin Bracey
79b3d068e9
mbed-mesh-api: revise some Thread JSON help
2018-03-07 09:35:04 +02:00
Cruz Monrreal
8a7b390fdd
Merge pull request #6102 from Ultimaker/master
...
Add support for STEVAL-3DP001V1 board
2018-03-06 20:41:41 -06:00
Cruz Monrreal
772a857727
Merge pull request #6268 from AriParkkila/master
...
Fixes cellular unit tests.
2018-03-06 16:12:48 -06:00
jiangkun1994
af7c1c919d
fixes a typo in README.md
2018-03-07 03:33:31 +08:00
jiangkun1994
5be35c92da
fixes some typos in README.md
2018-03-07 03:27:45 +08:00
jiangkun1994
3ca084e954
fixes a typo in README.md
2018-03-07 03:23:42 +08:00
Jasper de Winkel
2c7a25a949
Small typo fixes in readme.md files
2018-03-06 19:07:03 +01:00
David Saada
9e35f8283e
NVStore: Enclose header file with DOXYGEN_ONLY option as well.
2018-03-06 15:35:00 +02:00
Antti Kauppila
7741096538
Cellular tests: nsapi_socket_t errors fixed in unittests
2018-03-05 16:00:13 +02:00
Anna Bridge
a6e27b1b86
Merge pull request #6082 from AriParkkila/master
...
Mbed OS cellular connectivity
2018-03-02 18:36:48 +00:00
Anna Bridge
f0bda6c4cd
Merge pull request #6251 from deepakvenugopal/master
...
Fixed Thread Commissioning issue in CoAP service
2018-03-02 13:58:59 +00:00
Ari Parkkila
f91cc33fca
Updated readme document
2018-03-02 14:38:08 +02:00
Teppo Järvelin
9e2da6af7d
Removed mux comments from code.
2018-03-02 14:38:08 +02:00
Teppo Järvelin
dc87629641
Fixed unit test after removing mux.
2018-03-02 14:38:08 +02:00
Teppo Järvelin
7c9f5f3781
Removed mux.
2018-03-02 14:38:08 +02:00
Ari Parkkila
bfed2baeb6
Changed cellular device as not static
2018-03-02 14:38:08 +02:00
Ari Parkkila
e183923c0d
Changed std::snprintf to sprintf in cellular ATHandler.cpp
2018-03-02 14:38:08 +02:00
Ari Parkkila
b811f7e84d
Fixed EasyCellularConnection to have debug flag
2018-03-02 14:38:08 +02:00
Teppo Järvelin
81738acfb4
Fixed unit tests.
2018-03-02 14:38:08 +02:00
Amanda Butler
63485bd846
Copy edit ATHandler.h
...
Copy edit for clarity, grammar and spelling.
2018-03-02 14:38:08 +02:00
Amanda Butler
cc3835e356
Copy edit AT_CellularBase.h
...
Copy edit file for clarified phrasing.
2018-03-02 14:38:08 +02:00
Amanda Butler
68cac96042
Copy edit AT_CellularDevice.h
...
Copy edit for consistent phrasing across docs.
2018-03-02 14:38:08 +02:00
Amanda Butler
1d57299000
Copy edit AT_CellularSMS.h
...
Copy edit file for grammar.
2018-03-02 14:38:08 +02:00
Amanda Butler
3a57d507d9
Copy edit AT_CellularStack.h
...
Copy edit for American English.
2018-03-02 14:38:08 +02:00
Amanda Butler
6dd0723dff
Copy edit CellularUtil.h
...
Copy edit file for consistent capitalization and correct which/that.
2018-03-02 14:38:08 +02:00
Amanda Butler
00b1341297
Copy edit cellular_mux.h
...
Copy edit, mostly for spelling.
2018-03-02 14:38:08 +02:00
Amanda Butler
a302a4be6d
Copy edit OnboardCellularInterface.h
...
Copy edit file for active voice and removal of Latin abbreviations.
2018-03-02 14:38:08 +02:00
Amanda Butler
dce649c97d
Copy edit README.md
...
Copy edit file for active voice and consistent capitalization.
2018-03-02 14:38:08 +02:00
Ari Parkkila
e53b93114e
Typedef OnboardCellularInterface to EasyCellularConnection
2018-03-02 14:38:07 +02:00
Teppo Järvelin
c9c3f85311
Changed state machine class name and implementation.
2018-03-02 14:38:07 +02:00
Ari Parkkila
b159a51821
Added mux-enabled flag in cellular mbed_lib.json
2018-03-02 14:38:07 +02:00
Antti Kauppila
020e15828d
Unittests fixed + readme updated
...
- Unittests were broken and are now fixed
- README.md is updated to have small instructiopn how to run unittests
2018-03-02 14:38:07 +02:00
Ari Parkkila
6c6223ae25
Added use_apn_lookup in mbed_lib.json
2018-03-02 14:38:07 +02:00
Ari Parkkila
164e8fb717
Added modem_debug_on to cellular device
2018-03-02 14:38:07 +02:00
Teppo Järvelin
a95d376820
review changes: take define MBED_CONF_PPP_CELL_IFACE_APN_LOOKUP in to use.
2018-03-02 14:38:07 +02:00
Teppo Järvelin
1fd9ba6caa
APN lookup from database support.
2018-03-02 14:38:07 +02:00
Mirela Chirica
6670ebbc5f
- PDP context creation fixes for stack type handling
...
- Delete created contexts that do not succed to activate
2018-03-02 14:38:07 +02:00
Teppo Järvelin
0c49b669b4
Fixed bug when copying apn, username and password.
2018-03-02 14:38:07 +02:00
Teppo Järvelin
9016ed5ed8
Don't allow zero length apn, password or username.
2018-03-02 14:38:07 +02:00
Teppo Järvelin
1a3b6e589c
Doxygen update: removed documentation from inherited classes as INHERTIC_DOCS is enabled in doxygen config. Reduces copy-paste and eases maintenance.
2018-03-02 14:38:07 +02:00
Teppo Järvelin
e99c18c233
Fixed SMS receive in PDU: certain length sms last char was missing.
2018-03-02 14:38:07 +02:00
Mirela Chirica
6ccbb59979
Mem_str comparation was too short
2018-03-02 14:38:07 +02:00
Teppo Järvelin
e61411e60c
Fixed travis-ci.
2018-03-02 14:38:07 +02:00
Teppo Järvelin
7a8da2244d
Fixed SMS send in pdu mode could give wrong size as return value.
2018-03-02 14:38:07 +02:00
Antti Kauppila
427674d6ca
IOTCELL-553 fixed
...
Unittests reports an error as there is no coverage file created for cellular_mux.
This is now fixed by running an init function.
2018-03-02 14:38:07 +02:00
Ari Parkkila
fb25c600e7
Added cellular readme
2018-03-02 14:38:07 +02:00
Teppo Järvelin
ef14aef823
review and dynamic alloc ( #3 )
...
* Review fixes. Changed apn, username and password to be dynamically allocated.
2018-03-02 14:38:07 +02:00
Mirela Chirica
4457e361ac
Logging compile fix
2018-03-02 14:38:06 +02:00
Mirela Chirica
22e7fbd7e8
- BC95 socket creation bug fix
...
- Cellular information reading stopping on comma fixed
2018-03-02 14:38:06 +02:00
Ari Parkkila
d2e8691754
Cellular stack listen and accept to return UNSUPPORTED
2018-03-02 14:38:06 +02:00
Ari Parkkila
09143da040
Changed APN initialization from CellularNetwork to application
2018-03-02 14:38:06 +02:00
Ari Parkkila
1df28b28c7
Changed UBLOX C027 to LISA-U
2018-03-02 14:38:06 +02:00
Teppo Järvelin
b7bf83001d
Removed unused include in QUECTEL_BC95_CellularPower.cpp.
2018-03-02 14:38:06 +02:00
Teppo Järvelin
3ff131be0a
Doxygen update, missing class definitions from AT_ classes.
2018-03-02 14:38:06 +02:00
Ari Parkkila
f2613a6154
Cellular logging to use mbed_trace
2018-03-02 14:38:06 +02:00
Juho Eskeli
331a27df63
Enable connection status callback with EasyCellularConnection
2018-03-02 14:38:06 +02:00
Teppo Järvelin
58c8176247
doxygen fixes.
2018-03-02 14:38:06 +02:00
Teppo Järvelin
e41c551468
Doxygen warnings fixes.
2018-03-02 14:38:06 +02:00
Ari Parkkila
bc67100dcf
Added const in AT_CellularNetwork::set_registration
2018-03-02 14:38:06 +02:00
Jari Poyhonen
cd486f2624
Pull request feedback fix: add poll support to multiplexer
2018-03-02 14:38:06 +02:00
Ari Parkkila
0c8c41ff5f
Added static const to AT_CellularNetwork.cpp
2018-03-02 14:38:06 +02:00
Teppo Järvelin
0e20e49ef7
review fixes to athandler: changing int16/8 to int's and some minor issues.
2018-03-02 14:38:06 +02:00
Jari Poyhonen
0ee265110a
Pull request feedback fix: user_data_tx accepts arbitary size
2018-03-02 14:38:06 +02:00
Ari Parkkila
88398bf141
Changed include brackets to double quotes
2018-03-02 14:38:06 +02:00
Ari Parkkila
7545a459d6
Added cellular greentea tests
2018-03-02 14:38:06 +02:00
Mirela Chirica
1825c999a9
Removed unnecessary memsets of ATHandler's receving buffer
2018-03-02 14:38:06 +02:00
Mirela Chirica
d15801d893
PR review fix:
...
- bind behaviour to not change existing port or address if the requested ones are 0
- removed temporary array setting to zero
2018-03-02 14:38:06 +02:00
Juho Eskeli
71f54bc2d4
Deactivate PDP context on disconnect when using AT stack.
2018-03-02 14:38:06 +02:00
Juho Eskeli
66aca1fddf
Connection status callback added.
2018-03-02 14:38:06 +02:00
Mirela Chirica
a35e1f8d6c
- Removed extra whitespaces from AT prefix definitions. The format is modem specific and AT handler is handling whitespaces in case they are present
...
- Reverted the "smaller thread stack size for dispatcher thread". 1KB is not enough, was causing CMSIS-RTOS error: Stack underflow.
2018-03-02 14:38:05 +02:00
Mirela Chirica
4a3541ef60
Device info buffer moved from stack to static
2018-03-02 14:38:05 +02:00
Teppo Järvelin
9e85767c80
PR review fixed: removed dead code, removed magic numbers.
2018-03-02 14:38:05 +02:00
Ari Parkkila
ea41e18aa0
Fixed IAR 7.8 compile
2018-03-02 14:38:05 +02:00
Teppo Järvelin
952ca8729f
Smaller thread stack size for dispatcher thread to save memory.
2018-03-02 14:38:05 +02:00
Teppo Järvelin
4a6bcc4a0a
Fixed doxygen warning.
2018-03-02 14:38:05 +02:00
Ari Parkkila
e8a26f3f54
Removed mbed.h
2018-03-02 14:38:05 +02:00
Ari Parkkila
065326135e
Change cellular socket port 0 to dynamic range
2018-03-02 14:38:05 +02:00
Ari Parkkila
934a93151a
Changed requested stack for new pdp context
2018-03-02 14:38:05 +02:00
Teppo Järvelin
67740f73bd
Removed ASSERT from mux.
2018-03-02 14:38:05 +02:00
Teppo Järvelin
ea6d59ff19
Updated license texts.
2018-03-02 14:38:05 +02:00
Antti Kauppila
1a44c4e5b1
Update AT_CellularPower.cpp
2018-03-02 14:38:05 +02:00
Antti Kauppila
bfbd3e42af
more unittests added
2018-03-02 14:38:05 +02:00
Teppo Järvelin
bf3d587571
Removed dead code from athandler.
2018-03-02 14:38:05 +02:00
Ari Parkkila
30a3ec8e0d
Updated cellular doxygen
2018-03-02 14:38:05 +02:00
Teppo Järvelin
819a9a0da5
Changed register to accept only roaming and homenetwork as registered success.
2018-03-02 14:38:05 +02:00
Ari Parkkila
db2c5cff20
Added cellular stack API
2018-03-02 14:38:05 +02:00
Teppo Järvelin
60f7054a45
Fixed to call callback when connected...
2018-03-02 14:38:05 +02:00
Teppo Järvelin
1dcc6684bf
working example?
2018-03-02 14:38:05 +02:00
Antti Kauppila
fbfbdc9718
renamed mbed_mux to cellular_mux
2018-03-02 14:38:05 +02:00
Antti Kauppila
217271b156
Unittests added
2018-03-02 14:38:03 +02:00
Teppo Järvelin
1cbddfbc10
Changed to use platform baudrate to uart.
2018-03-02 14:38:02 +02:00
Ari Parkkila
ccd9dc3892
Smoke test changes with easy-connect
2018-03-02 14:38:02 +02:00
Ari Parkkila
5b70492c64
Updated cellular
2018-03-02 14:38:02 +02:00
Ari Parkkila
863ec3c3cc
Initial cellular feature
2018-03-02 14:38:02 +02:00
Anna Bridge
6e1cd9b5aa
Merge pull request #6210 from k-stachowiak/mbed-tls-2.7.1-update
...
Update Mbed TLS to version 2.7.1
2018-03-02 10:20:12 +00:00
Anna Bridge
ed17033928
Merge pull request #6188 from paul-szczepanek-arm/master
...
BLE: Security Manager
2018-03-02 10:15:26 +00:00
Deepak Venugopal
4a3160f442
Merge commit '41d7448660fb20d72ab17615e23c9e64005934e3'
...
* commit '41d7448660fb20d72ab17615e23c9e64005934e3':
Squashed 'features/nanostack/FEATURE_NANOSTACK/coap-service/' changes from f6281ed..f40072f
2018-03-02 09:49:36 +02:00
Cruz Monrreal
25321961fb
Merge pull request #5900 from davidsaada/david_sotp_cpp
...
Add NVStore (A.K.A SOTP) feature
2018-03-01 19:38:28 -06:00
Donatien Garnier
a3383c139b
Addressed Vincent's comments
2018-03-01 20:32:37 +00:00