You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "halyssonJr (via GitHub)" <gi...@apache.org> on 2023/06/15 12:17:55 UTC

[GitHub] [nuttx] halyssonJr opened a new issue, #9544: Netutils appearance doesn't work

halyssonJr opened a new issue, #9544:
URL: https://github.com/apache/nuttx/issues/9544

   I was testing PPP app and when try to enable network debugging, as shown above, nothing happens. I start investigating that, I remove **ninfo** ( app/netutils/pppd/ppp_config.h) and use **printf**, and works very well.
   
   
   
   
   
   ![image](https://github.com/apache/nuttx/assets/41307385/4e379f88-524b-49b3-bf5e-c8d59fe615fb)
   
   
   
   
   - With printf
   
   ```
   NuttShell (NSH) NuttX-12.0.0
   nsh> pppd &
   pppd [4:100]
   nsh> tun fd:3
   tty fd:4
   ipcp init
   
   AHDLC_TX - transmit frame, protocol 0xc021, length 4 offline 0
   
   0x05 0x01 0x00 0x04 
   
   
   AHDLC_TX - transmit frame, protocol 0xc021, length 4 offline 1
   
   0x05 0x02 0x00 0x04 
   
   chat:  ATZ
   
   chat: OK  
   ```
   - Without printf 
   ```
   NuttShell (NSH) NuttX-12.0.0
   nsh> pppd &
   pppd [4:100]
   nsh> chat:  ATZ
   
   chat: OK 
   chat: cmd 1, arg ON
   
   chat: cmd 4, arg 30
   
   chat:  AT+QACCM=0,0
   
   chat: cmd 2, arg 3
   
   chat: OK AT+CGDCONT=1,"IP","tim.br"
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org