Teppo Järvelin
83ea9be5f5
temp commit while changing work...
2018-04-11 09:31:44 +03:00
Teppo Järvelin
1661fc2744
Modified state machine, added cellular state and callback.
2018-04-11 09:31:44 +03:00
Cruz Monrreal
1c6d485da0
Merge pull request #6572 from TeemuKultala/at_send_wait
...
cellular: ATHandler send delay
2018-04-10 17:58:00 -05:00
Martin Kojtal
495ae06c70
Merge pull request #6509 from k-stachowiak/nvseed-check
...
Add an NV_SEED test to the config adjustment script
2018-04-10 14:38:47 +02:00
Antti Kauppila
67157fc3bd
LoRa: Internal include paths corrected
2018-04-10 14:04:18 +03:00
Kimmo Vaisanen
19883f12f8
Lora: Introduce new receive API which returns port and flags
...
This is a fix for issue #6389 .
Currently when application receives RX_DONE event from stack, it has to provide the correct port
value to receive method in order to read the received message. The problem is that current
API does not provide any way to know in to which port message was received.
This commit introduces a new receive() method, which instead of checking these values, will return
them to application.
2018-04-10 13:04:23 +03:00
Kimmo Vaisanen
01fd8804df
Fix Coverity warning
...
Fixed Coverity warning "stored value is overwritten before it can be used".
2018-04-10 10:19:03 +03:00
Kimmo Vaisanen
10c269bcfa
Add some debug traces
2018-04-10 10:19:03 +03:00
Kimmo Vaisanen
f6decc0131
Initialize mcps_indication status
...
_mcps_indication.status is not initialized properly and it can cause incorrect
status value to be returned.
2018-04-10 10:13:40 +03:00
Kevin Bracey
96610a6aed
LoRa: Improved region macro handling
2018-04-09 15:22:48 +03:00
Teemu Kultala
328919c852
cellular: doxygen correction
2018-04-09 14:09:44 +03:00
Teemu Kultala
d7960620b6
cellular: ATHandler send delay
2018-04-09 13:46:40 +03:00
Antti Kauppila
1a86bb3604
Removed default values from internal functions
...
- Also removed useless else from loraphy_target.h
2018-04-09 13:30:08 +03:00
Antti Kauppila
db167af3c1
LoRa: Fixed doxygen error, enabled commented out code
2018-04-09 11:48:03 +03:00
Antti Kauppila
fa062fff76
LoRa: Moved connect logic from LoRaWANStack to LoRaMac class
...
- Internal change only
2018-04-09 11:10:40 +03:00
Antti Kauppila
1310392d1b
LoRa: Removed unneeded function and cleaned up some code
2018-04-09 11:10:40 +03:00
Antti Kauppila
d1bbd21e01
LoRa: Improved handling of region selection
...
- This implements IOTCELL-697
- This touches API, but does not break it, old ones still work in a same manner!
2018-04-09 11:10:40 +03:00
Martin Kojtal
65ac615d2d
Merge pull request #6557 from AnttiKauppila/IOTCELL-754
...
LoRa: Fixed cflist decoding issue
2018-04-06 16:40:18 +02:00
Martin Kojtal
f5385e7a14
Merge pull request #6524 from forGGe/fix_address_parsing_
...
Fix IPv4 address parsing due to not-so-portable scanf modifier
2018-04-06 12:26:37 +02:00
Martin Kojtal
f331ac34c4
Merge pull request #6402 from u-blox/cellular_test_target
...
Renaming Ublox library for mbed cellular framework
2018-04-06 12:19:58 +02:00
Antti Kauppila
6ef331b9db
LoRa: Fixed cflist decoding issue
...
- This fixes defect IOTCELL-754
2018-04-06 12:54:01 +03:00
Martin Kojtal
02d4631c13
Merge pull request #6528 from anttiylitokola/mbed_coap_4.4.1
...
Update mbed-coap to version 4.4.1
2018-04-06 10:05:39 +02:00
Cruz Monrreal
75cb4d7512
Merge pull request #6411 from AnttiKauppila/stack_refactoring
...
Stack refactoring
2018-04-04 10:26:55 -05:00
Antti Kauppila
10ad173091
LoRa: Small fixes
...
- changed few static variables to have const
2018-04-03 14:58:01 +03:00
Antti Yli-Tokola
8fdae13642
Update mbed-coap to version 4.4.1
...
- Fixes error: IOTCLT-2539 Block wise messaging call-backs not working logically
- Allow TCP+TLS transport method to send larger messages without blockwising.
NOTE! These are internal changes required for cloud client. This has no direct relevance to any mbed-os functionality.
2018-04-03 13:58:40 +03:00
Max Payne
bd47110554
Fix IPv4 address parsing due to not-so-portable scanf modifier
...
Bug is raised when using newlib-based toolchains.
%hh format is only avaliable in scanf if newlib is compiled
with _WANT_IO_C99_FORMATS option.
2018-04-02 23:33:21 +03:00
Marcus Chang
791e42eefe
Inrease thread stack size to 1024 bytes in NVStore test for NRF52
2018-03-30 11:32:55 -07:00
Jimmy Brisson
2429d5e042
Merge pull request #6494 from donatieng/securitydb_fix_casing
...
[BLE] Fixed inconsistent casing issue for SecurityDb
2018-03-29 12:00:36 -05:00
Jimmy Brisson
64df0ddee8
Merge pull request #6408 from davidsaada/david_erase_size_addr
...
Add overloaded get_erase_size API with address parameter to BlockDevice
2018-03-29 11:59:28 -05:00
Krzysztof Stachowiak
ebb28b32af
Move the new check into the end of the previous line
2018-03-29 15:07:29 +02:00
Krzysztof Stachowiak
717573f44e
Add an NV_SEED test to the config adjustment script
2018-03-29 11:53:50 +02:00
Donatien Garnier
8b66c4bd28
[BLE] Fixed inconsistent casing issue for SecurityDb
2018-03-28 10:44:09 +01:00
Bilal
c376e501aa
Moving deprecated warnings outside the class
2018-03-27 12:55:38 +05:00
Cruz Monrreal
062164eaad
Merge pull request #6452 from ARMmbed/revert-6086-gatt-client-unit-tests
...
Revert "BLE: Gatt client unit tests"
2018-03-26 14:33:52 -05:00
Cruz Monrreal
26737580ce
Merge pull request #6313 from SeppoTakalo/doxygen
...
Add missing Doxygen descriptions for Nanostack
2018-03-26 14:28:51 -05:00
Cruz Monrreal
57b48f6e05
Merge pull request #6416 from kjbracey-arm/lwip_netconntype_fix
...
lwIP: fix some IPv6 errors, eg TCP keepalive
2018-03-26 14:27:09 -05:00
Bilal
c07ef92470
Adding deprecated warnings for old name
2018-03-26 19:34:42 +05:00
mudassar-ublox
eb806b681d
Renaming Ublox library for mbed cellular framework
...
(cherry picked from commit 737609736591d12ea369d5b364d132e7a6367ae2)
2018-03-26 17:08:23 +05:00
Martin Kojtal
afeb3066c3
Revert "BLE: Gatt client unit tests"
2018-03-26 11:51:29 +01:00
Cruz Monrreal
6dc0c9d6c3
Merge pull request #6388 from davidsaada/david_nvstore_set_alloc_key
...
NVStore: key management enhancements
2018-03-23 11:03:53 -05:00
Cruz Monrreal
387027dddb
Merge pull request #6086 from pan-/gatt-client-unit-tests
...
BLE: Gatt client unit tests
2018-03-23 10:56:09 -05:00
David Saada
a6048005d7
Add overloaded get_erase_size API with address parameter to all block devices
2018-03-23 00:34:45 +02: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
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
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
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
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
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
paul-szczepanek-arm
ded1403399
security manager overview doc fixes
2018-03-01 19:55:44 +00:00
Cruz Monrreal
c4354fa645
Merge pull request #6179 from geky/lfs-update
...
littlefs: Update to version 1.3
2018-03-01 13:42:47 -06:00
paul-szczepanek-arm
371f183a6a
added one more sequence diagram
2018-03-01 18:49:43 +00:00
paul-szczepanek-arm
1f52e42bcf
more detailed comment for confirmation request
2018-03-01 18:31:16 +00:00
paul-szczepanek-arm
8347e76bf4
Merge https://github.com/ARMmbed/mbed-os
2018-03-01 18:11:41 +00:00
paul-szczepanek-arm
68f25611d5
no need to ask for encryption after pairing, fold deref under the null check
2018-03-01 17:47:18 +00:00
paul-szczepanek-arm
e706b41ccf
removed redundant event for SC OOB request, fixed comments
2018-03-01 16:39:44 +00:00
Vincent Coubard
f0405690b7
BLE: Resolve issue with address type in advertising report.
2018-03-01 15:48:21 +00:00
Vincent Coubard
8e21b5391a
Merge branch 'master' of https://github.com/paul-szczepanek-arm/mbed-os into pr-sm
2018-03-01 15:39:56 +00:00
Vincent Coubard
03f79eec39
BLE: Remove Nordic Pal SM draft.
2018-03-01 15:39:51 +00:00
paul-szczepanek-arm
392ee6ec7c
removed get encryption key size from API
2018-03-01 15:29:52 +00:00
paul-szczepanek-arm
0870b30aa6
Merge branch 'master' of https://github.com/paul-szczepanek-arm/mbed-os
2018-03-01 15:18:00 +00:00
paul-szczepanek-arm
b89f9f2482
added callback on encryption request even if lower and restructured for clarity
2018-03-01 15:17:36 +00:00
Donatien Garnier
00df64b26c
Fixed PasskeyAscii constructor
2018-03-01 15:16:47 +00:00
Vincent Coubard
e8f29f7327
BLE - Cordio - PAL SM: refine comments and formating.
2018-03-01 14:59:06 +00:00
Vincent Coubard
36247b32b8
BLE - Cordio PAL SM: Implement Keypress notification
2018-03-01 14:58:01 +00:00
Vincent Coubard
56af3cb1be
CBLE - Cordio PAL SM: Implement slave security request notification
2018-03-01 14:57:05 +00:00
Vincent Coubard
da6ede34a8
BLE - Cordio PAL SM: Select correct on_ltk_request overload.
2018-03-01 14:56:30 +00:00
Vincent Coubard
628ffea6de
BLE - Cordio PAL SM: Forward local keys
2018-03-01 14:55:45 +00:00
Vincent Coubard
18c93990b6
BLE - Cordio PAL Sm: generate random passkey displayed.
2018-03-01 14:55:12 +00:00
Vincent Coubard
ecc7118490
BLE - Cordio PAL SM: Implement send_keypress_notification
2018-03-01 14:54:06 +00:00
Vincent Coubard
9043714443
BLE - Cordio PAL SM: Select correct security level in enable_encryption
2018-03-01 14:53:33 +00:00
Vincent Coubard
79db2af488
BLE - Cordio PAL SM: Choose correct security level in set_ltk
2018-03-01 14:53:00 +00:00
Vincent Coubard
4858388672
BLE - Cordio PAL SM: comment get_authentication_timeout
2018-03-01 14:52:09 +00:00
Vincent Coubard
054b7808b4
BLE - Cordio PAL SM: implement set_authentication_timeout
2018-03-01 14:51:43 +00:00
Vincent Coubard
a057e5c0d2
BLE - Cordio PAL SM: Fix force secure connection.
2018-03-01 14:50:31 +00:00
Vincent Coubard
cd7d9c551c
Cordio pal SM: comment appropriately privacy related functions.
2018-03-01 14:47:46 +00:00
Vincent Coubard
1170b3132d
BLE: Remove useless pal sm API
2018-03-01 14:46:12 +00:00