Skip to content
Snippets Groups Projects
Commit 6327c1ed authored by schneider's avatar schneider
Browse files

chore(mp-ble): Remove some debug prints

parent 26593051
No related branches found
No related tags found
1 merge request!446Initial MicroPython BLE support (GATTS)
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment