i can't create multiple services with the same base uid-128 bit and two service id 16 bit i have created one and its working . this is my code and the error is
i can't create multiple services with the same base uid-128 bit and two service id 16 bit i have created one and its working . this is my code and the error is
Hi,
Could you upload your project here so I can debug it? It’s a bit difficult to navigate the code with the pictures provided.
Best regards,
Vidar
Hi,
Could you upload your project here so I can debug it? It’s a bit difficult to navigate the code with the pictures provided.
Best regards,
Vidar
i have completed it but i have added two uuids in adv_uuids array . ble advertising init returns error code 12 error on data size invalid data size how to solve that
You can’t fit two 128-bit service UUIDs in a single advertisement packet, as the payload is limited to 31 octets. Is there a reason you need to include both?
what are the ways to advertise two services
Please explain what you are trying to achieve and why you need to include two UUIDs in your advertisement. One should normally be enough to differentiate between your device and others. The UUIDs included in the advertisement do not need to reflect the services in your attribute table.