I'm trying to use the Northbound Notifications sent by the MSE to get real-time statuses of tags and/or clients. I'd like to use the Protocol Buffers option as it is faster and smaller to transmit, but I can't find any examples or documentation that show how to parse out the binary packet that is sent. Does anyone have an example of parsing out Northbound Notifications using Protocol Buffers? Does anyone know where I can find the .proto files that are used to create these notifications?
Thanks in advance.
Please, provide more detail such as version of CMX, an example of the notification subscription requested, and response.
We are on version 126.96.36.199 of the MSE. We are requesting notifications from All Tag Triggers and All Tag Info. We would also like to request notifications from all Wireless Clients as well. The Type would be Streaming, Data Format = Protocol Buffers, Receiver Transport = TCP, Stream Type = Raw Location or RSSI Measurements.
I can get this information using HTTP and XML, but it is too slow and cannot keep up with the amount of messages when I add Wireless Clients.
I have forwarded your questions to the CMX engineering team for advise. Ideally, an API document will be available, so let me ask. I will follow-up soon.
I received feedback from CMX engineering:
Protocol Buffers is why we used to send RAW data from MSE to third party location engines.
We have been depreciating this as we believe that the right way to move forward is with REST API and JSON data structures where CMX plays more of a role.
When you say this cannot keep up with Wireless clients, is this the MSE with a high end CPU ?
MSE 8.0 is at the EOL so it may make sense to focus new development on our goal of moving forward.
That being said, here is a protocol buffer listener, see attached.