cdev-1.7.2n

This commit is contained in:
2022-12-13 12:44:04 +01:00
commit b3b88fc333
1357 changed files with 338883 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
#include <cdevPlatforms.h>
#include <cdevSystem.h>
#include <cdevRequestObject.h>
#include <cdevDevice.h>
int main ( )
{
cdevRequestObject & setReq = cdevRequestObject::attachRef("device0", "set attrib1");
cdevData data;
data.insert("value", 1);
setReq.send(data, NULL);
fprintf(stdout, "Enter a character after you stop and restart the server\n");
getc(stdin);
setReq.send(data, NULL);
return 0;
}