Soracom Product Updates logo

Product Updates

Soracom is IoT connectivity with powerful APIs that enable you to build world class applications

Subscribe to Updates
  • Japanese 日本語

Labels

  • All Posts
  • Feature
  • Improvements
  • Devices
  • Announcement
  • Beta
  • Deprecation
  • End of Support

Jump to Month

  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
Feature
a year ago

Binary Parser now supports MessagePack format

We are excited to announce that Binary Parser, a feature for Soracom Air devices that converts binary data into JSON, now supports MessagePack (hereafter MsgPack).

In many applications, a device may be configured to send data to a server or to the cloud using JSON format, often for compatibility with cloud services or simply to make the data easier to work with. However, sending data using JSON results in relatively high data usage due to JSON syntax requirements. MsgPack is a binary serialization format which allows a device to easily compress JSON data before it is sent, effectively reducing data usage.

Once data has been compressed and sent, it needs to be converted back to its original format so that a server or cloud service can understand it. With this update, you can now configure Binary Parser to convert MsgPack-compressed data back to JSON by simply entering @msgpack in the Binary Parser format setting. From there, the original JSON data can be sent to Soracom Harvest for storage and data visualization, or to Soracom Beam, Funnel, or Funk in order to forward the data to a server or a cloud service.

Since Binary Parser's conversion occurs after the data arrives at Soracom, cellular data usage can be reduced considerably.

Note: In order for Binary Parser to convert data, your device must be configured to send data to Unified Endpoint unified.soracom.io, or to the corresponding endpoint for Soracom Beam, Funnel, Funk, or Harvest. Data that is sent directly to a server or a cloud service will not be modified by Binary Parser.

MsgPack is available in more than 50 programming languages across many libraries, making it easy to implement in a wide variety of devices. For more information, refer to the official MessagePack site.

Custom Binary Parser formats can still be defined for bit-by-bit data conversion.