halyssonJr opened a new pull request, #3187:
URL: https://github.com/apache/nuttx-apps/pull/3187

   *Note: Please adhere to [Contributing 
Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md).*
   
   ## Summary
   
   The PR aims to add support for the CMUX Protocol used in cellular modems. 
This net utils use a pseudo-terminal to communicate directly to each virtual 
channel created, e.g, channel 1 is `/dev/pts/1`.
   
   ## Impact
   
   None,
   
   ## Testing
   
   This service was tested using the pppd example.
   
   ```
   Jun  8 2016 00:22:57
   
   rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
   configsip: 0, SPIWP:0xee
   clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
   mode:DIO, clock div:2
   load:0x3ffb3b30,len:2868
   load:0x40080000,len:22464
   entry 0x40082634
   *** Booting NuttX ***
   dram: lma 0x00001020 vma 0x3ffb3b30 len 0xb34    (2868)
   iram: lma 0x00001b5c vma 0x40080000 len 0x57c0   (22464)
   padd: lma 0x00007328 vma 0x00000000 len 0x8cd0   (36048)
   imap: lma 0x00010000 vma 0x400e0000 len 0x1c3d0  (115664)
   padd: lma 0x0002c3d8 vma 0x00000000 len 0x3c20   (15392)
   dmap: lma 0x00030000 vma 0x3f410000 len 0x3bc4   (15300)
   total segments stored 6
   
   NuttShell (NSH) NuttX-12.10.0
   nsh> cmux
   ATE0
   OK
   
   OK
   
   OK
   
   OK
   chat:  ATZ
   
   chat: OK 
   
   
   OK
   
   chat: cmd 1, arg ON
   
   chat: cmd 4, arg 30
   
   chat:  AT+CGDCONT=1,"IP","teal"
   
   chat: OK ATD*99***1#
   
   AT+CGDCONT=1,"IP","teal"
   
   
   OK
   
   chat: CONNECT 
   ATD*99***1#
   
   
   CONNECT 150000000
   
   
   ```


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to