NimBLE-Client Creating a Vector of Services/Characteristics help

Good morning everyone. I am experimenting with NimBLE-Client and trying to create a vector of Services/Characteristics. It doesn't seem to produce anything.

Is there a reason this isn't printing out?

    auto servicesVector = pClient->getServices();
     std::vector<NimBLERemoteService*> ::iterator itr;
      cout << "vector v1 elements are: ";
     for (itr=servicesVector->begin(); itr!=servicesVector->end(); itr++)
        cout << *itr << " ";
        cout << endl;

Thanks!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.