discoLight
Loading...
Searching...
No Matches
NetworkCommands.h
Go to the documentation of this file.
1
26#ifndef NETWORKCOMMANDS_H_
27#define NETWORKCOMMANDS_H_
28
32#define LIGHTPWMADJUSTMENTCMD (0x01000000)
33// Parameter 1: This is the PWM duty cycl.e Valid range is 0 to 1000, with 1000 representing 100% duty cycle.
34
38#define LIGHTONCMD (0x00100000)
39
43#define LIGHTOFFCMD (0x00010000)
44
48#define REPORT_NEW_IPADDRESS (0x08000011) // This command will indicate a new IP address has been received.
49 // Parameter 1: This is the 32 bit ip address that the machine is connected to.
50
51
52#endif /* NETWORKCOMMANDS_H_ */