Skip to content

About

A lightweight, dependency-free Windows CLI tool for Bluetooth file transfer, with basic chat support.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

16 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Win BTComms CLI

A lightweight, dependency-free Windows CLI tool for Bluetooth file transfer, with basic chat support.

Usage

powershell -ep bypass -f .\win_btcomms.ps1 -Mode <paired|scan|send|receive|chathost|chatjoin> [options]

List paired devices

powershell -ep bypass -f .\win_btcomms.ps1 -Mode paired

Live scan for nearby devices

powershell -ep bypass -f .\win_btcomms.ps1 -Mode scan
powershell -ep bypass -f .\win_btcomms.ps1 -Mode scan -ScanSeconds 30
powershell -ep bypass -f .\win_btcomms.ps1 -Mode scan -ScanSeconds 30 -ShowAll

Scan for Bluetooth Low Energy (BLE) advertisements

powershell -ep bypass -f .\win_btcomms.ps1 -Mode blescan
powershell -ep bypass -f .\win_btcomms.ps1 -Mode blescan -ScanSeconds 30

Send a file

powershell -ep bypass -f .\win_btcomms.ps1 -Mode send -FilePath "D:\file.pdf" -DeviceName "MyDevice"
powershell -ep bypass -f .\win_btcomms.ps1 -Mode send -FilePath "D:\file.pdf" -DeviceAddress <HH:HH:HH:HH:HH:HH | HHHHHHHHHHHH>

Receive files

powershell -ep bypass -f .\win_btcomms.ps1 -Mode receive
powershell -ep bypass -f .\win_btcomms.ps1 -Mode receive -SaveDir "D:\Incoming"
powershell -ep bypass -f .\win_btcomms.ps1 -Mode receive -SaveDir "D:\Incoming" -Continuous
powershell -ep bypass -f .\win_btcomms.ps1 -Mode receive -Discoverable

Host a chat

powershell -ep bypass -f .\win_btcomms.ps1 -Mode chathost
powershell -ep bypass -f .\win_btcomms.ps1 -Mode chathost -Nickname "Alice"
powershell -ep bypass -f .\win_btcomms.ps1 -Mode chathost -Nickname "Alice" -Discoverable

Join a chat

powershell -ep bypass -f .\win_btcomms.ps1 -Mode chatjoin -DeviceName "MyDevice"
powershell -ep bypass -f .\win_btcomms.ps1 -Mode chatjoin -DeviceName "MyDevice" -Nickname "Bob"
powershell -ep bypass -f .\win_btcomms.ps1 -Mode chatjoin -DeviceAddress <HH:HH:HH:HH:HH:HH | HHHHHHHHHHHH> -Nickname "Bob"

About

A lightweight, dependency-free Windows CLI tool for Bluetooth file transfer, with basic chat support.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages