Protocol Buffers

Protocol buffers are an efficient way to store binary data in such a way that the receiver knows the type of each element – without the overheads of using something self-describing like XML. We are using them to send the data from our “smart sensors” to the sensor node (over the rs485 serial link), store them onboard, send them to the server where they are unpacked into the database.