Aruba Apps

Reply
New Contributor

How to send the AR_ACK packets,the form of AR_ACK?? How to sign the data use HMAC-SHA1???

The AP will start sending AR_AS_Notifications every 10 seconds as a UDP packets until it receives an acknowledgment.  The ack should be in the form of an AR_ACK.  The AR_ACK should be the RTLS header with the same message ID as the notification.  The payload should be empty.  That header will then need to be signed.  Use the entire packet and the shared secret to create the signature that is then appended to the end of the packet.  

Re: How to send the AR_ACK packets,the form of AR_ACK?? How to sign the data use HMAC-SHA1???

New Contributor

Re: How to send the AR_ACK packets,the form of AR_ACK?? How to sign the data use HMAC-SHA1???

Thank you for your reply.

I know this document.

I can receive the AR_AS_Notifications packets,but I do not know how to send AR_ACK packet to AP.Because I do not know the form of data that should be signatured by HMAC-SHA1 . How to creat AR_ACK packet.I had try a lot of methods(program a lot of code)but no one can match the signature created by AP.


Here is the directy copy & pase from documentation "Integrating with the RTLS data feed"
------------------------------------------------------------------------------------------------
my $packet = pack($self->header_pack_str,
$rtls_data{code},
$rtls_data{id},
$rtls_data{major_version},
$rtls_data{minor_version},
length($rtls_data{payload}),
Mercury::Utility::MAC->text2bin($rtls_data{target_mac}),
"\0\0",
-------------------------------------------------------------

Can you tell me what is the content of $self->header_pack_str ??

 

 

Have solved the problem? Can I get your solution?Or you can give me an example about the AR_ACK packet??  Thank you.

 

Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: