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:

SPP-over-BLE BGScript example for BGM111


Example usage



# 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.







  • Knowledge Base Articles
  • Bluetooth Low Energy
  • Bluetooth Classic
  • Q1.PNG


    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

    Please help me



  •  Hello @finalfantacypro


    sorry for the late reply, just came back from summer vacation. Were you able to solve the problem on your own?

  • Hello,

    Yes, thank you! It works now.