So I have a Arduino Nano 33 IOT (ArduinoBLE libary) and I have it setup with 11 services with between 2 and 10 characteristics each. I am trying to update the values using a react web app with chrome bluetooth api (Web Bluetooth Samples). I am not sure which side I am having an issue with so trying to get support from both groups of people.
This bluetooth api seems to only connect to services that are listed as primary services. When I use getPrimaryServices(), I only see 2 of my custom services listed. Is there some command on the arduino that will let me set them all to be primary services?
The example code here can reproduce my problem of only listing 2 services-(Example)
However if I use the app BLE Scanner on my android phone, I am able to see all services and characteristics and they are all listed as Primary Services. And I can use that to update each value as expected.