lib/biju/hayes.rb
# Delete a sms message by id.
# @param [Fixnum] Id of sms message on modem.
Delete a sms message by id.
Delete a sms message by id .
def delete(id)
      id = [id] if id.kind_of?(Fixnum)
      return unless id.kind_of?(Enumerable)
      res = true
      id.each { |i| res &= at_command('+CMGD', i)[:status] }
      res
    end
def delete ( id ) id = [ id ] if id . kind_of? ( Fixnum ) return unless id . kind_of? ( Enumerable ) res = true id . each { | i | res &= at_command ( '+CMGD' , i ) [ :status ] } res end
Delete a sms message by id.
Delete a sms message by id .
id
<not_specific>
<not_specific>
Id of sms message on modem.
Id of sms message on modem .