first of all I need to say that I´m not a pro in .NET programming - so I need some help on using BT Tools with VB .NET 2005:
1.) When discovering devices with the MS stack I seem not to get the device names on first discovery. I´m using DiscoverDevicesAsync to find devices and store them in a variable field (not e.g. a drop down or similar). How can I get the device name using autodiscovery as the stack only seems to provide the full name on second discovery? As the device is already known without a name it does not trigger the device found event on the second run. I have to start and stop my application.
2.) I know I need to do a service discovery with the ObjectPush service ID as argument, in order to get a stream I can use for pushing something to a device.
How can I know the ObjectPush service ID for a device? Is the ID a constant value across all devices? I thought I have to do a service discovery in order to retrieve the service ID of the ObjectPush service.
If anyhow possible I would try to avoid to have to do a service discovery before pushing to a device (I would not mind if the push fails because the device does not support that service). I "know" the device address, etc. from a previous discovery (see above).
Would be great if you could help a VB .NET newbie on this - thanks in advance - MacSass