EoD Bytes option now available for Soracom Beam TCP to HTTP/HTTPS
A new EoD (End-of-Data) Bytes option is now available for the Soracom Beam TCP to HTTP/HTTPS entry point.
When a device sends data to the TCP to HTTP/HTTPS entry point, Beam converts the data to an HTTP request and sends it to the specified server. Then when a response is received, Beam similarly converts the body of the HTTP response back to a TCP message and returns it to the device. EoD Bytes are added to the end of this response data, which a device can use to determine when the end of the response data.
By default, Soracom Beam appends a LF (line feed) character 0x0a
to the response data.
With this update, you can now change or remove the EoD Bytes sequence. This can be helpful for devices that have trouble recognizing the 0x0a
LF character, or for situations where you want to use a different byte sequence.
The EoD Bytes option can also be combined with the existing Skip status code option which will suppress adding the HTTP status code to the beginning of the response data. With both options enabled, response data will be returned to the device as-is without any modification.
For additional details, please refer to the Soracom Beam: TCP → HTTP/HTTPS Entry Point documentation.