Skip to content

Commit

Permalink
Update standard noflow project for better compability and functionali…
Browse files Browse the repository at this point in the history
…ty on all BLExxx modules
  • Loading branch information
Jeff Rowberg committed Jan 24, 2015
1 parent 2f4de56 commit ea3e918
Show file tree
Hide file tree
Showing 7 changed files with 46 additions and 20 deletions.
34 changes: 23 additions & 11 deletions BLEFirmware/BGLib_U1A1P_38400_noflow/gatt.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<characteristic uuid="2A00" id="c_device_name">
<description>Device Name</description>
<properties read="true" const="true" />
<value>BGLib U1A1P 38.4NF</value>
<value>BGAPI U1A1P 38.4NF</value>
</characteristic>

<!-- 2A01: org.bluetooth.characteristic.gap.appearance -->
Expand All @@ -31,14 +31,14 @@
<characteristic uuid="2A29" id="c_manufacturer_name">
<description>Manufacturer Name</description>
<properties read="true" const="true" />
<value>SectorFej</value>
<value>Jetney Development</value>
</characteristic>

<!-- 2A24: org.bluetooth.characteristic.model_number_string -->
<characteristic uuid="2A24" id="c_model_number">
<description>Model Number</description>
<properties read="true" const="true" />
<value>SF-BGLIB</value>
<value>BOB-BLE</value>
</characteristic>

</service>
Expand All @@ -47,16 +47,28 @@
<service uuid="195AE58A-437A-489B-B0CD-B7C9C394BAE4" id="data_transceiver" advertise="true">
<description>Data transceiver service</description>

<characteristic uuid="5FC569A0-74A9-4FA4-B8B7-8354C86E45A4" id="c_rx_data">
<description>RX Data</description>
<properties write="true" />
<value variable_length="true" length="20"></value>
<characteristic uuid="5FC569A0-74A9-4FA4-B8B7-8354C86E45A4" id="c_data1">
<description>Data 1</description>
<properties read="true" write="true" indicate="true" />
<value variable_length="true" length="20" />
</characteristic>

<characteristic uuid="21819AB0-C937-4188-B0DB-B9621E1696CD" id="c_tx_data">
<description>TX Data</description>
<properties read="true" notify="true" indicate="true" />
<value variable_length="true" length="20"></value>
<characteristic uuid="21819AB0-C937-4188-B0DB-B9621E1696CD" id="c_data2">
<description>Data 2</description>
<properties read="true" write="true" indicate="true" />
<value variable_length="true" length="20" />
</characteristic>

<characteristic uuid="3C79909B-CC1C-4BB9-8595-F99FA98C6503" id="c_data3">
<description>Data 3</description>
<properties read="true" write="true" indicate="true" />
<value variable_length="true" length="20" />
</characteristic>

<characteristic uuid="688BF288-0489-41CF-B6C1-D95209082D2E" id="c_unack">
<description>Unacknowledged Data</description>
<properties read="true" write_no_response="true" notify="true" />
<value variable_length="true" length="20" />
</characteristic>

</service>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,4 @@
+=========+===========+======+======+======+======+
-->
<port index="0" pull="down" tristatemask="0" />
<port index="1" pull="down" tristatemask="0" />
<port index="2" pull="down" tristatemask="0" />
</hardware>
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<hardware>
<sleeposc enable="true" ppm="30" />
<usb enable="true" endpoint="api" />
<sleep enable="false" />
<txpower power="15" bias="5" />
<usart mode="packet" channel="1" alternate="1" baud="38400" endpoint="api" flow="false" />
<!--
Expand All @@ -16,6 +17,4 @@
+=========+===========+======+======+======+======+
-->
<port index="0" pull="down" tristatemask="0" />
<port index="1" pull="down" tristatemask="0" />
<port index="2" pull="down" tristatemask="0" />
</hardware>
7 changes: 4 additions & 3 deletions BLEFirmware/BGLib_U1A1P_38400_noflow/project112.bgproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<?xml version="1.0" encoding="UTF-8" ?>
<project>
<gatt in="gatt.xml" />
<hardware in="hardware112.xml" />
<usb_main in="cdc.xml" />
<image out="out.hex" />
<hardware in="hardware_usb.xml" />
<image out="out-ble112.hex" />
<device type="ble112" />
<boot fw="bootuart" />
<usb_main in="cdc.xml" />
</project>
8 changes: 8 additions & 0 deletions BLEFirmware/BGLib_U1A1P_38400_noflow/project113-m256k.bgproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8" ?>
<project>
<gatt in="gatt.xml" />
<hardware in="hardware_nousb.xml" />
<image out="out-ble113-m256k.hex" />
<device type="ble113-m256k" />
<boot fw="bootuart" />
</project>
4 changes: 2 additions & 2 deletions BLEFirmware/BGLib_U1A1P_38400_noflow/project113.bgproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8" ?>
<project>
<gatt in="gatt.xml" />
<hardware in="hardware113.xml" />
<image out="out.hex" />
<hardware in="hardware_nousb.xml" />
<image out="out-ble113.hex" />
<device type="ble113" />
<boot fw="bootuart" />
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8" ?>
<project>
<gatt in="gatt.xml" />
<hardware in="hardware_nousb.xml" />
<image out="out-ble113.hex" />
<device type="ble113" />
<boot fw="bootuart" />
</project>

0 comments on commit ea3e918

Please sign in to comment.