Recent Posts

Pages: [1] 2 3 ... 10
1
Bluetooth Framework / Bluetooth Framework 7.7.6.0 has been released
« Last post by Mike Petrichenko on October 21, 2019, 01:53:25 AM »
What's new:

* GATT Client: write null (empty) value to characteristics;
* GATT Client: read null (empty) values from characteristics;
* GATT Client: characteristic change notification with null (empty) value.

https://www.btframework.com/bluetoothframework.htm

2
WiFi Framework / Re: Select channel for CwclWiFiSoftAP
« Last post by Mike Petrichenko on October 14, 2019, 11:09:45 AM »
Hi,

Unfortunately no, it is not possible on AP side. On clients side you can see the channel (frequency) during networks enumeration (scanning).
3
WiFi Framework / Select channel for CwclWiFiSoftAP
« Last post by rasmus.debitsch@faro.com on October 14, 2019, 09:23:51 AM »
Hello,

I'm using the CwclWiFiSoftAP to create an access point. Is it possible to select and query the channel using wcl functions?

Thanks,
Rasmus
4
Bluetooth Framework / Lego WeDo 2.0 Education Framework
« Last post by Mike Petrichenko on October 14, 2019, 06:14:00 AM »
This WeDo 2.0 Education Framework expands Bluetooth Framework with Lego WeDo 2.0 Education support.

You can download it by this link: https://github.com/btframework/WeDo

License Terms

This project is free for education purpose only. It can be used with free of charge for any education purposes: at home, in schools or in other education organizations.

All other terms and conditions except the usage for education are described in the [ur=https://www.btframework.com/eula.html]Wireless Communication Library EULA[/url].

You can not modify the We Do Framework source code. You can not distribute the We Do Framework source code with your projects or by any other way. If your project was created during education process and you want to distribute it you must distribute it with the We Do Framework assemblies and with links to this GitHub We Do Framework project page. Your project must be distributed as Open Source.

For any other usage of the We Do Framework refer to the Wireless Communication Library EULA.

More details

More details by this link: https://github.com/btframework/WeDo
5
Bluetooth Framework / Re: How does the OnDiscoveringCompleted event work?
« Last post by Mike Petrichenko on October 07, 2019, 10:20:31 AM »
Hi,

The discovering timeout is not exactly how long Bluetooth driver will discovers for devices. It is just a recomendation for driver. Unfortunately I do not know internal driver's algorithm how it is used there. Usualy discoveing may take longer time that specified. It is because Bluetooth Framework also does some things internally. For example, on Win 7 there is no way to discover only new devices (with MS drivers). Windows 7 always returns paired devices during discovering even they are not availbale. So Bluetooth Framework does additional checks for such devices and it takes time.

However if discovering takes less time then specified then it usually mean that all devices were found and driver decided that there is nothing no new devices,
6
Bluetooth Framework / How does the OnDiscoveringCompleted event work?
« Last post by Mond089 on October 07, 2019, 09:14:27 AM »
Hi all,
I'm opening this topic because I'm not sure how the OnDiscoveringCompled event works.

I'm trying to discover all the BT devices around my workstation, so, after opening the communication, I call the method:
Code: [Select]
radio.Discover(Convert.ToByte(timeout.ToString()), wclBluetoothDiscoverKind.dkClassic);

where timeout is equal to 48 (I read that it's the maximun timeout allowed on Windows).

So I'm expecting that the OnDiscoveringCompled  event would be triggered after 48s but sometimes that happens after just 15-20s. So, I'm not able to find the devices I'm searching for.


Any help will be appreciate so much. Thank you.
7
Bluetooth Framework / Bluetooth Framework 7.7.5.0 has been released
« Last post by Mike Petrichenko on October 07, 2019, 08:36:11 AM »
What's new:

* Fixed bug with Bluetooth radio state switching in console applications.

https://www.btframework.com/bluetoothframework.htm

8
WiFi Framework / WiFi Framework 7.6.14.0 has been released
« Last post by Mike Petrichenko on October 03, 2019, 05:15:32 PM »
What's new

* C++ Edition: VS 2019 support;
* New error code WCL_E_WIFI_ONE_OF_MORE_BSS_IS_INVALID;
* New Connect() function that allows to connect to BSS list;
* Connect to BSS list.

https://www.btframework.com/wififramework.htm
9
Bluetooth Framework / Re: How to identify devices disconnected
« Last post by Mike Petrichenko on September 24, 2019, 06:24:19 AM »
Hi,

Bluetooth Framework itself does not show any error messages. So check the application codeand remove ShowMessage (or MessageBo.xShow).
10
Bluetooth Framework / Re: How to identify devices disconnected
« Last post by chicosaf on September 24, 2019, 03:30:34 AM »
Hi Mike, thanks for the answer.

   Wait to the timeout it's not an issue. I can do that. The problem is, after i disconnect the device, the application starts to show an error popup with the error code "0x00050015". What i should do to not show the popup, i could not figure out where it's throwing that message.

    I have a timer to read the device data from time to time, but it not seems to be there. I'm check if the device it is connected before everything and also have a try/catch to prevent all possible exceptions.

    Let me know if you need more information.
Pages: [1] 2 3 ... 10