I’ve been setting things up and have a (hopefully) quick question. Everything is working so far, however we’re using the following network key ( I received this from our FW dev. Note: I removed values in case they are "secret sauce"):
{0x??,0x??,0x??,0x??,0x??,0x??,0x??,0x??}; // ANT+ Alliance Network Key
When performing ChannelProvider.acquireChannel, the second parameter for the network appears to take one of the predefineds from PredefinedNetwork. So far I’ve been unable to force the network key that I got from the FW dev into here. I’ve seen on the forum a post with the following in it:
PredefinedNetwork.ANT_PLUS
I’ve grepped through the various jar files, I have looked at the jar headers and I have looked inside with a hex editor to see if there is method to stuff this in. I have not found a PredefinedNetwork which includes anything other than ANT_FS, PUBLIC and INVALID. Thus I do not have anything with a PredefinedNetwork.ANT_PLUS, I do not have any call to acquireChannel which allows me to pass the above key.
Is there a different jar file I should be using in libs? Or how would I go about stuffing that key into the acquireChannel call? I cannot do anything further until I can get this resolved unfortunately.
Thanks,
Andy