How to define four different 128 bit uuid service characteristic? write and read operations on 128 bit uuid
please give me some examples operations on 128bit uuid in python
How to define four different 128 bit uuid service characteristic? write and read operations on 128 bit uuid
please give me some examples operations on 128bit uuid in python
I tried as per your suggestions but i got error
pc_ble_driver_py.exceptions.NordicSemiException: CCCD not found
I defined as
ACtual 128 bit UUID is :
0x80, 0x82, 0xca, 0xa8, 0x41, 0xa6, 0x40, 0x21, 0x91, 0xc6, 0x56, 0xf9, 0xb9, 0x54, 0xcc, 0x34]
SUOTA_MEMD_UUID = BLEUUIDBase(
[0x80, 0x82, 0x00, 0x00, 0x41, 0xa6, 0x40, 0x21, 0x91, 0xc6, 0x56, 0xf9, 0xb9, 0x54, 0xcc, 0x34])
NUS_SUOTA_MEMD_UUID = BLEUUID(0xcaa8, SUOTA_MEMD_UUID)
and added as
self.adapter.driver.ble_vs_uuid_add(SUOTA_MEMD_UUID) in open function
self.adapter.enable_notification(conn_handle = new_conn, uuid = NUS_SUOTA_MEMD_UUID)
in
def connect_and_discover(self)
i got error CCCD not found This char is only Read and write attributes only
please support how to read and write operations on ACtual 128 bit UUID .
I tried as per your suggestions but i got error
pc_ble_driver_py.exceptions.NordicSemiException: CCCD not found
I defined as
ACtual 128 bit UUID is :
0x80, 0x82, 0xca, 0xa8, 0x41, 0xa6, 0x40, 0x21, 0x91, 0xc6, 0x56, 0xf9, 0xb9, 0x54, 0xcc, 0x34]
SUOTA_MEMD_UUID = BLEUUIDBase(
[0x80, 0x82, 0x00, 0x00, 0x41, 0xa6, 0x40, 0x21, 0x91, 0xc6, 0x56, 0xf9, 0xb9, 0x54, 0xcc, 0x34])
NUS_SUOTA_MEMD_UUID = BLEUUID(0xcaa8, SUOTA_MEMD_UUID)
and added as
self.adapter.driver.ble_vs_uuid_add(SUOTA_MEMD_UUID) in open function
self.adapter.enable_notification(conn_handle = new_conn, uuid = NUS_SUOTA_MEMD_UUID)
in
def connect_and_discover(self)
i got error CCCD not found This char is only Read and write attributes only
please support how to read and write operations on ACtual 128 bit UUID .