Cruz Monrreal
527f9a12fd
Merge pull request #6983 from SenRamakri/sen_ErrorHandling_Push2
...
Standardized Error Handling and Error Codes
2018-05-24 10:57:00 -05:00
Cruz Monrreal
791620c428
Merge pull request #6932 from paul-szczepanek-arm/security-manager-dev
...
BLE privacy, signing, persistent security database
2018-05-24 10:07:06 -05:00
Cruz Monrreal
06180e89f7
Merge pull request #6642 from yossi2le/yossi-device-key-driver
...
Device key implementation
2018-05-24 10:06:14 -05:00
Cruz Monrreal
2f86c152f0
Merge pull request #6794 from RonEld/cc310_porting
...
Cryptocell 310 support
2018-05-24 10:05:46 -05:00
Kevin Bracey
13dcef63e3
Merge pull request #6847 from ARMmbed/feature-emac
...
Merge feature-emac branch into master
2018-05-24 16:47:04 +03:00
Hasnain Virk
9973eb3e79
Stability improvements & CRYPTO_ERROR addition
...
General stability improvements are performed.
A flag is added if a Class C RX2 window is open.
We shouldn't open it again if its already opened.
TX_CRYPTO_ERROR is renamed to CRYPTO_ERROR.
Keeping TX_CRYPTO_ERROR for backwards compatibility.
2018-05-24 15:59:07 +03:00
Hasnain Virk
0feb0efb89
Adding checks for stack initialization
...
Metadata APIs should return an error if the stack is not initialized yet.
2018-05-24 15:54:32 +03:00
Hasnain Virk
3020d658bf
Travis astyle corrections
...
The scope of style corrections is local to this PR only.
2018-05-24 15:54:32 +03:00
Hasnain Virk
2bc8e4e847
Adding ack expiry handling for class C
...
In Class C, rx timeout does not take place for RX2 windows, so if we have
not received anything, we would be retrying but if the no. of retries are
maxed out, and we have not recieved anything yet, we need a mechanism to
tell the upper layer that this has happened.
2018-05-24 15:54:32 +03:00
Hasnain Virk
b0ce443f5b
Doing away with rx_abort()
...
rx_abort() was sort of dead code as it was doing essentially nothing.
It might have actually meddled with the state machine if it was hit by
invoking on_ack_timeout_timer_event().
State machine and corresponding processors now take care of the ack timeout,
retries and all other bits, so we don't need abort_rx().
2018-05-24 15:54:32 +03:00
Hasnain Virk
375e1b711d
Adding useful trace and setting no. of retries
...
MCPS confirmation should be filled with the current number of retries
if the ack is not recieved for a CONFIRMED message.
Ack retry number needs to be incremented after the retry is made not before
that.
A few traces are added at the crucial junctions of the code just to tally with
the conceptual flow for debug purposes.
2018-05-24 15:54:32 +03:00
Hasnain Virk
26b28f78af
Adding ability to cancel outgoing transmission
...
Application can use cancel_sending() API to stop any outstanding, outgoing
transmission (a TX which is not already queued for transmission). This can
potentially enable use cases where the application could cancel a transmission
and go to sleep if the backoff period is long enough rather than waiting for
the transmission to happen.
2018-05-24 15:54:32 +03:00
Hasnain Virk
8363311c7a
Adding acquisition of backoff time value
...
This API enables the application to get hold of remaining time after which
the transmission will take place. User can query the backoff time whenever
there is a packet in the TX pipe. If the event for the backoff expiry is
already queued, the stack does not provide backoff metadata.
2018-05-24 15:54:32 +03:00
Hasnain Virk
387f56c738
Adding acquisition of RX meta data
...
User can now inquire about any RX meta data available after a
successful reception.
2018-05-24 15:54:32 +03:00
Hasnain Virk
555d945a42
Adding acquisition of TX Meta-data
...
An API is added to fetch any meta-data available after a succesful
transmission. The stack will make the meta data available after the
TX interrupt is processed. User can get the tx meta data after receiving
TX_DONE event.
2018-05-24 15:54:32 +03:00
Danny Shavit
aa38778a58
Add warning about FEATURE_UVISOR being deprecated
2018-05-24 13:46:30 +03:00
adbridge
5c3539c8ca
Add devicekey example to examples list
2018-05-24 11:13:45 +01:00
Martin Kojtal
18634009c5
Merge pull request #6993 from deepikabhavnani/cpu_test_fix
...
CPU Stats test - Increased wait time to allow device to sleep
2018-05-24 09:38:46 +02:00
Martin Kojtal
d8cb72a0a2
Merge pull request #6273 from bulislaw/update_cmsis_5.3
...
Update cmsis/rtx to version 5.3
2018-05-24 09:37:40 +02:00
Cruz Monrreal
863259e48b
Merge pull request #6960 from hasnainvirk/msg_flags
...
LoRaWAN: Message flags correction
2018-05-23 22:22:53 -05:00
deepikabhavnani
ea356a6e8c
Increased wait time to allow device to sleep
...
With small wait time at the start, chances are that device does not
enter sleep and idle time is zero. Increasing wait time to make sure
device goes to sleep.
2018-05-23 15:06:17 -05:00
Cruz Monrreal
99df848e1c
Merge pull request #6968 from theotherjimmy/test-relpath
...
Test build: Reduce include command length
2018-05-23 14:47:58 -05:00
Cruz Monrreal
a404a9379e
Merge pull request #6862 from jamesbeyond/fastmodel_support
...
Fastmodels support: add FVP_MPS2 targets to mbed os
2018-05-23 14:47:23 -05:00
Teppo Järvelin
03f50e6d89
Cellular: review fixes.
2018-05-23 22:02:01 +03:00
Senthil Ramakrishnan
92e0cbfaef
Doxygen fixes
2018-05-23 13:27:57 -05:00
Senthil Ramakrishnan
5ef6728c08
Splitting MBED_ERROR macros to support ones with/without error value argument
2018-05-23 12:21:28 -05:00
Senthil Ramakrishnan
693a6c40bb
Refactor error reporting
2018-05-23 12:21:11 -05:00
Senthil Ramakrishnan
d4fe75731d
Adding mbed prefixes to all macros and functions to avoid namespace conflicts
2018-05-23 12:21:10 -05:00
Senthil Ramakrishnan
147d9cac4e
Test application/cases optimization for some low memory targets, macro changes and test fixes
2018-05-23 12:21:10 -05:00
Senthil Ramakrishnan
f9c25612ae
Fix test failures when trap errors are enabled and other fixes
2018-05-23 12:21:10 -05:00
Senthil Ramakrishnan
cbfc06577b
Fixes to align with naming conventions
2018-05-23 12:21:09 -05:00
Senthil Ramakrishnan
92df68b1ea
Changed variable names for registers to avoid namespace conflicts, build fixes, macros and other fixes
2018-05-23 12:21:09 -05:00
Senthil Ramakrishnan
530e9d323f
Changed variable names for registers to avoid namespace conflicts and rtos disabled build fixes
2018-05-23 12:21:09 -05:00
Senthil Ramakrishnan
2e28dd95e1
Change set_error/set_error_fatal to warning/error, add itm support and other changes
2018-05-23 12:21:08 -05:00
Senthil Ramakrishnan
7c6c718f75
Fixed entity reporting and comments
2018-05-23 12:21:08 -05:00
Senthil Ramakrishnan
839fef0ad1
Added more tests for error log and error reporting, updated doxygen comments
2018-05-23 12:21:07 -05:00
Senthil Ramakrishnan
9041b475c6
Error handling/logging implementation and tests
2018-05-23 12:21:07 -05:00
Donatien Garnier
f08ac2e9b2
Merge pull request #52 from pan-/fix-privacy-nrf52
...
Fix privacy nrf52
2018-05-23 11:50:28 -05:00
Donatien Garnier
fa9ab03a31
Merge pull request #51 from pan-/fix-iar-compilation
...
BLE: Fix wrong macro name for IAR
2018-05-23 11:49:42 -05:00
Vincent Coubard
db4d14c89d
BLE NRF52: Fix advertising filtering when no bonds are present.
2018-05-23 17:27:18 +01:00
Vincent Coubard
ef208912a6
BLE NRF52: Report correct own address type for connection
...
The function that gets the address doesn't work when privacy is enabled; report own address as private resolvable.
2018-05-23 17:27:18 +01:00
Vincent Coubard
30dac7cd8c
BLE NRF52: Fix identity address flag in connection request.
2018-05-23 17:27:07 +01:00
Vincent Coubard
1ba5a112f4
BLE: Fix wrong macro name for IAR
2018-05-23 17:11:26 +01:00
amq
d9fcbc7605
EFM32: make mbed_rtx.h depend of families instead of targets
2018-05-23 15:56:38 +00:00
Kevin Bracey
ff32b28d1e
Refill example lists - all current Ethernet boards
...
Remove check for LWIP - check target flagging for EMAC drivers.
Should still be DEVICE_EMAC, but tooling doesn't support that.
2018-05-23 18:40:12 +03:00
Cruz Monrreal
eb9435b52e
Merge pull request #6772 from ARMmbed/g-littlefs-eilseq
...
littlefs: Map LFS_ERR_CORRUPT to EILSEQ
2018-05-23 10:12:19 -05:00
paul-szczepanek-arm
de41355c5c
Fix not processing all advertising reports if one is filtered out
...
filtering out individual reports instead of all
2018-05-23 14:24:54 +01:00
Paul Szczepanek
f4b7f32793
Merge pull request #49 from pan-/fix-privacy-backward-compatibility
...
Fix privacy backward compatibility
2018-05-23 14:20:49 +01:00
Mirela Chirica
853c4c6dd1
Cellular: Added ENOTTY define in mbed_retarget stub
2018-05-23 12:31:17 +03:00
Asif Rizwan
332c6eabeb
recompiled driver against NetworkInterface changes on latest feature-emac
2018-05-23 12:25:23 +03:00