101 NN writing NN category returned is not noMatch (0x7FFF), it is (0xFFFF)

When using this code from the examples

Intel_PMT::neuronData neuronData;
int count = 1;
while (uint16_t nCount = CuriePME.iterateNeuronsToSave(neuronData))
{
// iterate over the network and save the data.

if (nCount == CuriePME.noMatch)
{
Serial.print("Hit 0x7FFF");
break;
}
else

The nCount that comes back when the committed nodes are finished (ie I have 10 committed nodes, on node 11 iteration on the above), the noMatch constant of 0x7FFF never gets hit, the number that comes back for category/context etc is 65535 (0xFFFF).

Finished Saving Cat Neuron:65535
Saving node#:406 NN cat #65535Saved this info from iterate func in lib for cat :
65535
context:65535 influence:65535 minInfluence:2 category:65535
Vector:255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255

Marcus

Hi @marcusobrien, I'll look into it.
FYI, if you could post issues like this (defects in the code) on the Github repo, I'd appreciate it :slight_smile: