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.
Dependents: ArtNode ArtNode DMXStation ArtNodeLED ... more
DmxArtNet Class Reference
#include <DmxArtNet.h>
Public Member Functions | |
| int | Init () |
| create network socket, setup for NetworkWork | |
| void | Done () |
| socket shutdown | |
| int | LastError () |
| last error | |
| char * | LastErrorString () |
| returns descrip of last error | |
| void | ClearError () |
| clear error | |
| int | Send_ArtDmx (int univ, int physical, char *data, int length) |
| Send send an array [0..511] of (length) bytes representing the dmx you want to send to univ[0..15] , physical is info only, can be the universe number or port of device. | |
| int | Work () |
| execute often returns true if something happened | |
Detailed Description
DmxArtNet class.
Definition at line 297 of file DmxArtNet.h.
Member Function Documentation
| void ClearError | ( | ) |
clear error
Definition at line 75 of file DmxArtNet.cpp.
| void Done | ( | ) |
socket shutdown
Definition at line 328 of file DmxArtNet.cpp.
| int Init | ( | ) |
create network socket, setup for NetworkWork
- Returns:
- true if socket creation succeded
Definition at line 79 of file DmxArtNet.cpp.
| int LastError | ( | ) |
| char* LastErrorString | ( | ) |
returns descrip of last error
- Returns:
- descrip of last error
Definition at line 325 of file DmxArtNet.h.
| int Send_ArtDmx | ( | int | univ, |
| int | physical, | ||
| char * | data, | ||
| int | length | ||
| ) |
Send send an array [0..511] of (length) bytes representing the dmx you want to send to univ[0..15] , physical is info only, can be the universe number or port of device.
Definition at line 346 of file DmxArtNet.cpp.
| int Work | ( | ) |
execute often returns true if something happened
- Returns:
- 1 something happened
Definition at line 148 of file DmxArtNet.cpp.
Generated on Thu Jul 14 2022 05:23:18 by
1.7.2