BLE UUID记录

// Simple Profile Service UUID
#define SIMPLEPROFILE_SERV_UUID               0xFFF0
    
// Key Pressed UUID
#define SIMPLEPROFILE_CHAR1_UUID            0xFFF1
#define SIMPLEPROFILE_CHAR2_UUID            0xFFF2
#define SIMPLEPROFILE_CHAR3_UUID            0xFFF3
#define SIMPLEPROFILE_CHAR4_UUID            0xFFF4
#define SIMPLEPROFILE_CHAR5_UUID            0xFFF5



// Device Information Service UUIDs
#define DEVINFO_SERV_UUID                 0x180A    // Service UUID
#define DEVINFO_SYSTEM_ID_UUID            0x2A23    // System ID
#define DEVINFO_MODEL_NUMBER_UUID         0x2A24    // Model Number String
#define DEVINFO_SERIAL_NUMBER_UUID        0x2A25    // Serial Number String
#define DEVINFO_FIRMWARE_REV_UUID         0x2A26    // Firmware Revision String
#define DEVINFO_HARDWARE_REV_UUID         0x2A27    // Hardware Revision String
#define DEVINFO_SOFTWARE_REV_UUID         0x2A28    // Software Revision String
#define DEVINFO_MANUFACTURER_NAME_UUID    0x2A29    // Manufacturer Name String
#define DEVINFO_11073_CERT_DATA_UUID      0x2A2A    // IEEE 11073-20601 Regulatory Certification Data List
#define DEVINFO_PNP_ID_UUID               0x2A50    // PnP ID


在CC2541写的简单例程里,看到UUID,

在iOS开发中又需要用到,所以查询了下蓝牙官网内容,贴在下图:


https://developer.bluetooth.org/gatt/services/Pages/ServicesHome.aspx

Services

Services are collections of characteristics and relationships to other services that encapsulate the behavior of part of a device.

The material contained on this page is informative only. Authoritative compliance information is contained in the applicable Bluetooth specification .

Single XML Download

SpecificationType
SpecificationLevel
Alert Notification Service org.bluetooth.service.alert_notification 0x1811 Adopted
Battery Service org.bluetooth.service.battery_service 0x180F Adopted
Blood Pressure org.bluetooth.service.blood_pressure 0x1810 Adopted
Body Composition org.bluetooth.service.body_composition 0x181B Adopted
Bond Management org.bluetooth.service.bond_management 0x181E Adopted
Continuous Glucose Monitoring org.bluetooth.service.continuous_glucose_monitoring 0x181F Adopted
Current Time Service org.bluetooth.service.current_time 0x1805 Adopted
Cycling Power org.bluetooth.service.cycling_power 0x1818 Adopted
Cycling Speed and Cadence org.bluetooth.service.cycling_speed_and_cadence 0x1816 Adopted
Device Information org.bluetooth.service.device_information 0x180A Adopted
Environmental Sensing org.bluetooth.service.environmental_sensing 0x181A Adopted
Generic Access org.bluetooth.service.generic_access 0x1800 Adopted
Generic Attribute org.bluetooth.service.generic_attribute 0x1801 Adopted
Glucose org.bluetooth.service.glucose 0x1808 Adopted
Health Thermometer org.bluetooth.service.health_thermometer 0x1809 Adopted
Heart Rate org.bluetooth.service.heart_rate 0x180D Adopted
Human Interface Device org.bluetooth.service.human_interface_device 0x1812 Adopted
Immediate Alert org.bluetooth.service.immediate_alert 0x1802 Adopted
Internet Protocol Support org.bluetooth.service.internet_protocol_support 0x1820 Adopted
Link Loss org.bluetooth.service.link_loss 0x1803 Adopted
Location and Navigation org.bluetooth.service.location_and_navigation 0x1819 Adopted
Next DST Change Service org.bluetooth.service.next_dst_change 0x1807 Adopted
Phone Alert Status Service org.bluetooth.service.phone_alert_status 0x180E Adopted
Reference Time Update Service org.bluetooth.service.reference_time_update 0x1806 Adopted
Running Speed and Cadence org.bluetooth.service.running_speed_and_cadence 0x1814 Adopted
Scan Parameters org.bluetooth.service.scan_parameters 0x1813 Adopted
Tx Power org.bluetooth.service.tx_power 0x1804 Adopted
User Data org.bluetooth.service.user_data 0x181C Adopted
Weight Scale org.bluetooth.service.weight_scale 0x181D Adopted

点击之后会有详情,比如:

Name: Device Information

Type: org.bluetooth.service.device_informationDownload / View

Assigned Number: 0x180A


Abstract:

The Device Information Service exposes manufacturer and/or vendor information about a device.

Summary:

This service exposes manufacturer information about a device. The Device Information Service is instantiated as a Primary Service. Only one instance of the Device Information Service is exposed on a device.

Service Dependencies

This service is not dependent upon any other services.

Transport Dependencies

Transport Supported
Classic true
Low Energy true

Error Codes

This service does not define any application error codes that are used in Attribute Protocol.

Service Characteristics

Overview Properties Security Descriptors
Name:
Manufacturer Name String
Description:
This characteristic represents the name of the manufacturer of the device.
Type:
org.bluetooth.characteristic.manufacturer_name_string
Requirement:
Optional
Property Requirement
Read Mandatory
Write Excluded
WriteWithoutResponse Excluded
SignedWrite Excluded
Notify Excluded
Indicate Excluded
WritableAuxiliaries Excluded
Broadcast Excluded
ExtendedProperties  
None None
Name:
Model Number String
Description:
This characteristic represents the model number that is assigned by the device vendor.
Type:
org.bluetooth.characteristic.model_number_string
Requirement:
Optional
Property Requirement
Read Mandatory
Write Excluded
WriteWithoutResponse Excluded
SignedWrite Excluded
Notify Excluded
Indicate Excluded
WritableAuxiliaries Excluded
Broadcast Excluded
ExtendedProperties  
None None
Name:
Serial Number String
Description:
This characteristic represents the serial number for a particular instance of the device.
Type:
org.bluetooth.characteristic.serial_number_string
Requirement:
Optional
Property Requirement
Read Mandatory
Write Excluded
WriteWithoutResponse Excluded
SignedWrite Excluded
Notify Excluded
Indicate Excluded
WritableAuxiliaries Excluded
Broadcast Excluded
ExtendedProperties  
None None
Name:
Hardware Revision String
Description:
This characteristic represents the hardware revision for the hardware within the device.
Type:
org.bluetooth.characteristic.hardware_revision_string
Requirement:
Optional
Property Requirement
Read Mandatory
Write Excluded
WriteWithoutResponse Excluded
SignedWrite Excluded
Notify Excluded
Indicate Excluded
WritableAuxiliaries Excluded
Broadcast Excluded
ExtendedProperties  
None None
Name:
Firmware Revision String
Description:
This characteristic represents the firmware revision for the firmware within the device.
Type:
org.bluetooth.characteristic.firmware_revision_string
Requirement:
Optional
Property Requirement
Read Mandatory
Write Excluded
WriteWithoutResponse Excluded
SignedWrite Excluded
Notify Excluded
Indicate Excluded
WritableAuxiliaries Excluded
Broadcast Excluded
ExtendedProperties  
None None
Name:
Software Revision String
Description:
This characteristic represents the software revision for the software within the device.
Type:
org.bluetooth.characteristic.software_revision_string
Requirement:
Optional
Property Requirement
Read Mandatory
Write Excluded
WriteWithoutResponse Excluded
SignedWrite Excluded
Notify Excluded
Indicate Excluded
WritableAuxiliaries Excluded
Broadcast Excluded
ExtendedProperties  
None None
Name:
System ID
Description:
This characteristic represents a structure containing an Organizationally Unique Identifier (OUI) followed by a manufacturer-defined identifier and is unique for each individual instance of the product.
Type:
org.bluetooth.characteristic.system_id
Requirement:
Optional
Property Requirement
Read Mandatory
Write Excluded
WriteWithoutResponse Excluded
SignedWrite Excluded
Notify Excluded
Indicate Excluded
WritableAuxiliaries Excluded
Broadcast Excluded
ExtendedProperties  
None None
Name:
IEEE 11073-20601 Regulatory Certification Data List
Description:
This characteristic represents regulatory and certification information for the product in a list defined in IEEE 11073-20601.
Type:
org.bluetooth.characteristic.ieee_11073-20601_regulatory_certification_data_list
Requirement:
Optional
Property Requirement
Read Mandatory
Write Excluded
WriteWithoutResponse Excluded
SignedWrite Excluded
Notify Excluded
Indicate Excluded
WritableAuxiliaries Excluded
Broadcast Excluded
ExtendedProperties  
None None
Name:
PnP ID
Description:
The PnP_ID characteristic is a set of values used to create a device ID value that is unique for this device.
Type:
org.bluetooth.characteristic.pnp_id
Requirement:
Optional
Property Requirement
Read Mandatory
Write Excluded
WriteWithoutResponse Excluded
SignedWrite Excluded
Notify Excluded
Indicate Excluded
WritableAuxiliaries Excluded
Broadcast Excluded
ExtendedProperties  
None None


// Device Information Service UUIDs
#define DEVINFO_SERV_UUID                 0x180A    // Service UUID
#define DEVINFO_SYSTEM_ID_UUID            0x2A23    // System ID
#define DEVINFO_MODEL_NUMBER_UUID         0x2A24    // Model Number String
#define DEVINFO_SERIAL_NUMBER_UUID        0x2A25    // Serial Number String
#define DEVINFO_FIRMWARE_REV_UUID         0x2A26    // Firmware Revision String
#define DEVINFO_HARDWARE_REV_UUID         0x2A27    // Hardware Revision String
#define DEVINFO_SOFTWARE_REV_UUID         0x2A28    // Software Revision String
#define DEVINFO_MANUFACTURER_NAME_UUID    0x2A29    // Manufacturer Name String
#define DEVINFO_11073_CERT_DATA_UUID      0x2A2A    // IEEE 11073-20601 Regulatory Certification Data List
#define DEVINFO_PNP_ID_UUID               0x2A50    // PnP ID

你可能感兴趣的:(BLE UUID记录)