Ticket Created
over 3 years ago

CIQQA-454

CIQ apps on EDGE devices can't communicate via ANT PRIVATE channel

EDGE devices can't connect to private ANT channels, because they are not accepting ANT network key. 

deviceConfig = new Ant.DeviceConfig({
:networkKey64Bit => [0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX, 0xXX],
:deviceNumber => 0,
:deviceType => 1,
:transmissionType => 5,
:messagePeriod => 8198,
:radioFrequency => 57,
:searchTimeoutLowPriority => 10,
:searchThreshold => 0
});

GenericChannel.initialize(method(:onMessage), new Ant.ChannelAssignment(Ant.CHANNEL_TYPE_RX_ONLY, Ant.NETWORK_PRIVATE));
GenericChannel.setDeviceConfig(deviceConfig)


I deleted private key on purpose from the code above and sent it via mail as I don't think it should be communicate publicly. This ANT deviceConfig (with the right key) run fine on Garmin watch devices or even on simulator of EDGE devices (win 10 +eclipse 2021-06 + CIQ SDK 4.0.3), but not on actual EDGE devices (tested 1000, 830), where it throws this error.

Error: System Error
Details: 'No network key given, the ANT Private network requires a valid network key'
Time: 2021-03-14T13:21:10Z
Part-Number: 006-B3122-00
Firmware-Version: '7.10'
Language-Code: deu
ConnectIQ-Version: 3.2.5
Filename: Ant
Appname: Generic ANT
Stack:
...

Strangely on Edge 830 it force app to crash, while on Edge 1000, the app will remain to run, but do not open channel.

Original thread: https://forums.garmin.com/developer/connect-iq/f/discussion/257390/establishing-an-ant-connection-with-the-shimano-di2-groupset/1278137

Parents
  • Correct answer! Thank you, that really helped! I wondered why there is this 128bit option. It would be again much easier if this info will be written in the documentation. 

    So I think this bug report can be closed or updated for just fill missing info on the documentation.


Comment
  • Correct answer! Thank you, that really helped! I wondered why there is this 128bit option. It would be again much easier if this info will be written in the documentation. 

    So I think this bug report can be closed or updated for just fill missing info on the documentation.


Children