cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
568
Views
0
Helpful
4
Replies
Highlighted
Beginner

Northbound Notifications - Google Protocol Buffers

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.

4 REPLIES 4
Frequent Contributor

Re: Northbound Notifications - Google Protocol Buffers

Hi Brian,

Please, provide more detail such as version of CMX, an example of the notification subscription requested, and response.

Thanks,

Matt


Beginner

Re: Northbound Notifications - Google Protocol Buffers

We are on version 8.0.130.0 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.

Frequent Contributor

Re: Northbound Notifications - Google Protocol Buffers

Hi Brian,

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.

Matt

Frequent Contributor

Re: Northbound Notifications - Google Protocol Buffers

Brian,

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.


Matt

CreatePlease to create content
Content for Community-Ad
August's Community Spotlight Awards
This widget could not be displayed.