hi all:
I want use nrf51822 to connect the some other sensor such as 90fity intelligent basketball, and discovery the service, and notify the character.
but the data struct for service and character is defined as follow:
typedef struct
{
ble_uuid_t srv_uuid;
uint8_t char_count;
ble_db_discovery_char_t charateristics[BLE_DB_DISCOVERY_MAX_CHAR_PER_SRV];
ble_gattc_handle_range_t handle_range;
} ble_db_discovery_srv_t;
typedef struct
{
ble_uuid_t uuid;
ble_gatt_char_props_t char_props;
uint8_t char_ext_props : 1;
uint16_t handle_decl;
uint16_t handle_value;
} ble_gattc_char_t;
So, I can only get the uuid with the type of ble_uuid_t, it only return the 16-bit UUID value or octets 12-13 of 128-bit UUID, but I want to get the whole 128bit of the uuid. What Can I do??
Thanks a lot! Best Regards!