Viewer

org.bluetooth.characteristic.http_status_code

Last Modified: 2015-05-18 Approved: Yes

Name: HTTP Status Code

Type: org.bluetooth.characteristic.http_status_codeDownload / View

Assigned Number: 0x2AB8

Abstract:

The HTTP Status Code characteristic contains the Status-Code from the Status-Line of the first line of the HTTP Response Message, followed by one octet indicating the Data Status Bit Field indicating the status of the data received.

Value Fields

Names Field Requirement Format Minimum Value Maximum Value Additional Information
Status Code
Mandatory
uint16 N/A N/A None
Data Status
Mandatory
uint8 N/A N/A
Bit Field
Bit Size Name
Definition
Key Value
0 1 Headers Received
0 The response-header and entity-header fields were not received in the HTTP response or stored in the HTTP Headers characteristic.
1 The response-header and entity-header fields were received in the HTTP response and stored in the HTTP Headers characteristic for the Client to read.
1 1 Headers Truncated
0 Any received response-header and entity-header fields did not exceed 512 octets in length.
1 The response-header and entity-header fields exceeded 512 octets in length and the first 512 octets were saved in the HTTP Headers characteristic.
2 1 Body Received
0 The entity-body field was not received in the HTTP response or stored in the HTTP Entity Body characteristic.
1 The entity-body field was received in the HTTP response and stored in the HTTP Entity Body characteristic for the Client to read.
3 1 Body Truncated
0 Any received entity-body field did not exceed 512 octets in length.
1 The entity-body field exceeded 512 octets in length and the first 512 octets were saved in the HTTP Headers characteristic
4 4 Reserved for future use