Antti Kauppila
f6ecb319d0
LoRaMac unittested
2018-09-27 11:30:52 +03:00
Antti Kauppila
bd9066431f
LoRaWANStack unit tested
2018-09-27 11:30:52 +03:00
Antti Kauppila
e07940d5e7
LoRaMacCrypto unittested
2018-09-27 10:49:07 +03:00
Antti Kauppila
f3d402f70e
LoRaPHY unittested, small fixed done during tests
2018-09-27 10:49:07 +03:00
Antti Kauppila
0f8cfd8631
LoRa regions unittested, stubs licences revisited
2018-09-27 10:49:07 +03:00
Antti Kauppila
0f83f08043
More lorawan unit tests added
2018-09-27 10:49:07 +03:00
Leon Lindenfelser
97d6a91eb9
Fix rebase conflict file
2018-09-26 15:54:03 -05:00
Leon Lindenfelser
9791e98575
Fix so building for other targets does not fail
2018-09-26 15:39:42 -05:00
Leon Lindenfelser
5ff0eb9d92
Rebase and changes for Dragonfly nano support
2018-09-26 15:39:42 -05:00
Leon Lindenfelser
55bcf93574
Fixed spacing/tabs and clean up targets.json
2018-09-26 15:37:33 -05:00
cedrick kukela
59dda88e05
changes to support mts dragonfly nano ppp
2018-09-26 15:37:33 -05:00
Juho Eskeli
d32b454c5b
Align writes to blockdevice write size in MBRBlockDevice
2018-09-26 22:43:27 +03:00
Simon Butcher
0fd0de6f31
Update the Mbed TLS README.md
...
Add content missing from the README.md taken from the Yotta/Mbed OS 3 Readme.
2018-09-26 16:33:17 +01:00
Mirela Chirica
265255305a
Cellular: Fix compile warnings for CellularNetwork
2018-09-26 16:39:05 +03:00
Martin Kojtal
37654e546a
Merge pull request #7696 from aashishc1988/wizwiki_iar_error
...
skip the flashsim test if not enough memory cannot be allocated for it.
2018-09-26 15:08:23 +02:00
Yossi Levy
dd065e3be1
Fix warnings in block devices
2018-09-26 14:35:48 +03:00
pingdan32
45ae7f75c6
add entry in config file for total links configuration
2018-09-26 13:25:13 +08:00
Cruz Monrreal
3bec1b75c1
Merge pull request #8229 from mirelachirica/fix_network_and_util_ut
...
Fix network and util ut
2018-09-25 10:35:36 -05:00
Martin Kojtal
a999289365
Merge pull request #8034 from EnsilicaEdd/snr_unsigned_signed
...
Changed the reported SNR from unsigned to signed.
2018-09-25 13:23:14 +02:00
Mirela Chirica
983425e4fc
Cellular: Fix cellular network unit test
2018-09-24 15:15:18 +03:00
Martin Kojtal
f0c6a66285
Merge pull request #8005 from paul-szczepanek-arm/fix-whitelist-gen
...
BLE: fix whitelist generation (set correct address type)
2018-09-24 10:17:46 +02:00
Martin Kojtal
2e049ce035
Merge pull request #8019 from jarvte/fix_crash_in_close_cellularnetwork
...
Cellular: fixed crash when closing CellularNetwork via CellularDevice.
2018-09-24 09:06:34 +02:00
Martin Kojtal
e7cd6ae2a9
Merge pull request #7746 from davidsaada/david_nvstore_test_low_mem
...
Handle NVStore tests in a low memory environment
2018-09-24 08:25:20 +02:00
Cruz Monrreal
73a96a68cf
Merge pull request #8147 from AriParkkila/cell-auth
...
Fix authentication on a cellular network for Access Point Name (APN)
2018-09-22 16:25:35 -05:00
Cruz Monrreal
5eb314f65f
Merge pull request #8164 from OpenNuvoton/nuvoton_iot_m487
...
Support Nuvoton's new target NUMAKER_IOT_M487
2018-09-21 21:31:22 -05:00
Cruz Monrreal
caa4279244
Merge pull request #8023 from SiliconLabs/hotfix/nanostack-default-interface
...
Hotfix for PR #7778 on Silicon Labs targets
2018-09-21 12:50:43 -05:00
jeromecoutant
79bef6e2c8
STM32 EMAC : lock deep sleep
2018-09-21 15:14:38 +02:00
Hasnain Virk
bc976c6545
Fixing coverity findings
...
A couple of the coverity analysis findings are being treated here. For
the rest there will be a separate PR.
2018-09-21 15:55:30 +03:00
Hasnain Virk
0d3ec26b4a
Proper handling of RX1 frequency in rx_config
...
Previously, we weren't filling in RX1 frequecny in rx_window1_config
structure. However, everything worked as in LoRaPHY::rx_config() API
there was a check which filled in correct RX1 frequency.
Now we are filling in RX1 freq. properly while we are computing
parameters for RX1 window.
2018-09-21 15:55:30 +03:00
Hasnain Virk
19e87ceab9
TX post-process for CONFIRMED UL in no-reception case
...
The idea behind the method post_process_no_reception() is to post
process any outgoing TX but we shouldn't do that if a CONFIRMED message
is outgoing and there are still some retries left.
2018-09-21 15:55:30 +03:00
Hasnain Virk
c9d6741212
Making sure that RX slots open after state change
...
After transmission we should change the state before invoking opening of
slots as we may start receiving in the rx slots and the state would
suddenly change from SENDING to RECEIVING without going through the
ACK_WAIT state (in case of CONFIRMED messages). Tests show that after
this slight adjustment, our number of ack retries have significantly
reduced.
2018-09-21 15:55:30 +03:00
Hasnain Virk
94eb4c0bc0
Adding QOS handling and fixing bugs for Class C
...
LinkADRReq mac command can be used by the network server to set a
certain level of QOS using NbTrans field which is applicable to
Unconfirmed traffic only for 1.0.2 spec.
This commit introduces mechanisms to facilitate this QOS. It means to
repeat an outgoing unconfirmed message NbTrans times without changing
its frame counter.
For class C, we have retired the ack_expiry_timer_for_class_c and have
replaced it with another timer which mimics the RX2 closure as in Class
A but doesn't actually close RX2 window. It's just a mechanism by which
the state machine is informed that the you can proceed forward, we have
not received anything in RX2 window either. This is needed as RX2
doesn't timeout in class C (i.e., the radio remains in continuous mode).
In addition to that we need to close any pending timers for Receive
windows after the MIC has passed and the Duplicate counter check has
also been passed.
2018-09-21 15:55:30 +03:00
Hasnain Virk
5bfa7c03ba
Adding check for ongoing automatic-uplink
...
Before going after an automatic uplink, we should check if there was an
automatic uplink already ongoing, i.e., the ack for the previous
automatic uplink cycle has not been received.
If there is we shouldn't queue the new automatic uplink and wait for
the previous Ack cycle to complete.
2018-09-21 15:55:30 +03:00
Hasnain Virk
76814d4847
Style correction
...
LinkADRReq parameters and certain parameters used camel case
which is not the recommended style.
2018-09-21 15:55:30 +03:00
Jarkko Paso
a3ec9f3982
platform timer: Call timer start in enable
...
This timer was never started and therefore read_us returned always 0 causing bad timings.
2018-09-21 11:53:56 +03:00
Martin Kojtal
0c8aa2823d
Merge pull request #8096 from kivaisan/fix_mac_command_retransmission
...
Lora: Fix sticky MAC command retransmissions
2018-09-21 09:47:47 +02:00
Cruz Monrreal
9346a7e781
Merge pull request #7935 from kivaisan/fix_invalid_mac_command_case
...
LoRa: Stop processing MAC commands if command id is unknown
2018-09-20 10:14:59 -05:00
Martin Kojtal
f3af8267c5
Merge pull request #8074 from hasnainvirk/compliance_testing
...
LoRaWAN: Refactoring compliance test code
2018-09-20 13:10:47 +02:00
Kimmo Vaisanen
19d90bd25e
Lora: Fix sticky MAC command retransmission
...
This commit fixes the bug where sticky MAC commands were duplicated in
send buffer everytime send() was called.
2018-09-20 12:20:17 +03:00
David Saada
999042dda3
Handle NVStore tests in a low memory environment
2018-09-20 11:53:51 +03:00
Martin Kojtal
843b15bfc9
Merge pull request #8145 from JaniSuonpera/NUCLEO_F207ZG
...
Add bootloader image for Nucleo F207ZG
2018-09-20 09:10:09 +02:00
Martin Kojtal
d8ec21a99a
Merge pull request #8054 from kivaisan/fix_ADRAckReq
...
Lora: Fix ADRAckReq
2018-09-19 16:59:08 +02:00
Steven
9a0fc98bdc
Hotfix for PR #7778
...
TB_SENSE_12 would have been left behind by the changes in #7778 . This commit implements the changes in mbed to allow targets to provide a default network interface for Silicon Labs targets.
2018-09-19 12:30:21 +02:00
Kimmo Vaisanen
7931378245
Cellular: Quectel BG96 TCP socket support
2018-09-19 13:01:48 +03:00
Kimmo Vaisanen
95114fe8ed
Add missing SIM PIN configuration item
2018-09-19 12:24:46 +03:00
Cruz Monrreal
c356f1f9d4
Merge pull request #7883 from juhaylinen/fix-netsocket-warning
...
netsocket: Fix compiler warning
2018-09-18 11:42:21 -05:00
Aashish chaddha
887aafe321
skip the flashsim test if enough memory cannot be allocated for it.
2018-09-18 11:38:39 -05:00
Cruz Monrreal
f00c5643e5
Merge pull request #7944 from AnttiKauppila/unittests
...
Cellular Unittests refactored to GoogleTest framework
2018-09-18 11:30:23 -05:00
Cruz Monrreal
c3128cdfce
Merge pull request #7981 from paul-szczepanek-arm/ondatasent
...
BLE: fix missing updates sent callback in GattServer using Cordio stack
2018-09-18 11:30:02 -05:00
Teppo Järvelin
ed7606bf0c
Cellular: fixed crash when closing CellularNetwork via CellularDevice.
2018-09-18 14:45:07 +03:00
Martin Kojtal
87daf8f8c3
Merge pull request #7969 from jarvte/cellu_multiple_context
...
Cellular: CellularDevice:get_default_instance() implemented
2018-09-17 14:52:10 +02:00
Martin Kojtal
aca7740f00
Merge pull request #7982 from hasnainvirk/mem_overrun
...
LoRaWAN: Memory overrun correction
2018-09-17 14:43:13 +02:00
Martin Kojtal
10b5a3a9d8
Merge pull request #7960 from RonEld/set_NULL_as_platform_context
...
Change mbedtls_platform_context parameter to NULL
2018-09-17 14:30:03 +02:00
Jani Suonpera
4c94d78f1b
Rename F207ZG bootloader binary
...
Typo fix and fix version hash.
2018-09-17 14:03:35 +03:00
Ari Parkkila
13106fb774
Cellular: Disable AT+CGAUTH on HE910 and BC95
2018-09-17 03:28:18 -07:00
Kimmo Vaisanen
1f1b5d3a5a
Cellular: Quectel BC95 TCP socket support
2018-09-17 13:06:24 +03:00
Antti Kauppila
a6b4938844
Small improvements for test cases
2018-09-17 12:07:43 +03:00
Antti Kauppila
adc4ce4385
Old Cellular UNITTESTS removed
2018-09-17 12:07:43 +03:00
Ari Parkkila
4698cd268d
Cellular: Implement APN authentication for BG96
2018-09-17 01:14:59 -07:00
Ari Parkkila
fb899d2cc1
Cellular: Fix APN authentication before context activation
2018-09-17 01:14:59 -07:00
Jani Suonpera
fc6ff090bd
Add bootloader image for Nucleo F207ZG
2018-09-17 10:48:11 +03:00
Cruz Monrreal
8475477ca7
Merge pull request #7992 from SeppoTakalo/fix-tcpsocket-accept
...
Fix TCPSocket::accept()
2018-09-14 11:49:06 -05:00
deepikabhavnani
1cb87d3235
Added thread safety info to FatFs/LittleFs
2018-09-13 11:32:36 -05:00
Anna Bridge
d6ccf46bbc
Merge pull request #8031 from juhaylinen/fix-tcpserver
...
Fix TCPServer::accept()
2018-09-13 13:09:55 +01:00
ccli8
d2c8be678f
[M487] Add missing mbedtls_device.h for NUMAKER_IOT_M487
2018-09-11 18:25:14 +08:00
Hasnain Virk
e110856941
LoRaWAN: Refactoring compliance test code
...
While performing compliance tests with an industry tester, we realized
that there was no need for any extra handling code for the compliance
tests. The tests would run fine, if we only have a handling application.
However, in normal operation we wouldn't like the network to send us any
traffic on compliance testing port. To mitigate that, on the reception
path we filter out any traffic on compliance testing port if compliance
testing is not underway. User should define LORAWAN_COMPLIANCE_TEST macro
in mbed_app.json to enable traffic on compliance test port.
2018-09-11 11:26:31 +03:00
Kimmo Vaisanen
782e470306
Lora: Fix ADRAckReq
...
This commit fixes two bugs related to ADRAckReq:
- adr_ack_counter must be incremented for all uplink messages (not just confirmed)
- When ADR_ACK_LIMIT + ADR_ACK_DELAY has been reached, stack decreased used
datarate twice.
2018-09-10 13:39:47 +03:00
Teppo Järvelin
8f4acc14ca
Cellular: CellularDevice:get_default_instance() implemented
...
Removed copy-paste code from targets by creating implementation methods to override.
2018-09-07 14:49:18 +03:00
Edd Inglis
4a07adbac5
Changed the reported SNR from unsigned to signed.
...
Internally and logically it is a signed value.
2018-09-07 10:19:01 +01:00
Martin Kojtal
8a43879ca9
Merge pull request #8022 from sbutcher-arm/update-mbedtls-2.13.1
...
Update Mbed TLS version to 2.13.1
2018-09-07 10:44:54 +02:00
Juha Ylinen
4ea49f5580
Fix TCPServer::accept()
...
Missing lock caused Mutex unlock failure
2018-09-07 10:46:25 +03:00
Simon Butcher
15785191e7
Update Mbed TLS version to 2.13.1
2018-09-06 19:32:03 +01:00
Antti Yli-Tokola
4249318546
Update mbed-coap to version 4.6.3
...
- Bug fix: Remove timed out blockwise message from resend queue. If blockwise message was timed out message was still kept in the resend queue which causes unnecessary reconnections on client side.
- Documentation: Document all the available macros.
2018-09-06 16:08:49 +03:00
Cruz Monrreal
6c30b2f48d
Merge pull request #7924 from kjbracey-arm/filebase_default
...
Add special handling for "/default" filesystem
2018-09-05 19:40:29 -05:00
paul-szczepanek-arm
a2c9781682
fix whitelist generation (set correct address type)
2018-09-05 16:46:01 +01:00
Cruz Monrreal
06106297a4
Merge pull request #6293 from Taiki-San/patch-1
...
Reduce .text footprint of the network stack
2018-09-05 10:16:04 -05:00
Cruz Monrreal
f940443ac7
Merge pull request #7824 from deepikabhavnani/lfs_crc
...
Use MbedCRC for LittleFS
2018-09-05 09:12:06 -05:00
Kevin Bracey
c0dbc49aa0
Make "/default" an alias - add real names too
...
Make the built-in FileSystem::get_default_instance() implementation
instantiate storage as "flash" or "sd", with "default" as an alias.
This will aid interworking between simple and advanced filesystem code
on various platforms. The expectation is that the names "sd" or "flash"
will be always available if the device is available and configured,
regardless of what "default" represents.
2018-09-05 14:18:29 +03:00
Kevin Bracey
fd4b3879be
Change default filesystem name to /default
...
"/fs" is a tautology - not a good name for the default filing system, as
whereever we use it, we know we're specifying a filing system. Rename to
"/default".
2018-09-05 14:18:28 +03:00
Seppo Takalo
451852d19f
Fix TCPSocket::accept()
...
This one was actually always return NULL, and unsted because we only
have tests with one device.
We will add the testcase for this soon
2018-09-05 12:00:59 +03:00
Martin Kojtal
3057c6c722
Merge pull request #7964 from paul-szczepanek-arm/master
...
NFC: fix reading from NFC EEPROM
2018-09-05 09:50:27 +02:00
Cruz Monrreal
6165386d34
Merge pull request #7893 from kivaisan/improve_callback_descriptions
...
Lora: Improve description of callback methods
2018-09-04 09:26:44 -05:00
paul-szczepanek-arm
44d3504dbb
missing overload
2018-09-04 13:58:50 +01:00
paul-szczepanek-arm
ec373c29a0
missing onDataSent calblack for cordio
2018-09-04 13:30:08 +01:00
Hasnain Virk
7b7d5ebc77
LoRaWAN: Memory overrun correction
...
A typo in LoRaPHYCN470 is causing memory overrun.
We were supposed to fill-in default channel mask and iterate over CN470_CHANNEL_MASK_SIZE times.
2018-09-04 15:21:40 +03:00
Teppo Järvelin
69bcbd84db
Cellular: state machine and easycellular now return error fast if sim pin needed but not provided.
2018-09-04 13:13:35 +03:00
Martin Kojtal
dd91b90149
Merge pull request #7974 from sbutcher-arm/update-mbedtls
...
Update Mbed TLS to version 2.13.0
2018-09-04 08:22:19 +02:00
Martin Kojtal
b20fd506c1
Merge pull request #7910 from AriParkkila/cell-test-attach
...
Cellular: Fix Greentea test for network attach
2018-09-04 08:20:38 +02:00
Anna Bridge
4fb3aec84a
Merge pull request #7895 from kivaisan/remove_duplicate_linkcheckreq
...
Lora: Remove duplicate LinkCheckReq MAC command
2018-09-03 16:43:02 +01:00
Krzysztof Stachowiak
7d7b8d4a07
Disable the OFB cipher mode in Mbed TLS
2018-09-03 16:20:55 +01:00
Krzysztof Stachowiak
f1d76691b6
Update to Mbed TLS 2.13.0
2018-09-03 16:20:46 +01:00
David Saada
ff7858a306
Fix is_valid_erase function to use get_erase_size with address
2018-09-03 16:15:54 +03:00
Anna Bridge
c2fdc0d972
Merge pull request #7423 from mprse/mutex_lock_assert
...
Fix issue #6872 - Mutex lock has possibility to fail at runtime (returning status flag)
2018-09-03 14:14:24 +01:00
pingdan32
459649fce0
fix total link count
2018-09-03 16:45:18 +08:00
paul-szczepanek-arm
2a14b29f66
fix reading from eeprom
...
added missing current op
2018-09-03 09:18:17 +01:00
Martin Kojtal
44925d8527
Merge pull request #7579 from u-blox/ublox_odin_driver_os_5_v3.0.0_rc1
...
Updated ODIN drivers to v3.0.0 RC1
2018-09-03 09:25:32 +02:00
Ron Eldor
5817d71ad8
Change mbedtls_platform_context parameter to NULL
...
Change the parameter being sent to `mbedtls_platform_setup()` and
`mbedtls_platfrm_teardown()` to NULL, as it is now being unused
in Mbed OS.
2018-09-03 08:38:57 +03:00
Cruz Monrreal
83e0e65a42
Merge pull request #7726 from SenRamakri/sen_BLE_ErrorUpdate
...
Update BLE error calls to use new error codes and mbed_error
2018-09-02 20:47:40 -05:00
Cruz Monrreal
3be076c196
Merge pull request #7099 from RonEld/platform_context_reference_count
...
Add reference counter for platform context
2018-09-02 20:47:19 -05:00
Deepika
683034db8a
Use the same API name to add mbed CRC: lfs_crc
2018-09-02 15:25:41 -05:00
Deepika
4d7fdfc2a9
Use MbedCRC for LittleFS (0xEDB88320)
...
CRC used in LittleFS is Reversed ANSI, hence new polynomial added.
Reversed polynomials perform shift in reverse direction of standard
polynomial, and we do not have option to notify reverse shift to hardware.
Hence this option is available in software only.
2018-09-02 15:25:40 -05:00
Cruz Monrreal
e7c166ebc2
Merge pull request #7907 from anttiylitokola/coap_to_4.6.2
...
Update mbed-coap to version 4.6.2
2018-09-02 15:14:04 -05:00
Cruz Monrreal
0edce1d3e6
Merge pull request #7683 from TomoYamanaka/Improve_LWIP
...
Renesas : Improve LWIP speed
2018-09-02 15:09:53 -05:00
Martin Kojtal
e7b3c0d727
Merge pull request #7894 from jarvte/fix_cellular_unittests
...
Cellular: CellularDevice unittests fix initialization
2018-09-02 20:18:25 +02:00
Martin Kojtal
c7d6560571
Merge pull request #7806 from hasnainvirk/fix_for_cn470
...
LoRaWAN: Fixing Hard fault in CN470 PHY layer
2018-09-02 15:56:33 +02:00
Ron Eldor
a2531b5674
Fix build error on IAR
...
IAR fails to build when a variable is initialized with empty curly braces.
Added `{ { 0 } }` to fix that.
2018-09-02 10:48:31 +03:00
Martin Kojtal
1eab0723ba
Merge pull request #7745 from OPpuolitaival/icetea
...
Icetea support
2018-09-02 07:19:22 +02:00
Seppo Takalo
1ef04796ee
On KW24D and NCS36510 default to smaller Nanostack configuration
...
These boards do not fit the full Nanostack, so we need to select
6LoWPAN-ND as a default.
2018-09-01 12:37:46 -05:00
Cruz Monrreal
993c897b55
Merge pull request #7774 from yossi2le/sd-spif-to-mbed-os
...
Add default block device support (SD, SPIF and FLASHIAP)
2018-09-01 11:15:13 -05:00
Cruz Monrreal
f82feecc51
Merge pull request #7822 from donatieng/nfc-impl
...
Add initial NFC support to Mbed OS
2018-08-31 19:01:25 -05:00
Yossi Levy
c1eb141def
Changing general_filesystem test to be more efficient. now format is done once at the beginning and once at the end while every test clean its resource before the next test. Testing time on SD should be drop form 10 minutes plus to less than 1 minute
2018-08-31 18:33:08 +03:00
Ron Eldor
c1b6fdc5af
Rename parameter name
...
Rename `obsolete_ctx` to `unused_ctx` as it is simply unused.
2018-08-31 13:53:29 +03:00
Jarno Lamsa
664d98a2b8
Remove startuml doxygen-command
2018-08-31 11:52:30 +03:00
Jarno Lamsa
e4e6ddc424
Fix doxygen from ns_cmdline.h
2018-08-31 11:52:30 +03:00
Olli-Pekka Puolitaival
fbbbc0d77f
Move mbed-client-cli in right place
2018-08-31 11:52:15 +03:00
Olli-Pekka Puolitaival
e27a26eb9d
Icetea support
2018-08-31 11:51:57 +03:00
Martin Kojtal
2e869df296
Merge pull request #7899 from pan-/bt-phy
...
Bluetooth 5 Phy support
2018-08-31 09:34:48 +02:00
Ammad Rehmat
b934632653
Access Point API
2018-08-31 11:33:30 +05:00
TomoYamanaka
7c90a9e314
Improve the config adjustment script for ENTROPY_NV_SEED
...
Although "nv_seed" is one of "entropy", it doesn't included to the "!defined" lineup in the following config file.
Therefore, when MBEDTLS_ENTROPY_NV_SEED is defined, it is accidently invoked "mbedtls/config-no-entropy.h".
mbed-os\features\mbedtls\inc\mbedtls\config.h
I think that correct processing should go to line 47, not line 40.
2018-08-31 12:14:32 +09:00
Cruz Monrreal
06a98e7dcf
Merge pull request #7778 from SeppoTakalo/provide_default_mesh
...
Fix MeshInterface::get_default_instance()
2018-08-30 16:11:00 -05:00
Kimmo Vaisanen
f24623af97
LoRa: Stop processing MAC commands if command id is unknown
...
The length of a MAC command is not explicitly given and must be
implicitly known by the MAC implementation. Therefore unknown MAC
commands cannot be skipped and the first unknown MAC command
terminates the processing of the MAC command sequence.
This commit fixes the bug where MAC command processing was not
terminated when unknown MAC command was received.
2018-08-30 15:43:54 +03:00
Wajahat Abbas
acd6ff304a
corrected a typo in AT_CellularPower::opt_power_save_mode
2018-08-30 16:47:09 +05:00
Ron Eldor
666ebe392a
Change the terminate limit check
...
Check for counter to be `< 1` instead of `<= 0` before terminating.
2018-08-30 13:51:58 +03:00
Vincent Coubard
7a503ca1a2
BLE: Fix doxygen.
2018-08-30 09:25:50 +01:00
Ron Eldor
1f5cee967d
Address concurrency and style issues
...
1. Use atomic operations to increase and decrease counter.
2. Style fixes.
Remove unused function declaration.
2018-08-30 11:18:23 +03:00
paul-szczepanek-arm
f3c3abd24c
removed unnecessary headers
2018-08-30 08:37:57 +01:00
paul-szczepanek-arm
db3d124516
moved the utility function into the pal since it's only useful below pal
2018-08-29 20:25:56 +01:00
paul-szczepanek-arm
03f44e7a29
accidental spare const removed
2018-08-29 20:25:56 +01:00
paul-szczepanek-arm
8ac6e2c30d
added doxygen to constructors and const to getters
2018-08-29 20:25:56 +01:00
paul-szczepanek-arm
76624ad6ec
provide stubs for events
...
use gap.h typedef for Phy_t for consistency
2018-08-29 20:21:04 +01:00
paul-szczepanek-arm
5598958c6d
formatting for docs
2018-08-29 20:21:04 +01:00
paul-szczepanek-arm
baaebb47dc
fix typo in preferred
2018-08-29 20:21:04 +01:00
paul-szczepanek-arm
d64479a2ee
docuemnted PHY api
2018-08-29 20:21:04 +01:00
paul-szczepanek-arm
e0ca4a093f
update cordio pal phy to new 5.0 stack
2018-08-29 20:21:04 +01:00
paul-szczepanek-arm
8090e7acd8
phy API implementation for cordio
...
phy set types added, nordic implementation updated
2018-08-29 20:21:04 +01:00
Paul Szczepanek
d5c675e300
Merge pull request #6 from paul-szczepanek-arm/feature-support
...
support for controller features
2018-08-29 20:15:58 +01:00
Vincent Coubard
954f004d16
Nordic BLE: Implement PHY APIs for NRF52.
2018-08-29 20:15:58 +01:00
Vincent Coubard
47ea39982f
Merge pull request #2 from pan-/PHY_API
...
Phy api
2018-08-29 20:15:58 +01:00
Vincent Coubard
4deb64aed1
Merge pull request #1 from pan-/PHY_API
...
Phy api
2018-08-29 20:15:58 +01:00
Donatien Garnier
a239c5e98e
Fix some remainings ARMCC warnings
2018-08-29 19:56:06 +01:00
Donatien Garnier
1252590a16
Address ARMCC warnings and make sure targets have SPI and InterruptIn in PN512SPITransportDriver
2018-08-29 19:46:25 +01:00
Donatien Garnier
3fa0c5e730
Fixed IAR warnings in NFC stack
2018-08-29 19:46:25 +01:00
Vincent Coubard
895ef34f99
NFC: Use string instead of cstring header.
2018-08-29 19:42:08 +01:00
Ron Eldor
479438953f
Rename error codes
...
1. Rename error codes to fit Mbed TLS error code names.
2. Remove the Invalid input error code, as it's not used anymore.
2018-08-29 19:02:57 +03:00
Donatien Garnier
bfd433984f
Re-run astyle
2018-08-29 16:59:45 +01:00
Cruz Monrreal
e649beac5e
Merge pull request #7788 from AriParkkila/cell-copn
...
Cellular: Fixed AT+COPN
2018-08-29 09:38:13 -05:00
Cruz Monrreal
7b29f7d2e8
Merge pull request #7795 from mirelachirica/issue_7470_access_to_power
...
Cellular: Add getters for device and serial to EasyCellularConnection
2018-08-29 09:37:38 -05:00
paul-szczepanek-arm
64d65fdf56
interface methods made public
2018-08-29 14:36:33 +01:00
Martin Kojtal
70439dd131
Merge pull request #7677 from AriParkkila/cell-gemalto
...
Cellular: Gemalto Cinterion support for ELS61 and BGS2
2018-08-29 13:05:44 +02:00
Martin Kojtal
bd3be2b588
Merge pull request #7868 from andresag01/disable-mbedtls-have-date-time
...
Disable MBEDTLS_HAVE_DATE_TIME as ARMCC does not support gmtime
2018-08-29 11:56:52 +02:00
paul-szczepanek-arm
e75ca75e17
EEPROM driver signature fixed
2018-08-29 10:45:22 +01:00
Yossi Levy
ed8e170d15
Moving SD, SPIF and FLASHIAP into mbedos and refactoring features storage directory structure.
2018-08-29 12:01:11 +03:00
Cruz Monrreal
4089d4e7f0
Merge pull request #7869 from paul-szczepanek-arm/cordio-sources
...
BLE: Cordio going open source
2018-08-28 13:18:24 -05:00
Vincent Coubard
97a4e02c3b
NFC: Fix missing doc in ndef::MessageBuilder
2018-08-28 18:51:39 +01:00
Ron Eldor
127b68fbbc
Make the platform context a global variable
...
Make the platform context a global variable,
adding the refernce counter to it.
2018-08-28 20:29:26 +03:00
Vincent Coubard
ab810b219e
NFC: Fix astyle nonsense.
2018-08-28 17:47:10 +01:00
Vincent Coubard
0fa481ace6
NFC: Fix invalid access to an empty text record.
2018-08-28 17:47:10 +01:00
Vincent Coubard
9a3b64bd55
NFC: Add const qualifier to append_as_record function of ndef common types.
2018-08-28 17:47:09 +01:00
Vincent Coubard
cffc0221cc
NFC: Add get_record_size in common types.
2018-08-28 17:47:09 +01:00
Vincent Coubard
b6e604338e
NFC: Add payload builder into ndef::MessageBuilder
2018-08-28 17:47:09 +01:00
Donatien Garnier
b5bfcc3fcb
Address @paul-szczepanek-arm's comments
2018-08-28 17:32:39 +01:00
Donatien Garnier
bfe4c748ce
Address @ithinuel's comments
2018-08-28 17:00:35 +01:00
Donatien Garnier
681811e403
NFCController::Delegate's destructor does not need to be virtual
2018-08-28 16:55:09 +01:00
Donatien Garnier
66850be6e5
Fix NFCEEPROM erasing flow
2018-08-28 16:53:06 +01:00
Seppo Takalo
488632bc79
Fix LoWPANInterface to provide ::get_target_default()
...
LoWPANInterface should provide target default, instead of default.
2018-08-28 18:50:59 +03:00
Donatien Garnier
9e0c08bbdc
Do not allocate initiator if not required in NFCController::polling_callback
2018-08-28 15:15:31 +01:00
Ari Parkkila
ce84209507
Cellular: Fix Greentea test for network attach
2018-08-28 06:20:50 -07:00
Taiki
758f6d2e83
Switch the IPv4 parser to the one recently introduced in libservice. Return a bool value on wether parsing of the IPv4 address string was successful
2018-08-28 14:00:54 +02:00
Martin Kojtal
b2a05511d0
Merge pull request #7818 from kjbracey-arm/eui64_get_early
...
Allow ThreadInterface::device_eui64_get() before connect()
2018-08-28 12:11:47 +02:00
Martin Kojtal
665f10e1be
Merge pull request #7878 from mikaleppanen/mesh_conn_corr
...
Corrected mbed-mesh-api thread/6lowpan tasklets interface disconnect/connect
2018-08-28 11:55:30 +02:00
Ari Parkkila
90fe9de8ed
Cellular: Fixed network registration on Gemalto AT drivers
2018-08-28 02:14:28 -07:00
Ari Parkkila
9d0e3d8797
Cellular: Added support for the Gemalto/EMS31 cellular module
2018-08-28 02:14:28 -07:00
Ari Parkkila
a14ac31f68
Cellular: Added support for the Gemalto/BGS2 cellular module
2018-08-28 02:14:28 -07:00
Ari Parkkila
761e01f55c
Cellular: Gemalto Cinterion support for ELS61
2018-08-28 02:14:28 -07:00
Vincent Coubard
d144d8bc78
NFC: Fix doxygen documentation.
2018-08-28 10:03:44 +01:00
Donatien Garnier
8e8ce973c6
Run astyle
2018-08-28 10:03:44 +01:00
Vincent Coubard
6c4fe20f09
NFC - NDEF: Improve header inclusion
2018-08-28 10:03:44 +01:00
Vincent Coubard
684b3cad08
NDEF: Move common types into the namespace ndef::common
2018-08-28 10:03:43 +01:00
Vincent Coubard
3770cfb963
NDEF types: mention the function span_from_cstr in functions accepting strings.
2018-08-28 10:03:43 +01:00
Vincent Coubard
3dda860fd4
Ndef types: Add functions that convert a C-string into a span consumable by the API.
2018-08-28 10:03:42 +01:00
Vincent Coubard
b985b2c00b
NFC: Integrate nfc targets with Span
...
The goal is to play nicely with the NDEF message framework.
2018-08-28 10:03:42 +01:00
Vincent Coubard
dcf38eec50
NFC: Add NDEF message framework.
2018-08-28 10:03:41 +01:00
Donatien Garnier
79170d3de5
Use nfc_tech_iso7816_app_t directly to handle ISO7816 applications
2018-08-28 09:59:18 +01:00
Donatien Garnier
fb5a0a3791
NFC: Fix more IAR compilation issues
2018-08-28 09:59:18 +01:00
Donatien Garnier
9cf8eedb63
NFC: Fix IAR compilation issues
2018-08-28 09:59:17 +01:00
Donatien Garnier
5c24c4dd82
NFC: Fix doxygen issues
2018-08-28 09:59:17 +01:00
Donatien Garnier
7a473ed9cf
Fix doxygen issues in acore
2018-08-28 09:59:16 +01:00
Donatien Garnier
83057378f0
Fixes in NFC framework
2018-08-28 09:59:16 +01:00
Donatien Garnier
1f1f5f183f
NFC Stack: ISO7816 now uses the 'repolling' mechanism of ISODEP module to avoid re-running a full polling loop
2018-08-28 09:59:16 +01:00
Donatien Garnier
e7b2ec347f
Enable NFC debug
2018-08-28 09:59:15 +01:00
Donatien Garnier
6eb99d65b4
NFC: Add a few missing method implementations and run astyle
2018-08-28 09:59:12 +01:00
Donatien Garnier
3f31a95a76
Fix compilation issues in NFC framework
2018-08-28 09:59:12 +01:00
Donatien Garnier
2568725d47
Fix compilation issues in NFC stack
2018-08-28 09:59:11 +01:00
Donatien Garnier
f0b0762ca9
Prefix acore lib files with ac_ to avoid include clashes
2018-08-28 09:59:11 +01:00
Donatien Garnier
483fcdfc83
Fix a bunch of compilation issues, thanks @pan-
2018-08-28 09:59:10 +01:00
Donatien Garnier
3970f5f77a
Expose Event Queue to NFCEEPROMDriver
2018-08-28 09:59:10 +01:00
Donatien Garnier
0e2484f7f3
Astyle formatting
2018-08-28 09:59:09 +01:00
Donatien Garnier
ce39e77f3d
Missing change in NFCRemoteInitiator
2018-08-28 09:59:09 +01:00
Donatien Garnier
d63a36c586
Some missing virtual qualifiers
2018-08-28 09:59:09 +01:00
Donatien Garnier
1dfeafd11a
Missing =0 in NFCEEPROMDriver
2018-08-28 09:59:08 +01:00
Donatien Garnier
928115b106
Missing inheritance in NFCController
2018-08-28 09:59:08 +01:00
Donatien Garnier
3b8413a3d8
Fix virtualness of NFCControllerDriver::Delegate method
2018-08-28 09:59:07 +01:00
Donatien Garnier
6a0cbffaf6
Fix API signatures
2018-08-28 09:59:07 +01:00
Donatien Garnier
9fcca783b9
Erase & Read implementations in NFCEEPROM
2018-08-28 09:59:06 +01:00
Donatien Garnier
5a9cab2408
Writing implementation in NFC EEPROM
2018-08-28 09:59:06 +01:00
Donatien Garnier
28fad6b320
Update NFC EEPROM Driver + Delegate API names
2018-08-28 09:59:05 +01:00
Donatien Garnier
a4a8ee1b49
Update NFC EEPROM Driver and add implementation
2018-08-28 09:59:05 +01:00
Donatien Garnier
8c4e4d855c
Add scheduler implementation to NFC Controller class
2018-08-28 09:59:05 +01:00
Donatien Garnier
9056f29025
Add PN512 Driver implementation
2018-08-28 09:59:04 +01:00
Donatien Garnier
5fa27744b0
Implement PN512 SPI transport driver
2018-08-28 09:59:04 +01:00
Donatien Garnier
d4c29207cc
Type 4 Target and dependencies implementation
2018-08-28 09:59:03 +01:00
Donatien Garnier
fdd8d0b9b6
Implement NFCNDEFCapable
2018-08-28 09:59:03 +01:00
Donatien Garnier
db2cdf0b02
Use SharedPtr class for detected endpoints
2018-08-28 09:59:02 +01:00
Donatien Garnier
d5201f00e4
Add basis for NFC Controller implementation
2018-08-28 09:59:02 +01:00
Donatien Garnier
cd7f518596
Add NFC Stack
2018-08-28 09:59:02 +01:00
Donatien Garnier
5691a663b4
Update doc/API for Type4RemoteInitiator
2018-08-28 09:59:01 +01:00
Donatien Garnier
b2cbdb5aa1
Add doc/update API for NFCTarget
2018-08-28 09:59:01 +01:00
Donatien Garnier
2246535a9f
Update API/doc for NFCNDEFCapable
2018-08-28 09:59:00 +01:00
Donatien Garnier
3cd3efe9d8
Fix NFCEEPROM's destructor
2018-08-28 09:59:00 +01:00
Donatien Garnier
2db8f8607d
Add doc for NFCRemoteInitiator
2018-08-28 09:58:59 +01:00
Donatien Garnier
b14e18d170
Add documemtation for ISO7816App
2018-08-28 09:58:59 +01:00
Donatien Garnier
f6a0cb3ae2
Add doc and amend API of NFCNDEFCapable
2018-08-28 09:58:58 +01:00
Donatien Garnier
97f72cae2f
Add doc for NFCRemoteEndpoint
2018-08-28 09:58:58 +01:00
Donatien Garnier
717b2f599f
Add doc for NFCEEPROMDriver and amend API slightly
2018-08-28 09:58:57 +01:00
Donatien Garnier
b0f1f4304c
Add doc for NFCTarget
2018-08-28 09:58:57 +01:00
Donatien Garnier
39879b7d9d
Amend NFCControllerDriver API and add documentation
2018-08-28 09:58:56 +01:00
Donatien Garnier
37263c359a
Add doc to NFCController
2018-08-28 09:58:56 +01:00
Donatien Garnier
2fb635a28d
Add get_supported_rf_protocols() method to driver
2018-08-28 09:58:55 +01:00
Donatien Garnier
2ff14df60b
Finish renaming NFCRemoteEndpoint.h
2018-08-28 09:58:55 +01:00
Donatien Garnier
5ae65aaf35
Simplify NFCNDEFCapable.h
2018-08-28 09:58:54 +01:00
Donatien Garnier
0e9e2fdbed
Add has_started_session() in NFC EEPROM driver delegate
2018-08-28 09:58:54 +01:00
Donatien Garnier
1d61ab686e
Missing end of comment
2018-08-28 09:58:54 +01:00
Donatien Garnier
3321a5998d
NFCTarget should not inherit from NFCEndpoint
2018-08-28 09:58:53 +01:00
Donatien Garnier
da4842de45
Remove redundant boolean parameters in NDEF Capable
2018-08-28 09:58:53 +01:00
Donatien Garnier
18b2bb37ce
Move nfc_tag_type_t to NFCDefinitions.h
2018-08-28 09:58:52 +01:00
Donatien Garnier
04304e0ec0
Added nfc_tag_type() and fixed some const qualifiers
2018-08-28 09:58:52 +01:00
Donatien Garnier
8d03c557e2
Adding initial API
2018-08-28 09:58:51 +01:00
Martin Kojtal
9e012c3de6
Merge pull request #7860 from AriParkkila/cell-reg-mode
...
Cellular: Allow cellular modules to override network registration mode
2018-08-28 10:42:48 +02:00
Antti Yli-Tokola
7ae00ee24a
Update mbed-coap to version 4.6.2
...
Do not clear block2 in subsequent block request.
When sending a request with block2 option, eg. indicating need
for response to be blockwised, copy the block2 option from the
sent_blockwise list item so that the block2 option will be added
to all requests. This fixes an issue where previously the block2
was only sent for the first blockwise request and not for the
subsequent ones, including the last request. This made the response
not follow the request block2 option.
2018-08-28 11:09:45 +03:00
Seppo Takalo
9836b9bd6a
Provide default mesh driver on NCS36510
2018-08-28 11:02:58 +03:00
Seppo Takalo
c5064a8e33
Fix *MeshInterface::get_default_instance()
...
This was returning object, instead of pointer.
Also it was trying to call lowpan(reference), instad of lowpan(ptr).
2018-08-28 11:02:58 +03:00
Teppo Järvelin
5e6988899c
Cellular: review fix removed magic numbers from unit tests.
2018-08-28 07:36:49 +03:00
Cruz Monrreal
7ac4bf4a4e
Merge pull request #7870 from AriParkkila/cell-cgdata
...
Cellular: Support for GPRS dial-up
2018-08-27 10:29:44 -05:00
Cruz Monrreal
686b77949f
Merge pull request #7857 from AriParkkila/cell-stack-mt
...
Cellular: Make AT_CellularStack socket array multi-thread safe
2018-08-27 10:29:29 -05:00
Cruz Monrreal
bf2da4859c
Merge pull request #7761 from aashishc1988/master
...
ifndef some macros to allow overriding during compilation
2018-08-27 10:27:49 -05:00
Amanda Butler
a779e6f3c2
Copy edit FSB_Usage.txt
...
Copy edit for active voice, consistent tense and precise language.
2018-08-27 10:06:21 -05:00
Amanda Butler
e4c4e7cc8d
Copy edit lorawan_types.h
...
Copy edit for minor grammar nits and consistent tense across docs.
2018-08-27 09:51:27 -05:00
Mika Leppänen
1250ceb82c
Corrected thread tasklet during interface disconnect/connect
...
Added check for valid interface ID to network scan timer start so that it
is not triggered after disconnect. Added variable for mac api so that it
is not tried to set again after re-connecting.
2018-08-27 15:08:48 +03:00
Mika Leppänen
68f5739e09
Corrected 6lowpan tasklet during interface disconnect/connect
...
Removed main tasklet ID and used instead tasklet id. Added check
for valid interface ID to network scan timer start so that it
is not triggered after disconnect. Added small delay to re-connect
so that stack has time to send its status events to application
after disconnect.
2018-08-27 15:08:48 +03:00
Kimmo Vaisanen
6dc83dd737
Lora: Remove duplicate LinkCheckReq MAC command
...
When application requests link check request with add_link_check_request()
it was added to MAC command buffer. Again when actual TX was started,
stack cherry-picked the request into MAC buffer again resulting in a duplicate
entry in the buffer.
Functionality is changed now so that add_link_check_request() does not add
the request into MAC command buffer but it is cherry-picked into the buffer when
TX is issued.
2018-08-27 13:45:21 +03:00