The example project included in this article shows how to use BLED112 dongle as SPP client, enabling transparent UART communication with an SPP server as described in the following knowledge base article:
# run with "list" option -> list all dongles (check the COM port number) ./SPP_Client.exe list # scan for any BLE devices (scanning will stop after 5 seconds) ./SPP_Client.exe COMx scan # connect to a SPP server ./SPP_Client.exe COMx <BT address>
This program has been tested on Cygwin. It can be built simply by running make. The following screenshot shows example run. Left side is the Cygwin shell where the BLED112 client example is run. Right side is TeraTerm connected to BGM111 development kit, running the BGM111 SPP server example.
I add some services in my C code but the rest is the same, Here all the UUIDs are wrong which I can't find in the code. "compteur" is the right name. My SDK version is 184.108.40.206
Please help me
sorry for the late reply, just came back from summer vacation. Were you able to solve the problem on your own?
Yes, thank you! It works now.
I am having a very low data rate as well while trying to send 12 bytes data over BLE using BLED dongle. My data rate is around 8 samples per second.
I want to have around 100 samples per second? I think interval time is around 100 ms.
Could you tell me please how I can change the interval time in this purpose?
Many Thanks in advance!
@Daniel Sappa yes, technically it is possible (assuming the internal Bluetooth chipset in your notebook supports BLE). However, most of the source code provided in this KB article is NOT reusable for that purpose.
The code example for BLED112 uses BGAPI commands which is a proprietary protocol by Silicon Labs. It is not compatible with Bluetooth chipsets from any other vendors.
@Numan Celik sorry, I have completely missed your question. In general, it's better to start a new thread instead of posting to some old threads that have been inactive for long time. Posting to old threads means it's more likely your question will go under our radar (we get a LOT of new posts all the time)
If you still need help with this please post a new thread.
@Daniel are you specifically looking to benchmark the throughput between BGM121 and the (native) Bluetooth app running on a notebook?
Or, are you more generally looking to measure the throughput between BGM121 and some other device?