tinkerforge 2.0.8 → 2.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. data/lib/tinkerforge/brick_dc.rb +6 -4
  2. data/lib/tinkerforge/brick_imu.rb +20 -17
  3. data/lib/tinkerforge/brick_master.rb +62 -58
  4. data/lib/tinkerforge/brick_servo.rb +6 -4
  5. data/lib/tinkerforge/brick_stepper.rb +6 -4
  6. data/lib/tinkerforge/bricklet_ambient_light.rb +6 -4
  7. data/lib/tinkerforge/bricklet_analog_in.rb +8 -6
  8. data/lib/tinkerforge/bricklet_analog_out.rb +2 -2
  9. data/lib/tinkerforge/bricklet_barometer.rb +6 -4
  10. data/lib/tinkerforge/bricklet_current12.rb +6 -4
  11. data/lib/tinkerforge/bricklet_current25.rb +6 -4
  12. data/lib/tinkerforge/bricklet_distance_ir.rb +6 -4
  13. data/lib/tinkerforge/bricklet_dual_relay.rb +2 -2
  14. data/lib/tinkerforge/bricklet_gps.rb +7 -7
  15. data/lib/tinkerforge/bricklet_humidity.rb +6 -4
  16. data/lib/tinkerforge/bricklet_industrial_digital_in_4.rb +2 -2
  17. data/lib/tinkerforge/bricklet_industrial_digital_out_4.rb +2 -2
  18. data/lib/tinkerforge/bricklet_industrial_dual_0_20ma.rb +7 -6
  19. data/lib/tinkerforge/bricklet_industrial_quad_relay.rb +2 -2
  20. data/lib/tinkerforge/bricklet_io16.rb +3 -3
  21. data/lib/tinkerforge/bricklet_io4.rb +2 -2
  22. data/lib/tinkerforge/bricklet_joystick.rb +6 -4
  23. data/lib/tinkerforge/bricklet_lcd_16x2.rb +12 -12
  24. data/lib/tinkerforge/bricklet_lcd_20x4.rb +12 -12
  25. data/lib/tinkerforge/bricklet_linear_poti.rb +6 -4
  26. data/lib/tinkerforge/bricklet_piezo_buzzer.rb +2 -2
  27. data/lib/tinkerforge/bricklet_ptc.rb +9 -7
  28. data/lib/tinkerforge/bricklet_rotary_poti.rb +6 -4
  29. data/lib/tinkerforge/bricklet_temperature.rb +4 -4
  30. data/lib/tinkerforge/bricklet_temperature_ir.rb +6 -4
  31. data/lib/tinkerforge/bricklet_voltage.rb +6 -4
  32. data/lib/tinkerforge/bricklet_voltage_current.rb +8 -4
  33. data/lib/tinkerforge/ip_connection.rb +18 -13
  34. data/lib/tinkerforge/version.rb +1 -1
  35. metadata +3 -3
@@ -1,8 +1,8 @@
1
1
  # -*- ruby encoding: utf-8 -*-
2
2
  #############################################################
3
- # This file was automatically generated on 2013-07-04. #
3
+ # This file was automatically generated on 2013-08-23. #
4
4
  # #
5
- # Bindings Version 2.0.8 #
5
+ # Bindings Version 2.0.9 #
6
6
  # #
7
7
  # If you have a bugfix for this file and want to commit it, #
8
8
  # please fix the bug in the generator. You can find a link #
@@ -304,9 +304,11 @@ module Tinkerforge
304
304
  send_request(FUNCTION_GET_CURRENT_VELOCITY_PERIOD, [], '', 2, 'S')
305
305
  end
306
306
 
307
- # Returns the firmware and protocol version and the name of the Bricklet for a given port.
307
+ # Returns the firmware and protocol version and the name of the Bricklet for a
308
+ # given port.
308
309
  #
309
- # This functions sole purpose is to allow automatic flashing of v1.x.y Bricklet plugins.
310
+ # This functions sole purpose is to allow automatic flashing of v1.x.y Bricklet
311
+ # plugins.
310
312
  #
311
313
  # .. versionadded:: 2.0.0~(Firmware)
312
314
  def get_protocol1_bricklet_name(port)
@@ -1,8 +1,8 @@
1
1
  # -*- ruby encoding: utf-8 -*-
2
2
  #############################################################
3
- # This file was automatically generated on 2013-07-04. #
3
+ # This file was automatically generated on 2013-08-23. #
4
4
  # #
5
- # Bindings Version 2.0.8 #
5
+ # Bindings Version 2.0.9 #
6
6
  # #
7
7
  # If you have a bugfix for this file and want to commit it, #
8
8
  # please fix the bug in the generator. You can find a link #
@@ -317,14 +317,14 @@ module Tinkerforge
317
317
 
318
318
  # There are several different types that can be calibrated:
319
319
  #
320
- # "Type", "Description", "Values"
320
+ # "Type", "Description", "Values"
321
321
  #
322
- # "0", "Accelerometer Gain", "[mul x, mul y, mul z, div x, div y, div z, 0, 0, 0, 0]"
323
- # "1", "Accelerometer Bias", "[bias x, bias y, bias z, 0, 0, 0, 0, 0, 0, 0]"
324
- # "2", "Magnetometer Gain", "[mul x, mul y, mul z, div x, div y, div z, 0, 0, 0, 0]"
325
- # "3", "Magnetometer Bias", "[bias x, bias y, bias z, 0, 0, 0, 0, 0, 0, 0]"
326
- # "4", "Gyroskop Gain", "[mul x, mul y, mul z, div x, div y, div z, 0, 0, 0, 0]"
327
- # "5", "Gyroskop Bias", "[bias xl, bias yl, bias zl, temp l, bias xh, bias yh, bias zh, temp h, 0, 0]"
322
+ # "0", "Accelerometer Gain", "``[mul x, mul y, mul z, div x, div y, div z, 0, 0, 0, 0]``"
323
+ # "1", "Accelerometer Bias", "``[bias x, bias y, bias z, 0, 0, 0, 0, 0, 0, 0]``"
324
+ # "2", "Magnetometer Gain", "``[mul x, mul y, mul z, div x, div y, div z, 0, 0, 0, 0]``"
325
+ # "3", "Magnetometer Bias", "``[bias x, bias y, bias z, 0, 0, 0, 0, 0, 0, 0]``"
326
+ # "4", "Gyroscope Gain", "``[mul x, mul y, mul z, div x, div y, div z, 0, 0, 0, 0]``"
327
+ # "5", "Gyroscope Bias", "``[bias xl, bias yl, bias zl, temp l, bias xh, bias yh, bias zh, temp h, 0, 0]``"
328
328
  #
329
329
  # The calibration via gain and bias is done with the following formula::
330
330
  #
@@ -336,12 +336,13 @@ module Tinkerforge
336
336
  # to obtain a usable result in the end.
337
337
  #
338
338
  # The gyroscope bias is highly dependent on the temperature, so you have to
339
- # calibrate the bias two times with different temperatures. The values xl, yl, zl
340
- # and temp l are the bias for x, y, z and the corresponding temperature for a
341
- # low temperature. The values xh, yh, zh and temp h are the same for a high
342
- # temperatures. The temperature difference should be at least 5°C. If you have
343
- # a temperature where the IMU Brick is mostly used, you should use this
344
- # temperature for one of the sampling points.
339
+ # calibrate the bias two times with different temperatures. The values ``xl``,
340
+ # ``yl``, ``zl `` and ``temp l`` are the bias for ``x``, ``y``, ``z`` and the
341
+ # corresponding temperature for a low temperature. The values ``xh``, ``yh``,
342
+ # ``zh`` and ``temp h`` are the same for a high temperatures. The temperature
343
+ # difference should be at least 5°C. If you have a temperature where the
344
+ # IMU Brick is mostly used, you should use this temperature for one of the
345
+ # sampling points.
345
346
  #
346
347
  # .. note::
347
348
  # We highly recommend that you use the Brick Viewer to calibrate your
@@ -457,9 +458,11 @@ module Tinkerforge
457
458
  send_request(FUNCTION_IS_ORIENTATION_CALCULATION_ON, [], '', 1, '?')
458
459
  end
459
460
 
460
- # Returns the firmware and protocol version and the name of the Bricklet for a given port.
461
+ # Returns the firmware and protocol version and the name of the Bricklet for a
462
+ # given port.
461
463
  #
462
- # This functions sole purpose is to allow automatic flashing of v1.x.y Bricklet plugins.
464
+ # This functions sole purpose is to allow automatic flashing of v1.x.y Bricklet
465
+ # plugins.
463
466
  #
464
467
  # .. versionadded:: 2.0.0~(Firmware)
465
468
  def get_protocol1_bricklet_name(port)
@@ -1,8 +1,8 @@
1
1
  # -*- ruby encoding: utf-8 -*-
2
2
  #############################################################
3
- # This file was automatically generated on 2013-07-04. #
3
+ # This file was automatically generated on 2013-08-23. #
4
4
  # #
5
- # Bindings Version 2.0.8 #
5
+ # Bindings Version 2.0.9 #
6
6
  # #
7
7
  # If you have a bugfix for this file and want to commit it, #
8
8
  # please fix the bug in the generator. You can find a link #
@@ -310,20 +310,16 @@ module Tinkerforge
310
310
  #
311
311
  # The extension type is already set when bought and it can be set with the
312
312
  # Brick Viewer, it is unlikely that you need this function.
313
- #
314
- # The value will be saved in the EEPROM of the Chibi Extension, it does not
315
- # have to be set on every startup.
316
313
  def set_extension_type(extension, exttype)
317
314
  send_request(FUNCTION_SET_EXTENSION_TYPE, [extension, exttype], 'C L', 0, '')
318
315
  end
319
316
 
320
- # Returns the extension type for a given extension as set by
321
- # BrickMaster#set_extension_type.
317
+ # Returns the type for a given extension as set by BrickMaster#set_extension_type.
322
318
  def get_extension_type(extension)
323
319
  send_request(FUNCTION_GET_EXTENSION_TYPE, [extension], 'C', 4, 'L')
324
320
  end
325
321
 
326
- # Returns *true* if a Chibi Extension is available to be used by the Master.
322
+ # Returns *true* if a Chibi Extension is available to be used by the Master Brick.
327
323
  #
328
324
  # .. versionadded:: 1.1.0~(Firmware)
329
325
  def is_chibi_present
@@ -369,13 +365,13 @@ module Tinkerforge
369
365
 
370
366
  # Sets up to 254 slave addresses. Valid addresses are in range 1-255. 0 has a
371
367
  # special meaning, it is used as list terminator and not allowed as normal slave
372
- # address. The address numeration (via num parameter) has to be used
368
+ # address. The address numeration (via ``num`` parameter) has to be used
373
369
  # ascending from 0. For example: If you use the Chibi Extension in Master mode
374
370
  # (i.e. the stack has an USB connection) and you want to talk to three other
375
371
  # Chibi stacks with the slave addresses 17, 23, and 42, you should call with
376
- # "(0, 17), (1, 23), (2, 42) and (3, 0)". The last call with "(3, 0)" is a list
377
- # terminator and indicates that the Chibi slave address list contains 3 addresses
378
- # in this case.
372
+ # ``(0, 17)``, ``(1, 23)``, ``(2, 42)`` and ``(3, 0)``. The last call with
373
+ # ``(3, 0)`` is a list terminator and indicates that the Chibi slave address
374
+ # list contains 3 addresses in this case.
379
375
  #
380
376
  # It is possible to set the addresses with the Brick Viewer, that will take care
381
377
  # of correct address numeration and list termination.
@@ -388,7 +384,7 @@ module Tinkerforge
388
384
  send_request(FUNCTION_SET_CHIBI_SLAVE_ADDRESS, [num, address], 'C C', 0, '')
389
385
  end
390
386
 
391
- # Returns the slave address for a given num as set by
387
+ # Returns the slave address for a given ``num`` as set by
392
388
  # BrickMaster#set_chibi_slave_address.
393
389
  #
394
390
  # .. versionadded:: 1.1.0~(Firmware)
@@ -465,7 +461,7 @@ module Tinkerforge
465
461
  send_request(FUNCTION_GET_CHIBI_CHANNEL, [], '', 1, 'C')
466
462
  end
467
463
 
468
- # Returns *true* if a RS485 Extension is available to be used by the Master.
464
+ # Returns *true* if a RS485 Extension is available to be used by the Master Brick.
469
465
  #
470
466
  # .. versionadded:: 1.2.0~(Firmware)
471
467
  def is_rs485_present
@@ -495,13 +491,13 @@ module Tinkerforge
495
491
 
496
492
  # Sets up to 255 slave addresses. Valid addresses are in range 1-255. 0 has a
497
493
  # special meaning, it is used as list terminator and not allowed as normal slave
498
- # address. The address numeration (via num parameter) has to be used
494
+ # address. The address numeration (via ``num`` parameter) has to be used
499
495
  # ascending from 0. For example: If you use the RS485 Extension in Master mode
500
496
  # (i.e. the stack has an USB connection) and you want to talk to three other
501
- # RS485 stacks with the addresses 17, 23, and 42, you should call with "(0, 17),
502
- # (1, 23), (2, 42) and (3, 0)". The last call with "(3, 0)" is a list terminator
503
- # and indicates that the RS485 slave address list contains 3 addresses in this
504
- # case.
497
+ # RS485 stacks with the addresses 17, 23, and 42, you should call with
498
+ # ``(0, 17)``, ``(1, 23)``, ``(2, 42)`` and ``(3, 0)``. The last call with
499
+ # ``(3, 0)`` is a list terminator and indicates that the RS485 slave address list
500
+ # contains 3 addresses in this case.
505
501
  #
506
502
  # It is possible to set the addresses with the Brick Viewer, that will take care
507
503
  # of correct address numeration and list termination.
@@ -514,7 +510,7 @@ module Tinkerforge
514
510
  send_request(FUNCTION_SET_RS485_SLAVE_ADDRESS, [num, address], 'C C', 0, '')
515
511
  end
516
512
 
517
- # Returns the slave address for a given num as set by
513
+ # Returns the slave address for a given ``num`` as set by
518
514
  # BrickMaster#set_rs485_slave_address.
519
515
  #
520
516
  # .. versionadded:: 1.2.0~(Firmware)
@@ -557,15 +553,15 @@ module Tinkerforge
557
553
  send_request(FUNCTION_GET_RS485_CONFIGURATION, [], '', 6, 'L k C')
558
554
  end
559
555
 
560
- # Returns *true* if a WIFI Extension is available to be used by the Master.
556
+ # Returns *true* if a WIFI Extension is available to be used by the Master Brick.
561
557
  #
562
558
  # .. versionadded:: 1.2.0~(Firmware)
563
559
  def is_wifi_present
564
560
  send_request(FUNCTION_IS_WIFI_PRESENT, [], '', 1, '?')
565
561
  end
566
562
 
567
- # Sets the configuration of the WIFI Extension. The *ssid* can have a max length
568
- # of 32 characters. Possible values for *connection* are:
563
+ # Sets the configuration of the WIFI Extension. The ``ssid`` can have a max length
564
+ # of 32 characters. Possible values for ``connection`` are:
569
565
  #
570
566
  # "Value", "Description"
571
567
  #
@@ -576,11 +572,11 @@ module Tinkerforge
576
572
  # "4", "Ad Hoc: DHCP"
577
573
  # "5", "Ad Hoc: Static IP"
578
574
  #
579
- # If you set *connection* to one of the static IP options then you have to supply
580
- # *ip*, *subnet_mask* and *gateway* as an array of size 4 (first element of the
581
- # array is the least significant byte of the address). If *connection* is set to
582
- # one of the DHCP options then *ip*, *subnet_mask* and *gateway* are ignored, you
583
- # can set them to 0.
575
+ # If you set ``connection`` to one of the static IP options then you have to
576
+ # supply ``ip``, ``subnet_mask`` and ``gateway`` as an array of size 4 (first
577
+ # element of the array is the least significant byte of the address). If
578
+ # ``connection`` is set to one of the DHCP options then ``ip``, ``subnet_mask``
579
+ # and ``gateway`` are ignored, you can set them to 0.
584
580
  #
585
581
  # The last parameter is the port that your program will connect to. The
586
582
  # default port, that is used by brickd, is 4223.
@@ -612,30 +608,30 @@ module Tinkerforge
612
608
  # "2", "WEP"
613
609
  # "3", "No Encryption"
614
610
  #
615
- # The key has a max length of 50 characters and is used if encryption
611
+ # The ``key`` has a max length of 50 characters and is used if ``encryption``
616
612
  # is set to 0 or 2 (WPA/WPA2 or WEP). Otherwise the value is ignored.
617
613
  #
618
614
  # For WPA/WPA2 the key has to be at least 8 characters long. If you want to set
619
615
  # a key with more than 50 characters, see BrickMaster#set_long_wifi_key.
620
616
  #
621
617
  # For WEP the key has to be either 10 or 26 hexadecimal digits long. It is
622
- # possible to set the WEP key index (1-4). If you don't know your key index,
623
- # it is likely 1.
618
+ # possible to set the WEP ``key_index`` (1-4). If you don't know your
619
+ # ``key_index``, it is likely 1.
624
620
  #
625
- # If you choose WPA Enterprise as encryption, you have to set eap options and
621
+ # If you choose WPA Enterprise as encryption, you have to set ``eap_options`` and
626
622
  # the length of the certificates (for other encryption types these parameters
627
623
  # are ignored). The certificate length are given in byte and the certificates
628
- # themselves can be set with BrickMaster#set_wifi_certificate. Eap options consist of
629
- # the outer authentication (bits 1-2), inner authentication (bit 3) and
624
+ # themselves can be set with BrickMaster#set_wifi_certificate. ``eap_options`` consist
625
+ # of the outer authentication (bits 1-2), inner authentication (bit 3) and
630
626
  # certificate type (bits 4-5):
631
627
  #
632
628
  # "Option", "Bits", "Description"
633
629
  #
634
- # "outer auth", "1-2", "0=EAP-FAST, 1=EAP-TLS, 2=EAP-TTLS, 3=EAP-PEAP"
635
- # "inner auth", "3", "0=EAP-MSCHAP, 1=EAP-GTC"
636
- # "cert type", "4-5", "0=CA Certificate, 1=Client Certificate, 2=Private Key"
630
+ # "outer authentication", "1-2", "0=EAP-FAST, 1=EAP-TLS, 2=EAP-TTLS, 3=EAP-PEAP"
631
+ # "inner authentication", "3", "0=EAP-MSCHAP, 1=EAP-GTC"
632
+ # "certificate type", "4-5", "0=CA Certificate, 1=Client Certificate, 2=Private Key"
637
633
  #
638
- # Example for EAP-TTLS + EAP-GTC + Private Key: option = 2 | (1 << 2) | (2 << 3).
634
+ # Example for EAP-TTLS + EAP-GTC + Private Key: ``option = 2 | (1 << 2) | (2 << 3)``.
639
635
  #
640
636
  # The values are stored in the EEPROM and only applied on startup. That means
641
637
  # you have to restart the Master Brick after configuration.
@@ -654,7 +650,7 @@ module Tinkerforge
654
650
  send_request(FUNCTION_GET_WIFI_ENCRYPTION, [], '', 59, 'C Z50 C C S S S')
655
651
  end
656
652
 
657
- # Returns the status of the WIFI Extension. The state is updated automatically,
653
+ # Returns the status of the WIFI Extension. The ``state`` is updated automatically,
658
654
  # all of the other parameters are updated on startup and every time
659
655
  # BrickMaster#refresh_wifi_status is called.
660
656
  #
@@ -677,7 +673,7 @@ module Tinkerforge
677
673
  # of the WIFI module, the Master Brick has to change from data mode to
678
674
  # command mode and back. This transaction and the readout itself is
679
675
  # unfortunately time consuming. This means, that it might take some ms
680
- # until the stack with attached WIFI Extensions reacts again after this
676
+ # until the stack with attached WIFI Extension reacts again after this
681
677
  # function is called.
682
678
  #
683
679
  # .. versionadded:: 1.3.0~(Firmware)
@@ -691,7 +687,7 @@ module Tinkerforge
691
687
  # password is 32.
692
688
  #
693
689
  # The certificate is written in chunks of size 32 and the index is used as
694
- # the index of the chunk. The data length should nearly always be 32. Only
690
+ # the index of the chunk. ``data_length`` should nearly always be 32. Only
695
691
  # the last chunk can have a length that is not equal to 32.
696
692
  #
697
693
  # The starting index of the CA Certificate is 0, of the Client Certificate
@@ -965,11 +961,15 @@ module Tinkerforge
965
961
 
966
962
  # Sets the period in ms with which the threshold callbacks
967
963
  #
968
- # CALLBACK_STACK_CURRENT_REACHED, CALLBACK_STACK_VOLTAGE_REACHED, CALLBACK_USB_VOLTAGE_REACHED
964
+ # * CALLBACK_STACK_CURRENT_REACHED,
965
+ # * CALLBACK_STACK_VOLTAGE_REACHED,
966
+ # * CALLBACK_USB_VOLTAGE_REACHED
969
967
  #
970
968
  # are triggered, if the thresholds
971
969
  #
972
- # BrickMaster#set_stack_current_callback_threshold, BrickMaster#set_stack_voltage_callback_threshold, BrickMaster#set_usb_voltage_callback_threshold
970
+ # * BrickMaster#set_stack_current_callback_threshold,
971
+ # * BrickMaster#set_stack_voltage_callback_threshold,
972
+ # * BrickMaster#set_usb_voltage_callback_threshold
973
973
  #
974
974
  # keep being reached.
975
975
  #
@@ -987,25 +987,27 @@ module Tinkerforge
987
987
  send_request(FUNCTION_GET_DEBOUNCE_PERIOD, [], '', 4, 'L')
988
988
  end
989
989
 
990
- # Returns *true* if a Ethernet Extension is available to be used by the Master.
990
+ # Returns *true* if a Ethernet Extension is available to be used by the Master
991
+ # Brick.
991
992
  #
992
993
  # .. versionadded:: 2.1.0~(Firmware)
993
994
  def is_ethernet_present
994
995
  send_request(FUNCTION_IS_ETHERNET_PRESENT, [], '', 1, '?')
995
996
  end
996
997
 
997
- # Sets the configuration of the WIFI Extension. Possible values for *connection* are:
998
+ # Sets the configuration of the Ethernet Extension. Possible values for
999
+ # ``connection`` are:
998
1000
  #
999
1001
  # "Value", "Description"
1000
1002
  #
1001
1003
  # "0", "DHCP"
1002
1004
  # "1", "Static IP"
1003
1005
  #
1004
- # If you set *connection* to static IP options then you have to supply
1005
- # *ip*, *subnet_mask* and *gateway* as an array of size 4 (first element of the
1006
- # array is the least significant byte of the address). If *connection* is set to
1007
- # the DHCP options then *ip*, *subnet_mask* and *gateway* are ignored, you
1008
- # can set them to 0.
1006
+ # If you set ``connection`` to static IP options then you have to supply ``ip``,
1007
+ # ``subnet_mask`` and ``gateway`` as an array of size 4 (first element of the
1008
+ # array is the least significant byte of the address). If ``connection`` is set
1009
+ # to the DHCP options then ``ip``, ``subnet_mask`` and ``gateway`` are ignored,
1010
+ # you can set them to 0.
1009
1011
  #
1010
1012
  # The last parameter is the port that your program will connect to. The
1011
1013
  # default port, that is used by brickd, is 4223.
@@ -1027,15 +1029,15 @@ module Tinkerforge
1027
1029
  send_request(FUNCTION_GET_ETHERNET_CONFIGURATION, [], '', 15, 'C C4 C4 C4 S')
1028
1030
  end
1029
1031
 
1030
- # Returns the status of the Ethernet Extension.
1032
+ # Returns the status of the Ethernet Extension.
1031
1033
  #
1032
- # *mac_address*, *ip*, *subnet_mask* and *gateway* are given as an array
1033
- # (first element of the array is the least significant byte of the address).
1034
+ # ``mac_address``, ``ip``, ``subnet_mask`` and ``gateway`` are given as an array.
1035
+ # The first element of the array is the least significant byte of the address.
1034
1036
  #
1035
- # *rx_count* and *tx_count* are the number of bytes that have been received/send
1036
- # since last restart
1037
+ # ``rx_count`` and ``tx_count`` are the number of bytes that have been
1038
+ # received/send since last restart.
1037
1039
  #
1038
- # *hostname* is the currently used hostname.
1040
+ # ``hostname`` is the currently used hostname.
1039
1041
  #
1040
1042
  # .. versionadded:: 2.1.0~(Firmware)
1041
1043
  def get_ethernet_status
@@ -1065,9 +1067,11 @@ module Tinkerforge
1065
1067
  send_request(FUNCTION_SET_ETHERNET_MAC_ADDRESS, [mac_address], 'C6', 0, '')
1066
1068
  end
1067
1069
 
1068
- # Returns the firmware and protocol version and the name of the Bricklet for a given port.
1070
+ # Returns the firmware and protocol version and the name of the Bricklet for a
1071
+ # given port.
1069
1072
  #
1070
- # This functions sole purpose is to allow automatic flashing of v1.x.y Bricklet plugins.
1073
+ # This functions sole purpose is to allow automatic flashing of v1.x.y Bricklet
1074
+ # plugins.
1071
1075
  #
1072
1076
  # .. versionadded:: 2.0.0~(Firmware)
1073
1077
  def get_protocol1_bricklet_name(port)
@@ -1,8 +1,8 @@
1
1
  # -*- ruby encoding: utf-8 -*-
2
2
  #############################################################
3
- # This file was automatically generated on 2013-07-04. #
3
+ # This file was automatically generated on 2013-08-23. #
4
4
  # #
5
- # Bindings Version 2.0.8 #
5
+ # Bindings Version 2.0.9 #
6
6
  # #
7
7
  # If you have a bugfix for this file and want to commit it, #
8
8
  # please fix the bug in the generator. You can find a link #
@@ -420,9 +420,11 @@ module Tinkerforge
420
420
  send_request(FUNCTION_IS_VELOCITY_REACHED_CALLBACK_ENABLED, [], '', 1, 'C')
421
421
  end
422
422
 
423
- # Returns the firmware and protocol version and the name of the Bricklet for a given port.
423
+ # Returns the firmware and protocol version and the name of the Bricklet for a
424
+ # given port.
424
425
  #
425
- # This functions sole purpose is to allow automatic flashing of v1.x.y Bricklet plugins.
426
+ # This functions sole purpose is to allow automatic flashing of v1.x.y Bricklet
427
+ # plugins.
426
428
  #
427
429
  # .. versionadded:: 2.0.0~(Firmware)
428
430
  def get_protocol1_bricklet_name(port)
@@ -1,8 +1,8 @@
1
1
  # -*- ruby encoding: utf-8 -*-
2
2
  #############################################################
3
- # This file was automatically generated on 2013-07-04. #
3
+ # This file was automatically generated on 2013-08-23. #
4
4
  # #
5
- # Bindings Version 2.0.8 #
5
+ # Bindings Version 2.0.9 #
6
6
  # #
7
7
  # If you have a bugfix for this file and want to commit it, #
8
8
  # please fix the bug in the generator. You can find a link #
@@ -501,9 +501,11 @@ module Tinkerforge
501
501
  send_request(FUNCTION_GET_ALL_DATA_PERIOD, [], '', 4, 'L')
502
502
  end
503
503
 
504
- # Returns the firmware and protocol version and the name of the Bricklet for a given port.
504
+ # Returns the firmware and protocol version and the name of the Bricklet for a
505
+ # given port.
505
506
  #
506
- # This functions sole purpose is to allow automatic flashing of v1.x.y Bricklet plugins.
507
+ # This functions sole purpose is to allow automatic flashing of v1.x.y Bricklet
508
+ # plugins.
507
509
  #
508
510
  # .. versionadded:: 2.0.0~(Firmware)
509
511
  def get_protocol1_bricklet_name(port)
@@ -1,8 +1,8 @@
1
1
  # -*- ruby encoding: utf-8 -*-
2
2
  #############################################################
3
- # This file was automatically generated on 2013-07-04. #
3
+ # This file was automatically generated on 2013-08-23. #
4
4
  # #
5
- # Bindings Version 2.0.8 #
5
+ # Bindings Version 2.0.9 #
6
6
  # #
7
7
  # If you have a bugfix for this file and want to commit it, #
8
8
  # please fix the bug in the generator. You can find a link #
@@ -206,11 +206,13 @@ module Tinkerforge
206
206
 
207
207
  # Sets the period in ms with which the threshold callbacks
208
208
  #
209
- # CALLBACK_ILLUMINANCE_REACHED, CALLBACK_ANALOG_VALUE_REACHED
209
+ # * CALLBACK_ILLUMINANCE_REACHED,
210
+ # * CALLBACK_ANALOG_VALUE_REACHED
210
211
  #
211
212
  # are triggered, if the thresholds
212
213
  #
213
- # BrickletAmbientLight#set_illuminance_callback_threshold, BrickletAmbientLight#set_analog_value_callback_threshold
214
+ # * BrickletAmbientLight#set_illuminance_callback_threshold,
215
+ # * BrickletAmbientLight#set_analog_value_callback_threshold
214
216
  #
215
217
  # keep being reached.
216
218
  #