You are here: Forum Home → ANT+ Forums → ANT+ Fitness Equipment → Thread
var msg = new byte[8]{0x31, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 240, 0};
var response = antMgr.deviceList[0].connectedChannel.sendAcknowledgedData(msg, 500);
MessagingReturnCode: pass
responseID: RESPONSE_EVENT_0x40
EventID: EVENT_TRANSFER_TX_COMPLETED_0x05
var responseCommandStatus = antMgr.deviceList[0].connectedChannel.sendAcknowledgedData(new byte[1] {70}, 500);
Ian Haigh
var ackResponse = myConnectedChannel.sendAcknowledgedData(
new byte[8] { 70, 0xFF, 0xFF, 0xFF, 0xFF, 3, 71, 1 }, 500);
When you send page 70, you must send an 8 byte page formatted as defined in the document "ANT+ Common Pages" section 6.2. It looks like you are only sending a 1 byte array into sendAcknowledgedData, which may cause it to ignore the input since this is not a valid input for an ant acknowledged data message or may cause junk data for the remainder of the bytes.
Format should be including the page number requested (71), as a broadcast page, and usually request more than once response in case there are rf issues.
Ian Haigh