Has anyone installed a GDLC? specifically a dlc8023? what do I need to do to access this device?
The code: llfd = open("/dev/dlc8023/ent0",O_RDWR)
works fine.
But the later code:
write(llfd, (void *)&lllbuff, 100) < 0)
fails with an invalid argument error.
Am I opening it incorrectly? do I need to do some other routines after the open to enable a SAP?
Any help would be great.
The code: llfd = open("/dev/dlc8023/ent0",O_RDWR)
works fine.
But the later code:
write(llfd, (void *)&lllbuff, 100) < 0)
fails with an invalid argument error.
Am I opening it incorrectly? do I need to do some other routines after the open to enable a SAP?
Any help would be great.