Hi
I’ve downloaded nRF5_SDK_11.0.0_89a8197 and starting with examples from \examples\ble_peripheral\???\pca10040\s132\arm5_no_packs\
I'm writing an application to be running on BLE.
the other "side" is an BLE application running on a cellphone.
the situation is:
In a given location there might be 1-20 BLE devices .all of them would be seen by the cellphone application.
each of my BLE devices has a different TYPE (say up to 10 types ).
the TYPE of a given device might change (not very often) .
the cellphone application "would like" to search all devices ,sort only my devices, show a list of them, each with an icon. the icon is the TYPE of the device.
my suggestion to the cellphone app guys was to use appearance.
every time my TYPE changes- I'll use sd_ble_gap_appearance_set to change it.
their complaint is that in order for them to know all TYPES, they need to READ the appearance characteristic for each of my devices, and that would take them too long.
they suggest to have a service that its uuid will be a function of the device's TYPE.
in that way- I'll will have a (say empty) service that its uuid will a function of the TYPE.
all that's needed from them is to scan services , sort those that belong to me , and understand (from the uuid ) their TYPES.AVOIDING the need to actually preform a READ into these services (characteristics).
the thing is- I don't see a function for service delete,characteristic delete, change of uuid foe service/characteristic.
How can I solve this?
Thanks
Yona