2.2.1.3.4 The Proximity Result Message

The proximity result message contains three sections:

Header: Contains the protocol version supported by the transmitter and the message type. The protocol version MUST be 0x03. The message type for proximity result messages is 0x06.

Session ID: Contains the session ID. The transmitter MUST send the same 128-bit session ID that it sent to the receiver in the registration response message.

Result: A 16-bit integer. The Result field is a 16-bit integer and indicates the result of the proximity detection. If the proximity detection procedure was a success, then the Result field MUST be set to 0x0000. If it was a failure, then the Result field MUST be set to error code 106 (Unable to Verify Proximity). The complete list of error codes is defined in section 2.3.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

ProtocolVersion

MessageType

SessionID (16 bytes)

...

...

...

Result

ProtocolVersion (1 byte): Contains the protocol version supported by the transmitter. The protocol version MUST be 3.

MessageType (1 byte): Contains the message type. The message type for proximity result messages is 6.

SessionID (16 bytes): Contains the session ID. The receiver MUST send the same 128-bit session ID that was passed to it in the registration response message.

Result (2 bytes): A 16-bit integer. Indicates the result of the proximity detection. If the proximity detection procedure was a success, then the Result field MUST be set to 0x0000. If it was a failure, then the Result field MUST be set to error code 0x06a (Unable to Verify Proximity). The complete list of error codes is defined in section 2.3.