07 — PIPs · PIP-0032
Proximity profile: Air
The Air channel of PATH PROXIMITY, between nearby devices over Bluetooth Low Energy or Wi-Fi Aware. The presenter advertises an ephemeral identifier and nothing else, the reader sends a nonce and receives the link of a token issued for it, and both devices show the same six-digit code before the payer confirms.
- Number
- PIP-0032
- Status
- draft
- Type
- Interface
- Author
- PATH
- Date
- 2026-11-26
- Source
- On the register
Why
Two people pay each other phone to phone without scanning or touching; a payer pays a till across a counter. Bluetooth Low Energy and Wi-Fi Aware reach several metres and several devices at once. The reader must choose one presenter among those in reach, and the payer must know it chose the one in front of it. PIP-0029 defines the token, the binding, the screen the payer confirms and the receipt. This PIP is the profile of the Air channel: discovery, the exchange, and a confirmation code shown on both devices.
The profile
| Item | Air |
|---|---|
| Channel | `air` |
| Carriage | Bluetooth Low Energy (advertising, then a GATT service), or Wi-Fi Aware (publish, subscribe and follow-up messages) |
| Roles | The presenter advertises: a till, the payee's phone. The reader discovers and connects: the payer's phone |
| Presence | `exchanged` |
| Lifetimes | A token expires at most 120 seconds after `issued_at`. One token per exchange |
| Reading | Discovery, the exchange, then the reading algorithm of PATH INTEROP |
| Confirmation | The floor and the in-person line of PIP-0029, and the confirmation code |
| Exclusions | Below |
| Conformance | `PATH-PROXIMITY.Air` |
Discovery
- The presenter advertises the PATH proximity service, with an ephemeral identifier of 8 bytes as its service data.
- The ephemeral identifier is drawn at random. The presenter replaces it at least every 10 minutes, and after each binding.
- Nothing advertised names the payee, its member, its alias, the amount or
station. The device name the presenter advertises carries none of them. - The reader lists the presenters in reach. The payer picks one. The payee's verified name and the confirmation code, shown after the exchange, confirm the choice.
The exchange over Bluetooth Low Energy
| Element | UUID | Properties | Value |
|---|---|---|---|
| Service | `8705de7a-32f6-4a9f-b5c4-2f6e8ba3848f` | Advertised with its service data | The ephemeral identifier, 8 bytes |
| Nonce | `8705de7b-32f6-4a9f-b5c4-2f6e8ba3848f` | Write | `reader_nonce`, 16 bytes |
| Link | `8705de7c-32f6-4a9f-b5c4-2f6e8ba3848f` | Read, notify | The PATH link of a token issued for that nonce, UTF-8 |
- The reader connects and writes a new
reader_nonceto Nonce. - The presenter asks the payee's member for a token with
channel: "air"andpresence: { "mode": "exchanged", "reader_nonce": … }, and sets Link to that token's link. - The reader reads Link, or receives it by notification, and disconnects.
The two devices do not pair and keep no key of each other after the exchange.
The exchange over Wi-Fi Aware
- The presenter publishes the service
path-proximity, with the ephemeral identifier as its service-specific information. - The reader subscribes, and sends a new
reader_noncein a follow-up message. - The presenter answers the link of a token issued for that nonce in a follow-up message.
The confirmation code
Both devices compute a six-digit code from the token's reference and reader_nonce:
digest = SHA-256( reference "\n" reader_nonce )
code = ( first 4 bytes of digest, unsigned big-endian ) mod 1000000, written with six digitsWith reference px7m2k9q4v8z3n and reader_nonce 3f9c2a71b8e4d605a1c7e93b2d4f6a80, the code is 886504.
- The presenter shows the code as soon as it has answered the link.
- The wallet shows the code on the confirmation screen, beside the payee's verified name, and asks the payer to check that the presenter shows the same.
- The payer confirms only when the two codes are the same. The code is not sent on the channel and not stored.
- When the payer reports that the codes differ, the wallet does not bind, and offers to start again.
Between two people
The payee's phone presents and the payer's phone reads. The exchange is the same. The payee's phone shows the code, then the bound state and the outcome of the payment.
Exclusions
- The reader sends the presenter
reader_nonceand nothing else: no identifier of the payer, of its member, of its account or of its device. - The presenter sends the link and nothing else.
- No name, alias, member, amount or
stationin anything advertised.
Rows that do not translate
| PIP-0029 | Air |
|---|---|
| `presence.mode: "shown"` | Not offered. Every token is issued for a reader's nonce |
| Distance | Radio reach is several metres and covers several devices. The confirmation code ties the payer's choice to the presenter it sees. No object states a distance |
Conformance
| Profile | Requires |
|---|---|
| `PATH-PROXIMITY.Air` | Presenter: the service and its two characteristics, or the Wi-Fi Aware service, an ephemeral identifier replaced as above, one token per nonce, the code shown. Reader: a new nonce per exchange, the nonce checked in the token, the code shown on the confirmation screen, nothing else sent |
Declared with PATH-PROXIMITY.Core (PIP-0029).
Compatibility
Additive. No existing object changes.