Send and receive client string

This commit is contained in:
Adam Honse 2020-05-08 22:07:34 -05:00
parent 9ff4314840
commit edf1b251c0
5 changed files with 63 additions and 1 deletions

View file

@ -15,6 +15,7 @@ enum
\*----------------------------------------------------------------------------------------------------------*/
NET_PACKET_ID_REQUEST_CONTROLLER_COUNT = 0, /* Request RGBController device count from server */
NET_PACKET_ID_REQUEST_CONTROLLER_DATA = 1, /* Request RGBController data block */
NET_PACKET_ID_SET_CLIENT_NAME = 50, /* Send client name string to server */
/*----------------------------------------------------------------------------------------------------------*\
| RGBController class functions |
@ -34,4 +35,4 @@ NetPacketHeader * InitNetPacketHeader
unsigned int pkt_dev_idx,
unsigned int pkt_id,
unsigned int pkt_size
);
);