This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

antplus network key is not working

I'm trying to use separate antplus network key, but I still can receive messages from devices that are configured with another key. Device A was using network key 0,0,0,0,0,0,0,0. Device B has network key set to 1,2,3,4,5,6,7,8 and it can still see messages from device A. Device B runs in scan mode. Is this an expected behavior? I'm also using softdevice 310.

Thanks!

Parents
  • When a network key is set to 1,2,3,4,5,6,7,8 or 0,0,0,0,0,0,0,0, nothing special happens. ANT device still uses default public key (but NOT zeroes), as it doesn't accept any INVALID key. There are public (ANT), managed (ANT+) and private network keys.

    For example antfsmessage.h from thisisant.com has:

    #define NETWORK_KEY                    {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}   // INSERT NETWORK KEY HERE !!!!
    

    but look at comment (and at thisisant.com) for valid keys...

  • I tried to use a custom key, not the same of ANT+ or ANT-FS, but I received the message in any case also if I don't set the choseen key in ANT Ware.

Reply Children
No Data
Related