Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
card10
firmware
Commits
2dacb9de
Commit
2dacb9de
authored
4 years ago
by
schneider
Browse files
Options
Downloads
Patches
Plain Diff
fix(mp-ble): Only process relevant ATT messages
parent
e842067b
No related branches found
No related tags found
No related merge requests found
Pipeline
#5127
failed
4 years ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
epicardium/ble/epic_att_api.c
+8
-6
8 additions, 6 deletions
epicardium/ble/epic_att_api.c
with
8 additions
and
6 deletions
epicardium/ble/epic_att_api.c
+
8
−
6
View file @
2dacb9de
...
...
@@ -25,6 +25,7 @@ static int next_handle = ATTS_DYN_START_HANDLE;
void
ble_epic_att_api_event
(
attEvt_t
*
att_event
)
{
if
(
att_event
->
handle
>=
ATTS_DYN_START_HANDLE
&&
att_event
->
handle
<
next_handle
)
{
attEvt_t
*
e
=
WsfBufAlloc
(
sizeof
(
*
e
));
if
(
e
)
{
...
...
@@ -34,6 +35,7 @@ void ble_epic_att_api_event(attEvt_t *att_event)
LOG_WARN
(
"ble"
,
"could not allocate att event"
);
}
}
}
void
ble_epic_att_api_free_att_write_data
(
struct
epic_att_write
*
w
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment