[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bluetooth-dev] Why use the pppd within axis bt stack?



Hi there !

The "bluetooth.c" is include the underside chart.
 
=================================
PPP over bluetooth:

  user app (pppd)
       / \
-------| |------------------
       \ / ttyBT0
   --------------
   | tty | ldisc-> PPP ldisc
-----------------------------------------------
   | tty driver | (bluetooth driver)
   -------------
   |            | <-------        
   |  BT STACK  | <-----  |            ADDED
   |            | <---  | | 
   -------------      | | |
   |   ttyS0    |     V V V
   |       ldisc->  BT ldisc 
-----------------------------------------------
   | tty driver | (serial driver)
   -------------
        / \
--------| |------------------
        \ /
       UART
====================================

Q1) I don't understand, why use the pppd.
      What is the purpose pppd?

Q2) I don't know 'ldisc'. What is it?
      And. What is the purpose 'ldisc'?

Please. help me.
bye.