我想知道用vb可唔可以利用插了在電腦上的usb dongle與藍芽模組(bluetooth module)連線及配對嗎? 有人可以解答我嗎? 謝謝你們

解决方案 »

  1.   

    LZ:你为此问题共发了4贴:
    其它3贴:http://topic.csdn.net/u/20090102/14/48e53167-14b7-4cff-b479-332d6ae766a5.html
           http://topic.csdn.net/u/20090121/00/77e90fff-4115-4665-a9b5-02196275f72b.html
           http://topic.csdn.net/u/20081228/15/b2df62d6-84af-454c-8290-a8b8ef3b4840.html
    建议LZ详细叙述usb dongle與藍芽模組(bluetooth module)通信协议,这样才能帮助你.
      

  2.   

    LZ:你为此问题共发了4贴:
    其它3贴:http://topic.csdn.net/u/20090102/14/48e53167-14b7-4cff-b479-332d6ae766a5.html
           http://topic.csdn.net/u/20090121/00/77e90fff-4115-4665-a9b5-02196275f72b.html
           http://topic.csdn.net/u/20081228/15/b2df62d6-84af-454c-8290-a8b8ef3b4840.html
    建议LZ详细叙述usb dongle與藍芽模組(bluetooth module)通信协议,这样才能帮助你.
      

  3.   

    VB没有和蓝牙相关的语法
    蓝牙栈每个公司都可以自己写的,微软在Vista里面加了个通用的,不过不是很多公司支持。你得先知道你的蓝牙栈是什么公司的,再看这种蓝牙栈有什么API。
      

  4.   

    不好意思,我不太明白
    蓝牙栈是什么公司的-->bluetooth stack會有什麼公司的? 可不可以舉例子給我,謝謝而我正在用的usb dongle是來自cyber-blue-->USB Adapter (Class 1 up to 100M (328 ft.)Range)Windows Vista ready
    而我可以用BlueSoleil這個driver可以教下我嗎? 各高手
      

  5.   

    那就是BlueSoleil的栈,和微软的不一样。要找开发接口的话得去联系BlueSoleil的开发商。
      

  6.   

    找开发接口的话得去联系BlueSoleil的开发商??那麼與我正在做的東西有什麼關係?我不太明白,可否解釋給我???另外
    讓我再說清楚我的情況吧-->
    其實我vb程式是這樣的
    Private Sub Form_Load()
    MSComm1.CommPort = 4 'usb dongle
    MSComm1.Settings = "115200,N,8,1"
    MSComm1.PortOpen = True
    End SubPrivate Sub Command1_Click()
    MSComm1.Output = Chr(Asc("1"))
    End SubPrivate Sub Command2_Click()
    MSComm1.Output = Chr(Asc("2"))
    End SubPrivate Sub Command3_Click()
    MSComm1.Output = Chr(Asc("3"))
    End SubPrivate Sub Command4_Click()
    MSComm1.Output = Chr(Asc("8"))
    End SubPrivate Sub Command5_Click()
    MSComm1.Output = Chr(Asc("9"))
    End Sub
    但是usb dongle要與藍芽模組用BlueSoleil或其他先行配對,才可用以上的程式,所以我想vb程式在run了後,自動與特定的藍牙模組進行連線,這樣可以嗎???????????????????????????????????????????????????????????????????????????????????????????????????
      

  7.   

    但是我應該怎樣联系BlueSoleil的开发商?????email?
    phone?
      

  8.   

    But BlueSoleil is only a driver ,not the bluetooth modules. Is there any relationship between VB and BlueSoleil(驅動程式)???The bluetooth modules is Blue Core-->
    是不是我解釋不太清楚呢???