Based on cmagagna/ArduinoCC3000