-
Notifications
You must be signed in to change notification settings - Fork 96
/
Copy pathUART_over_BLE.xml
145 lines (145 loc) · 6.88 KB
/
UART_over_BLE.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE AttributeServer>
<Profile Version="1.3">
<SetupId>0</SetupId>
<Device>nRF8001_Dx</Device>
<Service Type="local" PrimaryService="true">
<Name>Device Information</Name>
<Uuid>180a</Uuid>
<Characteristic>
<Name>Hardware Revision String</Name>
<Uuid>2a27</Uuid>
<DefaultValue>0A</DefaultValue>
<UsePresentationFormat>0</UsePresentationFormat>
<MaxDataLength>9</MaxDataLength>
<AttributeLenType>2</AttributeLenType>
<ForceOpen>false</ForceOpen>
<ForceEncryption>false</ForceEncryption>
<Properties>
<WriteWithoutResponse>false</WriteWithoutResponse>
<Write>false</Write>
<Notify>false</Notify>
<Indicate>false</Indicate>
<Broadcast>false</Broadcast>
</Properties>
<SetPipe>true</SetPipe>
<AckIsAuto>false</AckIsAuto>
<PresentationFormatDescriptor Value="0000" Exponent="0" Format="25" NameSpace="01" Unit="0000"/>
<PeriodForReadingThisCharacteristic>0</PeriodForReadingThisCharacteristic>
<PeriodForProperties/>
</Characteristic>
</Service>
<Service Type="local" PrimaryService="true">
<Name>UART over BTLE</Name>
<Uuid BaseUUID="6E400000B5A3F393E0A9E50E24DCCA9E" BaseUUIDName="Custom UART">0001</Uuid>
<Characteristic>
<Name>UART RX</Name>
<Uuid BaseUUID="6E400000B5A3F393E0A9E50E24DCCA9E" BaseUUIDName="Custom UART">0002</Uuid>
<DefaultValue></DefaultValue>
<UsePresentationFormat>0</UsePresentationFormat>
<MaxDataLength>20</MaxDataLength>
<AttributeLenType>2</AttributeLenType>
<ForceOpen>false</ForceOpen>
<ForceEncryption>false</ForceEncryption>
<Properties>
<WriteWithoutResponse>true</WriteWithoutResponse>
<Write>false</Write>
<Notify>false</Notify>
<Indicate>false</Indicate>
<Broadcast>false</Broadcast>
</Properties>
<SetPipe>false</SetPipe>
<AckIsAuto>false</AckIsAuto>
<PresentationFormatDescriptor Value="0000" Exponent="0" Format="1" NameSpace="01" Unit="0000"/>
<PeriodForReadingThisCharacteristic>0</PeriodForReadingThisCharacteristic>
<PeriodForProperties/>
</Characteristic>
<Characteristic>
<Name>UART TX</Name>
<Uuid BaseUUID="6E400000B5A3F393E0A9E50E24DCCA9E" BaseUUIDName="Custom UART">0003</Uuid>
<DefaultValue></DefaultValue>
<UsePresentationFormat>0</UsePresentationFormat>
<MaxDataLength>20</MaxDataLength>
<AttributeLenType>2</AttributeLenType>
<ForceOpen>false</ForceOpen>
<ForceEncryption>false</ForceEncryption>
<Properties>
<WriteWithoutResponse>false</WriteWithoutResponse>
<Write>false</Write>
<Notify>true</Notify>
<Indicate>false</Indicate>
<Broadcast>false</Broadcast>
</Properties>
<SetPipe>false</SetPipe>
<AckIsAuto>false</AckIsAuto>
<PresentationFormatDescriptor Value="0000" Exponent="0" Format="1" NameSpace="01" Unit="0000"/>
<PeriodForReadingThisCharacteristic>0</PeriodForReadingThisCharacteristic>
<PeriodForProperties/>
</Characteristic>
</Service>
<Gapsettings>
<Name>UART</Name>
<DeviceNameWriteLength>7</DeviceNameWriteLength>
<LocalPipeOnDeviceName>true</LocalPipeOnDeviceName>
<DeviceNameShortLength>0</DeviceNameShortLength>
<Apperance>0000</Apperance>
<SecurityLevel>0</SecurityLevel>
<AuthenticationReq>0</AuthenticationReq>
<IoCapabilities>0</IoCapabilities>
<BondTimeout>600</BondTimeout>
<SecurityRequestDelay>5</SecurityRequestDelay>
<MinimumKeySize>7</MinimumKeySize>
<MaximumKeySize>16</MaximumKeySize>
<AdvertisingDataBondedBitmap>1a</AdvertisingDataBondedBitmap>
<AdvertisingDataGeneralBitmap>1a</AdvertisingDataGeneralBitmap>
<AdvertisingDataBrodcastBitmap>10</AdvertisingDataBrodcastBitmap>
<AdvertisingDataBondedScanResponseBitmap>0</AdvertisingDataBondedScanResponseBitmap>
<AdvertisingDataGeneralScanResponseBitmap>0</AdvertisingDataGeneralScanResponseBitmap>
<AdvertisingDataBrodcastScanResponseBitmap>0</AdvertisingDataBrodcastScanResponseBitmap>
<AdvertisingDataBondedBitmapCustom>0</AdvertisingDataBondedBitmapCustom>
<AdvertisingDataGeneralBitmapCustom>0</AdvertisingDataGeneralBitmapCustom>
<AdvertisingDataBrodcastBitmapCustom>0</AdvertisingDataBrodcastBitmapCustom>
<AdvertisingDataBondedScanResponseBitmapCustom>0</AdvertisingDataBondedScanResponseBitmapCustom>
<AdvertisingDataGeneralScanResponseBitmapCustom>0</AdvertisingDataGeneralScanResponseBitmapCustom>
<AdvertisingDataBrodcastScanResponseBitmapCustom>0</AdvertisingDataBrodcastScanResponseBitmapCustom>
<TxPowerLevelOffset>0</TxPowerLevelOffset>
<MinimumConnectionInterval>6</MinimumConnectionInterval>
<MaximumConnectionInterval>18</MaximumConnectionInterval>
<SlaveLatency>0</SlaveLatency>
<TimeoutMultipler>10</TimeoutMultipler>
<AddServiceUpdateCharacteristic>false</AddServiceUpdateCharacteristic>
<AddServiceUpdateCharacteristicPipe>false</AddServiceUpdateCharacteristicPipe>
<TimingChangeDelay>5</TimingChangeDelay>
<ServiceToAdvertise>
<Uuid BaseUUID="6E400000B5A3F393E0A9E50E24DCCA9E" BaseUUIDName="Custom UART">0001</Uuid>
</ServiceToAdvertise>
<CustomAdTypes>
<AdType index="1">
<Type>19</Type>
<Value>0000</Value>
</AdType>
<AdType index="2">
<Type>18</Type>
<Value></Value>
</AdType>
</CustomAdTypes>
</Gapsettings>
<Hardwaresettings>
<Clocksource>1</Clocksource>
<ClockAccuracy>1</ClockAccuracy>
<InitialTxPower>3</InitialTxPower>
<HfClkSource>0</HfClkSource>
<DcDcConverter>0</DcDcConverter>
<ActiveSignalModeIndex>0</ActiveSignalModeIndex>
<ActiveSignalToTickDistance>0</ActiveSignalToTickDistance>
<DynamicWindowLimitingEnabled>false</DynamicWindowLimitingEnabled>
</Hardwaresettings>
<CurrentInput>
<BatteryCharge>220</BatteryCharge>
<Master32KhzClockAccuracy>10</Master32KhzClockAccuracy>
<ConnectionInterval>1000</ConnectionInterval>
<PercentOfTimeSleeping>10</PercentOfTimeSleeping>
<PercentOfTimeAdvertising>10</PercentOfTimeAdvertising>
<AdvertisingInterval>1280</AdvertisingInterval>
</CurrentInput>
</Profile>