Enviar por SMS: Local dynamics for planar optimal control problems : a complete characterization