Method: Tinkerforge::BrickRED#append_to_list

Defined in:
lib/tinkerforge/brick_red.rb

#append_to_list(list_id, item_object_id) ⇒ Object

Appends an object to a list object and increases the reference count of the appended object by one.

Returns the resulting error code.



421
422
423
424
425
# File 'lib/tinkerforge/brick_red.rb', line 421

def append_to_list(list_id, item_object_id)
  check_validity

  send_request FUNCTION_APPEND_TO_LIST, [list_id, item_object_id], 'S S', 9, 'C'
end