[En-Nut-Discussion] HDLC_SETIFNET - what's wrong ?
    Grzegorz Płoński 
    grzegorz.plonski at numeron.pl
       
    Fri Oct 29 18:54:50 CEST 2004
    
    
  
Hi,
 
Try something like this below:
 
main()
 
(...)
 
  NutRegisterDevice(&devAhdlc1, 0, 0);
 
  smodem  = fopen("uart1", "r+b");
 
  lspeed = 19200;
  _ioctl(_fileno(smodem),  UART_SETSPEED, &lspeed);
 
  _ioctl(_fileno(smodem), HDLC_SETIFNET, NULL);
 
 
And wait, wait, wait, wait...wait...wait......wait......wait.........wait.........wait.....
 
 
 
What's wrong ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.egnite.de/pipermail/en-nut-discussion/attachments/20041029/32f92d30/attachment.html>
    
    
More information about the En-Nut-Discussion
mailing list