Author Topic: No Data coming in.  (Read 55955 times)

printrmd

  • Guest
Re: No Data coming in.
« Reply #15 on: May 24, 2013, 12:52:15 PM »
Hi

i delete the Vcoms  param but it was the same.
but now my COMS are ok and i have problem to create port.
 There is no option to choose which port to create.


[attachment deleted by admin]

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: No Data coming in.
« Reply #16 on: May 24, 2013, 01:15:24 PM »
Hi

It looks you have too many ports and BlueSoleil mixed them up. Unfortunately this is no WCL bug but BlueSoleil bug and the only way to fix it completly delete BS, remove all vCOMs, reset its counter and install BS once again. Just installed BS creates 2 or 3 vCOMs.

"Service not found" means that your device does not have DUN service.

P.S.: On your screenshort I can see two identical ports with number 8 and two COMs with number 3

printrmd

  • Guest
Re: No Data coming in.
« Reply #17 on: May 24, 2013, 01:52:12 PM »
hi

i have two type of Vcom
1.\Device\Serial2 is BlueSoleil port
2. device\VCom11    I delete all the port and after  reboot the comeing  back.
do you know who create than.
and COM3 one is disable.
and "Service not found" i using wcl.wclUUIDs.SerialPortServiceClass_UUID;
 Can i choose what port to open.

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: No Data coming in.
« Reply #18 on: May 24, 2013, 01:57:37 PM »
Hi

As I told you must unpair all devices, uninstall BlueSoleil. Better to remove all USB vCOM device. Delete all vCOMs from system (Device manager). Reset vCOMs counter to initial value. You can set first byt to 03 so vCOMs numeration starts from 3. Then install BlueSoleil.

There is no way to select vCOM to connect to when you use Bluetooth connection.

If you device supports SPP and your code is correct then connection shoudl be established. "Service not found" means that the service you are trying to connect to is not supported by your device.

printrmd

  • Guest
Re: No Data coming in.
« Reply #19 on: May 24, 2013, 02:07:43 PM »
hi.
 I will try one more like you siad.

what is USB vCOM device i have one Dongle  for Bluetooth.

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: No Data coming in.
« Reply #20 on: May 24, 2013, 02:09:24 PM »
USB vCOM -> may be you have USB -> COM cables or something: I do not know what hardware do you have but your screenshot shows that there are too many vCOMs/COMs in your system what is not normal.

If you have TeamViewer I can take a look on your system: there is definetly something wrong.

printrmd

  • Guest
Re: No Data coming in.
« Reply #21 on: May 26, 2013, 09:31:17 PM »
Hi Mike

I found the the driver that create the VCom XPvcom. i uninstall BlueSoleil in my Registry file i have one  com1.
install BlueSoleil back have more two com com3 ,com4 whan i create VirtualPort i have new port com5 rum one more wcl app with SPP create one more Port Com6 (There is no double port.) but If trying to create a com i get message Internal driver error i need to try Number of time to get the created COM.
Is there a way that the error no appear and I will continue to try to create until i get create com

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: No Data coming in.
« Reply #22 on: May 27, 2013, 06:24:18 AM »
All WCL function returns error code. So check this error code and do what you need then.

printrmd

  • Guest
Re: No Data coming in.
« Reply #23 on: May 27, 2013, 06:42:37 PM »
Hi

this a demo app the error is "2" WCL_E_INTERNAL Low-level driver internal error  this is no error in the App and
This happens 80% times not 100%.
when you  test my computer this happened also to you.

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: No Data coming in.
« Reply #24 on: May 28, 2013, 04:08:35 AM »
Quote
Is there a way that the error no appear and I will continue to try to create until i get create com.

while (vCOM.Open() != WCL_E_SUCCESS) {}

By the way, WCL_E_INTERNAL on BlueSoleil usually means that device did not paired

printrmd

  • Guest
Re: No Data coming in.
« Reply #25 on: May 28, 2013, 06:21:54 PM »
Hi

The While loop is not helping  the message appear and i don't have control on the message box and I need to push the OK button. when I create port the message appear  three times in one create way??.
and the device is paired I check before the create.
I must to find a solution the rest of my App depends on that.

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: No Data coming in.
« Reply #26 on: May 29, 2013, 06:12:16 AM »
What message appears?

printrmd

  • Guest
Re: No Data coming in.
« Reply #27 on: May 29, 2013, 07:16:52 AM »
Hi

This message

[attachment deleted by admin]

Offline Mike Petrichenko

  • Bluetooth Framework Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3675
  • Karma: 1000
    • Wireless Communication Libraries
Re: No Data coming in.
« Reply #28 on: May 29, 2013, 07:25:52 AM »
I guess that you did not modify WCL vCOM demo code. So AfterOpen even has wclShowError funtion which generates this message.

printrmd

  • Guest
Re: No Data coming in.
« Reply #29 on: May 29, 2013, 07:35:39 AM »
Hi
I Modify The demo that I only using SPP Without DUP, add I have Static Device Add  GPS receiver.  not using the Discover.
The com.Open()   and the   AfterOpen even is the same

 

Sitemap 1 2 3 4 5 6 7