Offloading resource-intensive messaging tasks from the microcontroller