PlatformIO package of the Teensy core framework compatible with GCC 10 & C++20
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

143 lines
6.7KB

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