How to disable UART service? #4261
Replies: 1 comment
-
Posted at 2024-01-02 by @gfwilliams You need
The UART service is advertised in the scan response packet, so you can also remove it by setting Posted at 2024-01-03 by DanDyse Thank you @gfwilliams: works! Posted at 2024-01-05 by DanDyse Me again ... I am trying to add some services to let my puck look like an AirTag, without actually implementing the function behind them. I have set one like this:
Works okay, the UUID gets displayed when I scan around. But I probably need to add three more and tried this:
This doesn't seem to work, the device will not show up anymore ... what am I doing wrong? I am also setting a custom advertisement, maybe these collide??
Posted at 2024-01-08 by @gfwilliams Each custom UUID is 128 bits (16 bytes, plus the 2 byte header) so you can't fit all 3 into the ~20 byte scan response (which is the default). However, you could put them into different advertising packets and alternate between them (you're already alternating between your custom one, and the default which is specified with So:
Posted at 2024-01-09 by DanDyse Of course, thank you very much! |
Beta Was this translation helpful? Give feedback.
-
Posted at 2023-12-28 by DanDyse
I am using a puck.js to advertise like an AirTag working good:
Somehow it also "offers" the service "Nordic UART", although it is not connectable and I also do not use DFU. I have tried to disable this by adding "uart:false" to the options list – no change.
How can I disable NUS?
Beta Was this translation helpful? Give feedback.
All reactions