https://developer.mbed.org/teams/WizziLab/code/modem_ref/#9c8c46206eab