Minor changes to the SerialIP lib for compatibility with Energia