#include #include "servicepoint.h" #include "helpers.h" /// DO NOT DO ANY OF THIS! int main(void) { BitmapCommand *bmcmd = sp_bitmap_command_new(sp_bitmap_new_max_sized(), 0, 0, COMPRESSION_CODE_UNCOMPRESSED); BitVecCommand *bvcmd = (BitVecCommand *) bmcmd; sp_bit_vec_command_free(bvcmd); uint8_t *data = calloc(1024, 1); struct GenericCommand generic = { .tag = COMMAND_TAG_BRIGHTNESS_GRID, .data = {.null = data}, }; sock_init(); sp_udp_socket_send_command(sock, &generic); return 0; }