How to extract int from string (RSSI value from WiFly shield)

Look into 'sscanf'