Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: NerfUSXbee PinDetect EthernetInterface JSON MFRC522 WebSocketClient mbed-rtos mbed
ServerData.hpp
00001 #pragma once 00002 00003 //TODO: Separate ? 00004 struct ServerData 00005 { 00006 //To server 00007 uint8_t targets = 0; 00008 uint16_t averageReflexTime = 0; 00009 uint16_t gameLength = 0; 00010 int16_t score = 0; 00011 char rfid_code[15] = {'\0'}; 00012 char direction[10] = {'\0'}; 00013 00014 //From server 00015 uint8_t game_id = 0; 00016 uint16_t max_reflex_time = 10000; 00017 uint8_t number_of_target = 100; 00018 00019 }; 00020 struct ServerEvent 00021 { 00022 char event[32] = {'\0'}; 00023 ServerData data; 00024 };
Generated on Tue Jul 12 2022 15:36:49 by
1.7.2