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

[bluetooth-dev] about CRIS



hi
  all
  i can not understand this:
  #ifdef __CRIS__
#define DEFAULT_PHYS_DEV "/dev/ttyBT"
#define DEFAULT_SPEED "460800"
#else
#define DEFAULT_PHYS_DEV "/dev/ttyS0"
#define DEFAULT_SPEED "115200"
i think /dev/ttyBT
is the driver over the btstack
it's line discipline is ppp
/dev/ttyS0 is the drivew under the btstack
it's line discipline is bt line discipline
but ,for this definition
in OPENBT\apps\bluetooth\experimental\btd.c
phys_fd = open(physdev, O_RDWR | O_NOCTTY))
if define CRIS physdev=/dev/ttyBT
and set_bt_line_disc(phys_fd, bt_disc, physdev)
this set the bt line discipline on /dev/ttyBT
why?
i think the bt line discipline must set on /dev/ttyS0
OR /dev/ttyS1
please help me
thanks all
                                           arista


----------------------------------------------
玩蜘蛛侠游戏,日日送大奖,每天头奖爱立信T68手机 
http://sms.21cn.com/game_a04.jsp 
手机号码占卜你的财运,免费试用 
http://sms.21cn.com/game_mc001.jsp 
多款机型图片铃声,引领手机潮流 
http://211.147.1.182/21CN/modules/pic/ 
收费邮箱五包承诺:包退包换包满意 厚礼双包送大奖 
http://mail.21cn.com/5bao/5bao2.html 


-
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com