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
Vincent Coubard
e29ea95fc9
BLE: Return error when security deascalation is requested.
2018-03-01 14:44:18 +00:00
paul-szczepanek-arm
7e2f5ee008
fix not setting the mitm performed state correctly
2018-03-01 14:25:22 +00:00
paul-szczepanek-arm
bc11834125
fix not setting encryption state in generic
2018-03-01 13:59:19 +00:00
paul-szczepanek-arm
d5b8439bae
removed redundant check
...
we already checked the current encryption and it is encrypted
2018-03-01 13:03:49 +00:00
paul-szczepanek-arm
179ad1626f
Merge branch 'master' of https://github.com/paul-szczepanek-arm/mbed-os
2018-03-01 12:56:33 +00:00
paul-szczepanek-arm
cebc0f8fd7
create encryption result event even when nothing changes
2018-03-01 12:56:29 +00:00
Vincent Coubard
c00ae29ca7
Cordio: Update stack binaries.
...
New binaries contains a fix in configuration handling.
2018-03-01 11:01:19 +00:00
Vincent Coubard
d050c4e4af
BLE: Fix CordioPalSM set_io_capability
2018-03-01 10:24:13 +00:00
Vincent Coubard
dbf4a8da49
BLE: Implement CordioSM get_secure_connection_support.
2018-03-01 10:22:42 +00:00
Vincent Coubard
766b8765ad
BLE: Accept pairing request when the user authorization is not required.
2018-03-01 10:21:35 +00:00
Christopher Haster
687304455e
littlefs: Updated error codes in tests to match version update
2018-02-28 19:56:13 -06:00
Amanda Butler
f078124bae
Edit README.md
...
Edit README with changes from docs site and minor formatting changes.
2018-02-28 18:59:20 -06:00
Amanda Butler
6ddff638d4
Copy edit nvstore.h
...
Copy edit for typos and minor spelling nits.
2018-02-28 18:47:17 -06:00
paul-szczepanek-arm
f9a79bed15
fixed initiator distribution bug and setting LINK distribution field based on SC
2018-02-28 17:43:54 +00:00
paul-szczepanek-arm
d20c4efbf3
documentation overview for securitymanager
2018-02-28 17:00:56 +00:00
Bartek Szatkowski
4cb47df40a
Add system_reset() function to Mbed OS
2018-02-28 16:42:34 +00:00
Krzysztof Stachowiak
6370a3500d
Correct typos and code alignment
2018-02-28 17:03:47 +01:00
paul-szczepanek-arm
701c18b428
missing documentation, removed privacy call from api
2018-02-28 13:49:51 +00:00
paul-szczepanek-arm
c52d324dab
pass in information about the mitm and sc quality of the ltk to the pal
2018-02-28 12:02:54 +00:00
paul-szczepanek-arm
abcc5db44b
fix setting default values which were overriding even when unset
2018-02-28 10:00:58 +00:00
Krzysztof Stachowiak
9d5d60b62e
Adjust partner code for MD HW acceleration to new MD API
2018-02-28 10:02:56 +01:00
Krzysztof Stachowiak
947275036c
Update Mbed TLS to version 2.7.1
2018-02-28 10:02:30 +01:00
paul-szczepanek-arm
975544f274
link key distribution decision made in generic security manager
2018-02-27 23:26:34 +00:00
Cruz Monrreal
21483cd59d
Merge pull request #6167 from hug-dev/cm3ds-bug-fix
...
CM3DS Maintenance Pull Request: Bug fixes (1/4)
2018-02-27 13:44:05 -06:00
Cruz Monrreal
478fda70e0
Merge pull request #6166 from u-blox/apn_default
...
Make APN lookup the default behaviour for PPPCellularInterface
2018-02-27 13:43:32 -06:00
paul-szczepanek-arm
96de1c2752
header guards renamed
2018-02-27 17:25:57 +00:00
paul-szczepanek-arm
8e41de2e25
Merge branch 'master' of https://github.com/paul-szczepanek-arm/mbed-os
2018-02-27 17:23:25 +00:00
paul-szczepanek-arm
e186985b26
addressing PR review: added documentation, moved code and renamed vars
2018-02-27 17:22:13 +00:00
Tero Jääskö
f0cc00ef3b
nanostack-hal: add alternative critical section implementation
...
The nanostack hal's critical section uses a mutex for mutual exclusion,
which is nice for many use cases. But when one needs to use the critical
section from interrupts, the RTX will have a assertion failure and panic.
Add a configurable for mbed_lib, which can be used to enable a alternative
version of critical section, which uses the underlying OS primitives, which
disables the interrupts.
Note: the default behavior is not changed, one needs to override the
"nanostack-hal.critical-section-usable-from-interrupt" to have "true".
Reason for this change is that there is a need for sending events using
nanostack event queue from interrupt context, eg. from a socket callback.
2018-02-27 17:12:55 +02:00
Vincent Coubard
81126ad7ce
BLE: remove draft of nordic pal security manager.
2018-02-27 14:35:56 +00:00
Vincent Coubard
e568aa47ba
Merge branch 'master' of https://github.com/ARMmbed/mbed-os into pr-sm
2018-02-27 14:33:35 +00:00
Vincent Coubard
bf8204a21b
BLE: remove host testing from sm pr
2018-02-27 13:42:03 +00:00
paul-szczepanek-arm
fc01cff1b3
removed using statements from header
2018-02-27 12:25:01 +00:00
paul-szczepanek-arm
d264512c8c
remove virtual as per review request
2018-02-27 12:15:40 +00:00
paul-szczepanek-arm
536f541b93
mic event no longer present in user api, removing call
2018-02-27 12:13:48 +00:00
Vincent Coubard
928dbcf325
BLE: Fix prefix of BLEProtocol::AddressType
2018-02-27 12:12:17 +00:00
Kevin Bracey
d24c7c454b
Merge pull request #6186 from TeroJaasko/eventloop_in_main_thread_to_master
...
Eventloop in main thread to master
2018-02-27 14:01:40 +02:00
paul-szczepanek-arm
957cee39fe
Merge branch 'master' of https://github.com/paul-szczepanek-arm/mbed-os
2018-02-27 11:57:20 +00:00
paul-szczepanek-arm
0f1fd58c38
removed MIC related functions and events from the user API
2018-02-27 11:57:16 +00:00
Vincent Coubard
0b0d614787
Merge branch 'master' of https://github.com/paul-szczepanek-arm/mbed-os into pr-sm
2018-02-27 11:54:32 +00:00
paul-szczepanek-arm
62e9011525
public key renaned (added coord), also contains missing commit for oob_rand rename
2018-02-27 11:50:04 +00:00
Vincent Coubard
361ae8c7a3
BLE: fix references to oob_rand_t.
2018-02-27 11:48:21 +00:00
paul-szczepanek-arm
4010bade89
reanmed type as per review request
2018-02-27 11:43:46 +00:00
paul-szczepanek-arm
4fd29630b3
removed redundant type
2018-02-27 11:23:22 +00:00
paul-szczepanek-arm
8142cb5131
redundant call removed
2018-02-27 10:45:31 +00:00
paul-szczepanek-arm
5de1979f5c
types renamed as per review requests
2018-02-27 10:33:35 +00:00
David Saada
e891d6abf0
NVStore: Use wait_ms to delay instead of Thread::wait.
2018-02-27 12:33:27 +02:00
paul-szczepanek-arm
b0c7d729fc
variable name updated in the undefed cmac blocks
2018-02-27 10:00:07 +00:00
paul-szczepanek-arm
55106362f0
removed redundant type
2018-02-27 09:59:35 +00:00
paul-szczepanek-arm
c9690c9f59
upate doxygen since passkey is no longer a pointer
2018-02-27 09:22:36 +00:00
Vincent Coubard
47eea76c03
BLE: Test db entry open and close in the generic security manager.
2018-02-27 09:00:26 +00:00
Vincent Coubard
7833d798da
BLE: Fix security manager mocks
2018-02-27 09:00:26 +00:00
Vincent Coubard
b939721421
BLE: Ensure passkey is not null before integer conversion
2018-02-27 09:00:26 +00:00
David Saada
f43e7b1301
NVStore: Calling thread wait doesn't depend on RTOS being defined any more.
2018-02-26 23:17:59 +02:00
Cruz Monrreal
b7c2b1f510
Merge pull request #6120 from ARMmbed/g-fat-errors
...
fatfs: Update error code mapping
2018-02-26 14:46:33 -06:00
Cruz Monrreal
a93342f70b
Merge pull request #6151 from pan-/fix-generic-gap-connect
...
BLE: Fix generic gap connect
2018-02-26 14:39:25 -06:00
Cruz Monrreal
7f812807a9
Merge pull request #6177 from geky/fix-littlefs-mkdir-root
...
littlefs: Fix handling of root as target for create operations
2018-02-26 14:37:54 -06:00
David Saada
2b7766a73b
Add NVStore (A.K.A SOTP) feature
2018-02-26 15:57:32 +02:00
Rob Meades
2fe3223612
Make MBED_CONF_PPP_CELL_IFACE_APN_LOOKUP default in mbed_lib.json while
...
ensuring that, if there is a user-specified APN, it is still used.
2018-02-26 11:33:40 +00:00
Vincent Coubard
3554a63dc8
BLE: Add default addressType to processAdvertisementReport
...
This patch should be reverted once the ST shield library and mbed-os-cliapp have been updated to support this change in the porting API.
2018-02-26 09:59:17 +00:00
Christopher Haster
436e4706ed
littlefs: Add littlefs.intrinsics to override intrinsics support
...
Enables intrinsics for bit operations such as ctz, popc, and le32
conversion. Can be disabled to help debug toolchain issues. Has
proven to be surprisingly useful.
2018-02-23 17:51:42 -06:00
Christopher Haster
afc3306d25
littlefs: Adopted MBED_ASSERT and littlefs.enable_assert
...
Much like the logging functions, assertions can be enabled, disabled
and forced with the littlefs.enable_assert config option. Integrates
with the new LFS_ASSERT macro.
2018-02-23 17:45:24 -06:00
Vincent Coubard
1f4e2b1820
BLE: Fix Gap::processAdvertisementReport documentation
2018-02-23 17:32:22 +00:00
Cruz Monrreal II
b40ff8af15
Moved return statements to their own line
2018-02-23 11:23:13 -06:00
Vincent Coubard
47e005e14c
BLE: Fix address report in Maxim port.
2018-02-23 15:50:34 +00:00
Vincent Coubard
d586f7f9d2
BLE: update SecurityDB comments.
2018-02-23 13:54:41 +00:00
Tero Jääskö
09b8245cba
nanostack-hal: remove connection from event loop init and dispatch thread
...
The thread flag signaling mechanism is problematic if a separate event
loop thread is not used. The problem is, that one needs to know the
thread id of the loop dispathcer, and that knowledge can be derived
only from the caller thread of the initialization function.
Remove the magic connection from caller thread to dispatcher thread
by using event flags instead of thread flags on signaling. As the
event flags require the massive amount 20 bytes of RAM whereas
thread flags requires none, keep the code behind flag.
2018-02-23 15:37:33 +02:00
Tero Jääskö
aed2a0cd9f
nanostack-hal: modify eventloop to allow running it in a main thread
...
The separate eventloop thread may not be necessary on all uses, as one
can use the existing main thread for event dispatching. Add a
conditional nanostack-hal.event-loop-dispatch-from-application, which
disables the thread creation.
Note: the ns_hal_init must be ran from the same thread which will be
used to execute the event loop later.
2018-02-23 15:37:32 +02:00
Vincent Coubard
e91570e4ba
BLE: Fix default connection params type.
2018-02-23 13:30:16 +00:00
Paul Szczepanek
268655a028
Merge pull request #17 from pan-/security-db-rework
...
Security db rework
2018-02-23 13:24:15 +00:00
Vincent Coubard
11a809ee1c
BLE: remove MorySecurityDb include from generic security manager.
2018-02-23 11:19:21 +00:00
Vincent Coubard
1ded0d7198
BLE: Split security manager control block from the secure DB.
2018-02-23 11:15:08 +00:00
Vincent Coubard
52910af33e
BLE: Add mock for SecurityManagerEventHandler.
2018-02-23 11:13:42 +00:00
Vincent Coubard
7db6aeb19b
BLE: Add mock and stub for ConnectionEventMonitor.
2018-02-23 11:13:42 +00:00
Vincent Coubard
2bb73fd8bb
BLE: Cleanup includes of pal::ConnectionEventMonitor.
2018-02-23 11:13:42 +00:00
paul-szczepanek-arm
c8f77259ed
Merge https://github.com/ARMmbed/mbed-os
2018-02-23 10:11:49 +00:00
Cruz Monrreal
1d1eef47ff
Merge pull request #6160 from TeemuKultala/status_callback_fix
...
fix issue 6150
2018-02-22 21:56:42 -06:00
Christopher Haster
453a1b6815
Merge commit '451c3d137fbd49ce5e00e765af66c16bb5169ee9' into lfs-update
2018-02-22 18:43:04 -06:00
Christopher Haster
f67a795ef0
littlefs: Fixed handling of root as target for create operations
...
Before this patch, when calling lfs_mkdir or lfs_file_open with root
as the target, littlefs wouldn't find the path properly and happily
run into undefined behaviour.
The fix is to populate a directory entry for root in the lfs_dir_find
function. As an added plus, this allowed several special cases around
root to be completely dropped.
2018-02-22 15:56:24 -06:00
paul-szczepanek-arm
02f01f0e1d
Merge branch 'palsm' of https://github.com/paul-szczepanek-arm/mbed-os into palsm
2018-02-22 11:53:00 +00:00
Vincent Coubard
1698c2d5be
BLE: Add missing encryption implementation in cordio pal SM.
2018-02-22 11:51:02 +00:00
paul-szczepanek-arm
1da5d74470
temporary key encryption mitm quality reflected
2018-02-22 11:50:11 +00:00
Martin Kojtal
414b2d971d
Revert "Update Mbed TLS HW acceleration partner code to new hashing API"
2018-02-22 11:20:35 +00:00
Teemu Kultala
34ef11630c
fix issue 6150 by always setting net interface UP in mbed_set_dhcp
2018-02-22 13:00:46 +02:00
paul-szczepanek-arm
6b0ba64ee2
SM fixes to init and register the event handler correctly
2018-02-21 18:35:44 +00:00
Hugues de Valon
ef7b16d9c5
CM3DS: fix non aligned access in Ethernet driver
...
This patch changes the way data is put in the TX_DATA_PORT register when
sending packet over Ethernet.
When this driver is compiled with release compilation profile
(space optimization compiler options) with Arm compiler version 5,
the line:
SMSC9220->TX_DATA_PORT = *pktptr;
generates the assembly instruction to get the pktptr pointed value:
LDM r2!, {r3}
with pktptr = r2
However, the code does not prevent the pktptr value from being unaligned
(to a 32 bits boundary) in that zone and the LDM instruction causes a
HardFault if this is the case. When the compiler option is not activated
(debug and develop compilation profiles), the compiler generates LDR
instruction instead which does not cause a HardFault.
The ARM v7-M states page B3-601: "Unaligned load-store multiples and
word or halfword exclusive accesses always fault."
To face that problem, we check if the data pointer is aligned or not. If
it is, we apply the same algorithm than before. If not, a local variable
is created and we copy in it, byte per byte, the contents at the
unaligned pointer. However, it will impact performances adding 8
instructions (one LD and one ST for each copied byte).
Change-Id: I11f6e82ce5521960d2ecf499f718f76fec29c0b0
Signed-off-by: Hugues de Valon <hugues.devalon@arm.com>
2018-02-21 17:54:12 +00:00
Galanakis, Minos
5b8ff81e02
CM3DS: fix a minor bug in the ethernet LWIP driver
...
This patch fixes a memory bug. `eth_arch_enetif_init` method call
would attempt to write to un-initialized area of memory.
Change-Id: I9881de71d58fa14db609fe3e24617a210b896471
Signed-off-by: Galanakis, Minos <minos.galanakis@arm.com>
2018-02-21 17:51:09 +00:00
Vincent Coubard
9e98a72198
BLE: Move cordio default scan and connection params in global memory.
2018-02-21 17:43:39 +00:00
Vincent Coubard
ad78b3e023
BLE: Handle NULL parameters in Gap::connect.
2018-02-21 17:43:38 +00:00
Vincent Coubard
9c6f44de91
BLE: Force stop scan before connection initiation.
2018-02-21 17:43:38 +00:00
Vincent Coubard
c5be493bb7
BLE: Add address type in AdvertisementCallbackParams_t.
2018-02-21 17:41:14 +00:00
Vincent Coubard
0158971387
BLE: Move cordio default scan and connection params in global memory.
2018-02-21 15:00:17 +00:00
Martin Kojtal
5c7cd1f689
Merge pull request #6139 from VeijoPesonen/eth_n_wifi-drv_n_tc_fixes
...
LWIP PBUF_POOL_BUFSIZE increased to fit also IPv6 header
2018-02-21 15:19:55 +01:00
Vincent Coubard
e3d7f2bb05
BLE: Add address type in AdvertisementCallbackParams_t.
2018-02-21 14:14:31 +00:00
Vincent Coubard
f3c453b077
BLE: Handle NULL parameters in Gap::connect.
2018-02-21 12:42:54 +00:00
Vincent Coubard
7941a6fcc7
BLE: Force stop scan before connection initiation.
2018-02-21 12:13:24 +00:00
Veijo Pesonen
a7ef67a92a
fixup! LWIP PBUF_POOL_BUFSIZE increased to fit also IPv6 header
2018-02-21 08:25:46 +02:00
Cruz Monrreal
24a3acd647
Merge pull request #6141 from hasnainvirk/dr_bug_fix
...
Verifying datarate bug fix
2018-02-20 13:44:51 -06:00
Cruz Monrreal
e66cc74b8f
Merge pull request #6046 from geky/fix-lookahead-noack-pop
...
littlefs: Fix incorrect lookahead population before ack
2018-02-20 13:19:13 -06:00
paul-szczepanek-arm
c65419239f
fixed compiler errors for pal after its update
2018-02-20 18:01:21 +00:00
Cruz Monrreal
817f9a569c
Merge pull request #5812 from OpenNuvoton/nuvoton_crypto
...
M487: Support ECP H/W accelerator
2018-02-20 11:53:23 -06:00
Veijo Pesonen
e1d9d8783d
LWIP PBUF_POOL_BUFSIZE increased to fit also IPv6 header
...
IPv6 header requires 20 more bytes compared to IPv4 header.
2018-02-20 15:45:44 +02:00
Hasnain Virk
b163057da7
Verifying datarate bug fix
...
A patch was missed from the feature PR.
verify_channel_DR() in LoRaPHY class had a loop with uninitialized
loop counter.
2018-02-20 15:08:04 +02:00
Vincent Coubard
4ce0ed9c0c
BLE: Remove dependency of GenericSecurityManager towards gap.
2018-02-19 17:46:41 +00:00
Vincent Coubard
28f2f46974
BLE: Hide event monitor inside pal.
2018-02-19 17:41:18 +00:00
Vincent Coubard
8b9e08e128
BLE tests: Add stub for device.h .
2018-02-19 17:32:10 +00:00
Vincent Coubard
bcea06fb32
BLE: Fix inclusion of mbed_error.h
2018-02-19 17:32:10 +00:00
Vincent Coubard
cc896f1b52
BLE: Add mock for the security db.
2018-02-19 17:32:10 +00:00
paul-szczepanek-arm
396ca2ca20
removed redundant cast
2018-02-19 17:29:45 +00:00
paul-szczepanek-arm
990e21247c
pull in cordio security manager into BLE
2018-02-19 17:26:24 +00:00
paul-szczepanek-arm
dd7bc50e4b
Merge branch 'master' into palsm
2018-02-19 16:39:10 +00:00
paul-szczepanek-arm
ecacbda507
compiler errors fixed after the merge
2018-02-19 16:28:01 +00:00
Martin Kojtal
3fec23e505
Merge pull request #6115 from andrewleech/nRF5XPalGattClient_include_new
...
NRF5x: Fix `error_t` conflict with gcc std>=gnu++11
2018-02-19 17:19:09 +01:00
paul-szczepanek-arm
8cf7b3b06f
Merge branch 'palsm' of https://github.com/paul-szczepanek-arm/mbed-os into palsm
2018-02-19 15:35:39 +00:00
paul-szczepanek-arm
d9156a28e2
connection monitor
2018-02-19 15:32:07 +00:00
Vincent Coubard
9b12c6b11d
BLE: Add SecurityManager tests to the build script.
2018-02-19 14:44:30 +00:00
Vincent Coubard
15cfcba16a
BLE: Move security DB into PAL.
2018-02-19 14:43:56 +00:00
Vincent Coubard
c7672994d2
BLE tests: Mock pal::SecurityManager.
2018-02-19 14:34:07 +00:00
Vincent Coubard
6529d677c1
BLE: Fix include prefixes.
2018-02-19 13:46:46 +00:00
Vincent Coubard
863bdfbb75
BLE: Add unit test for the Generic GattClient.
...
These tests are build around gtest and gmock and solely run on a host; cmake is
used as a build system:
- cd features/FEATURE_BLE/tests
- mkdir build
- cd build
- cmake ..
- make
- ./gatt-client-tests
2018-02-19 13:23:23 +00:00
Cruz Monrreal
1e1a1787d4
Merge pull request #6087 from ARMmbed/feature-lorawan
...
Integrating Mbed LoRaWAN Stack in Mbed-OS 5.8
2018-02-16 10:46:53 -06:00
Christopher Haster
b548fd8a39
fatfs: Update error code mapping
...
A lot of the error codes in fatfs were mapped incorrectly. This patch
revisits the error code mapping to try to correct these mistakes
2018-02-16 00:29:22 -06:00
Andrew Leech
d001fb1c66
Avoid importing <memory> as this causes a typedef conflict on `error_t` whien compiling with gcc "-std=gnu++11" or above
2018-02-16 12:10:44 +11:00
Kevin Bracey
d5dc655a6d
Correct LoRaWAN license header
2018-02-15 15:40:18 +02:00
Kevin Bracey
984cc1ab50
Merge pull request #6032 from jarlamsa/status-callbacks
...
Status callbacks
2018-02-15 13:02:10 +02:00
Cruz Monrreal
f9cd95f30d
Merge pull request #6095 from ARMmbed/g-note-mbr-limits
...
mbr: Add note about limitations
2018-02-14 14:10:41 -06:00
Cruz Monrreal
06b618447f
Merge pull request #5973 from k-stachowiak/IOTSSL-1727-update-to-new-md-api
...
Update Mbed TLS HW acceleration partner code to new hashing API
2018-02-14 12:58:08 -06:00
Cruz Monrreal
975b940001
Merge pull request #6053 from deepakvenugopal/master
...
Nanostack release for Mbed OS 5.8
2018-02-14 12:44:53 -06:00
Christopher Haster
db965c1652
mbr: Added note about limitations
2018-02-14 10:31:14 -06:00
Krzysztof Stachowiak
2e9243f2e1
Expand guards for conditional compilation of ALT MD API
2018-02-14 16:33:58 +01:00
Christopher Haster
5b09daf0f9
mbr: Added checks for extended partitions
2018-02-13 14:03:02 -06:00
paul-szczepanek-arm
2f1e211da1
set entry state on connect
2018-02-13 16:41:36 +00:00
Hasnain Virk
d7c22a6b09
A few Cosmetics & methods for mask manipulation
...
LoRaMacChannelPlan class provides APIs which are not usable for
PHY layer implementations who do not support custom channel plans.
So we had some code in APIs which was explicitely using magic numbers
for the channel mask. Although it turned out to be not a bug as a layer
down we were checking for custom channel support. However, we now
check for custom channel support before going deep into PHY layer that will
make the code run faster and we have done some cosmetics to the code for
readability.
Channel mask is manipulated with inline methods
2018-02-13 15:09:58 +02:00
paul-szczepanek-arm
d44af8c40a
don't handle event handler memory by the SM
2018-02-13 12:11:17 +00:00
paul-szczepanek-arm
55045010d6
fixed all the compilation errors and recent pal changes
2018-02-13 11:01:30 +00:00
Krzysztof Stachowiak
8c412ed886
Resolve compiler and linker issues in MD APIs
...
The features/mbedtls/targets/TARGET_STM/* files include constant needed
for the error codes returned from the MD functions.
The features/mbedtls/targets/hash_wrappers.c provides thin redirection
layer for the hardware accelerated MD implementations that rely on the
old API.
The TESTS/mbedtls/multi/main.cpp has been changed to use the new API
as its build environment does not rely on the translation unit
containing the necessary wrappers.
2018-02-13 10:07:28 +01:00
Christopher Haster
fd9e4c12fd
Added test to catch multiple nested MBRs
2018-02-12 18:57:41 -06:00
Christopher Haster
70cfef8630
fatfs: Removed extra MBR block
...
Regression after ChanFS update: Due to parameter changes in the f_mkfs
function, the option to use a separate block for MBR (FDISK) was turned
back on. This should be off as it conflicts with an explicit MBR when
using the MBRBlockDevice.
2018-02-12 17:16:10 -06:00
Cruz Monrreal
cf60266584
Merge pull request #6058 from pan-/fix-gap-type-static
...
Ble: fix size function in advertising_data_t and address_t.
2018-02-12 10:28:32 -06:00