Skip to content

Pass an incrementing count between two Apple devices using BLE. Proof-of-concept.

License

Notifications You must be signed in to change notification settings

robbaltzer/ble-relay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ble-relay

A simple POC app that runs on two Apple devices. A count is passed back and forth between the two devices, incrementing the count on each transfer. This uses BLE support in CoreBluetooth. Will show how Apple devices can be controllers and peripherals.

It also uses SwiftUI for its rudimentary UI.

This POC is for a functionality called Payjoin. Generally Payjoin wallets will be running in peripheral mode, advertising their ability to participate in a payjoin. When a wallet wants to actually initiate a payjoin transaction, the wallet will start running in central mode, looking for peripherals that can join. Once complete, the wallet initiating wallet will go back into peripheral mode (with user consent).

About

Pass an incrementing count between two Apple devices using BLE. Proof-of-concept.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages