Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
card10
firmware
Commits
983d8136
Commit
983d8136
authored
Feb 07, 2021
by
schneider
Browse files
Merge branch 'schneider/ble-fixes-2021-1' into 'master'
BLE fixes See merge request
!454
parents
09fd7099
11a29eaa
Pipeline
#5148
passed with stages
in 49 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
epicardium/ble/epic_att_api.c
View file @
983d8136
...
...
@@ -41,6 +41,7 @@ void ble_epic_att_api_event(attEvt_t *att_event)
if
(
e
)
{
memcpy
(
e
,
att_event
,
sizeof
(
*
e
));
memcpy
(
e
+
1
,
att_event
->
pValue
,
value_len
);
e
->
pValue
=
(
uint8_t
*
)(
e
+
1
);
ble_epic_ble_api_trigger_event
(
BLE_EVENT_ATT_EVENT
,
e
);
}
else
{
LOG_WARN
(
...
...
epicardium/ble/epic_ble_api.c
View file @
983d8136
...
...
@@ -2,7 +2,7 @@
#include "epicardium.h"
#include "modules/log.h"
#include "
api/interrupt-sender
.h"
#include "
modules/modules
.h"
#include "wsf_buf.h"
#include "app_api.h"
...
...
@@ -59,7 +59,7 @@ void ble_epic_ble_api_trigger_event(enum epic_ble_event_type type, void *data)
epic_ble_free_event
(
&
e
);
}
api_
interrupt_trigger
(
EPIC_INT_BLE
);
interrupt_trigger
(
EPIC_INT_BLE
);
}
else
{
epic_ble_free_event
(
&
e
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment