Skip to content

Instantly share code, notes, and snippets.

@No0ne
No0ne / midiproxy.py
Created February 6, 2026 07:54
MIDI uart to bluetooth (MIDI BLE) proxy using Raspberry Pico W and Micropython
import machine
import bluetooth
import struct
import time
from micropython import const
_ADV_TYPE_FLAGS = const(0x01)
_ADV_TYPE_NAME = const(0x09)
_ADV_TYPE_UUID16_COMPLETE = const(0x3)
_ADV_TYPE_UUID32_COMPLETE = const(0x5)