Go to the source code of this file.
Classes | |
struct | ATTRIBUTE_PACKED |
struct | ATTRIBUTE_PACKED |
struct | ATTRIBUTE_PACKED |
struct | ATTRIBUTE_PACKED |
struct | ATTRIBUTE_PACKED |
struct | ATTRIBUTE_PACKED |
struct | ATTRIBUTE_PACKED |
struct | ATTRIBUTE_PACKED |
struct | ATTRIBUTE_PACKED |
Defines | |
#define | IPCON_EXPOSE_INTERNALS |
Typedefs | |
typedef void(* | StateChangedCallbackFunction )(uint8_t, uint8_t, uint8_t, uint8_t, void *) |
Functions | |
static void | dual_button_callback_wrapper_state_changed (DevicePrivate *device_p, Packet *packet) |
void | dual_button_create (DualButton *dual_button, const char *uid, IPConnection *ipcon) |
void | dual_button_destroy (DualButton *dual_button) |
int | dual_button_get_api_version (DualButton *dual_button, uint8_t ret_api_version[3]) |
int | dual_button_get_button_state (DualButton *dual_button, uint8_t *ret_button_l, uint8_t *ret_button_r) |
int | dual_button_get_identity (DualButton *dual_button, char ret_uid[8], char ret_connected_uid[8], char *ret_position, uint8_t ret_hardware_version[3], uint8_t ret_firmware_version[3], uint16_t *ret_device_identifier) |
int | dual_button_get_led_state (DualButton *dual_button, uint8_t *ret_led_l, uint8_t *ret_led_r) |
int | dual_button_get_response_expected (DualButton *dual_button, uint8_t function_id, bool *ret_response_expected) |
void | dual_button_register_callback (DualButton *dual_button, uint8_t id, void *callback, void *user_data) |
int | dual_button_set_led_state (DualButton *dual_button, uint8_t led_l, uint8_t led_r) |
int | dual_button_set_response_expected (DualButton *dual_button, uint8_t function_id, bool response_expected) |
int | dual_button_set_response_expected_all (DualButton *dual_button, bool response_expected) |
int | dual_button_set_selected_led_state (DualButton *dual_button, uint8_t led, uint8_t state) |
#define IPCON_EXPOSE_INTERNALS |
Definition at line 12 of file bricklet_dual_button.c.
typedef void(* StateChangedCallbackFunction)(uint8_t, uint8_t, uint8_t, uint8_t, void *) |
Definition at line 24 of file bricklet_dual_button.c.
static void dual_button_callback_wrapper_state_changed | ( | DevicePrivate * | device_p, |
Packet * | packet | ||
) | [static] |
Definition at line 101 of file bricklet_dual_button.c.