Hi,
I need help regards ble advertisement, I need to advertise two different flag values at the same time. If it is possible tell me how
thank you
Hi,
I need help regards ble advertisement, I need to advertise two different flag values at the same time. If it is possible tell me how
thank you
Hi,
Advertising data flags is a set of 1 bit values which is part of the advertising packet. Each packet has one set of those flags, where each flag must be either on or off. You need to decide on one combination of those flags for one advertising packet, as there cannot be two "sets" of these flags. So if that are the flags that you refer to, then no, you cannot have two sets of flags.
Regards,
Terje
Thank you for your reply,
I understood your point. In my case, every two minutes I need to advertise the flag as my temperature value. If the temperature reaches some threshold. I need to show some differences from other values. how can I achieve this? I need your help regards
Regards,
NCK
Hi,
That is not what you use the "Flags" advertising data type for. The "Flags" type is a highly specific integrated part of the specification, and cannot be used to send temperature values.
You can for instance use 0xFF Manufacturer Specific Data, in order to send your custom data. Or, use an existing third party beacon specification.
Regards,
Terje
Hi, tesc
Can you give me a reference to set the manufacture-specific data??
Thank you
Hi, tesc
Can you give me a reference to set the manufacture-specific data??
Thank you
Hi,
Setting up manufacturer specific data in advertisements is exactly what we do in our Bluetooth low energy Advertising, a beginner's tutorial.
Regards,
Terje