How to add single 128-bit characteristic uuid. It's not based on service uuid.I have tryed the link text ,It's work,but it's something wrong .
I am working on ios ble midi. I'm add service UUID and characteristic UUID follow the Apple Ble Midi develop document like this
If I only add service UUID,I can found my devide by IOS app with support BLE midi. I am continue add characteristic UUID. I cannot found my devide from IOS app.It's my issue.
I am add service UUID from the demo module.I think it's no problem.
I am add characterisc UUID like the follow steps.
first.I'm also use the functionsd_ble_uuid_vs_add(&nus_base_uuid, &p_nus->uuid_type); add the characteric base uuid.
then. Packge all characteristic need data(gatt char, gatt attr,16bit uuid etc..) Call the function sd_ble_gatts_characteristic_add(p_nus->service_handle,
&char_md,
&attr_char_value,
&p_nus->midi_io_handles); Ok,It's done.
Now, I just doubt that I use the same variable "p_nus", It's type of ble_nus_t that contain important variable,like as uuid type ,service_handle,midi_io_handles,connect_handle,data_handle etc.
If only add service uuid, the nrf Master show the "Services Complete List UUID 128:" like this:
It's show the service UUID.
if add characteristic uuid ,the nrf Master show the "Services Complete List UUID 128:" like this:
It's show the characteristic UUID.
Is it correct?
thanks.