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
6327c1ed
Commit
6327c1ed
authored
4 years ago
by
schneider
Browse files
Options
Downloads
Patches
Plain Diff
chore(mp-ble): Remove some debug prints
parent
26593051
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!446
Initial MicroPython BLE support (GATTS)
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pycardium/modules/modbluetooth_card10.c
+0
-11
0 additions, 11 deletions
pycardium/modules/modbluetooth_card10.c
with
0 additions
and
11 deletions
pycardium/modules/modbluetooth_card10.c
+
0
−
11
View file @
6327c1ed
...
...
@@ -196,11 +196,6 @@ static void clear_events(void)
static
void
handle_att_event
(
struct
epic_att_event
*
att_event
)
{
printf
(
"MP got att event %d,%d,%d
\n
"
,
att_event
->
hdr
.
event
,
att_event
->
hdr
.
status
,
att_event
->
handle
);
if
(
att_event
->
hdr
.
event
==
ATTS_HANDLE_VALUE_CNF
)
{
gatts_status_entry_t
*
e
=
gatts_status_lookup
(
GATTS_STATUS
,
att_event
->
handle
);
...
...
@@ -215,7 +210,6 @@ static void handle_att_event(struct epic_att_event *att_event)
static
void
handle_dm_event
(
struct
epic_dm_event
*
dm_event
)
{
struct
epic_wsf_header
*
hdr
=
(
struct
epic_wsf_header
*
)
dm_event
;
printf
(
"MP got dm event %d,%d
\n
"
,
hdr
->
event
,
hdr
->
status
);
if
(
hdr
->
event
==
DM_CONN_OPEN_IND
)
{
struct
epic_hciLeConnCmpl_event
*
e
=
...
...
@@ -241,14 +235,9 @@ static void handle_dm_event(struct epic_dm_event *dm_event)
static
void
handle_att_write
(
struct
epic_att_write
*
att_write
)
{
printf
(
"MP got att write %d,%d
\n
"
,
att_write
->
handle
,
att_write
->
valueLen
);
mp_bluetooth_gatts_db_entry_t
*
entry
=
mp_bluetooth_gatts_db_lookup
(
GATTS_DB
,
att_write
->
handle
);
if
(
!
entry
)
{
printf
(
"ble: epic_att_write handle not found
\n
"
);
return
;
}
...
...
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