Open main menu

DAVE Developer's Wiki β

Changes

no edit summary
{{InfoBoxTop}}
{{AppliesToSBCLynx}}
{{AppliesToDWM AN}}
{{AppliesTo AXEL ULite AN}}
{{AppliesTo SBC Lynx AN}}
 
{{InfoBoxBottom}}
{{WarningMessage|text=This application note was validated against specific versions of the kit only. It may not work with other versions. Supported versions are listed in the ''History'' section.}}
{{ImportantMessage|text=Regarding the Molex antenna used in this AN. It is valid only for '''No EU''' countries - see [https://www.lairdconnect.com/documentation/regulatory-information-tiwi-ble link]}}
== History ==
{| class="wikitable" border="1"
|First public release
|-
|{{oldid|6756|1.2.0}}
|May 2017
|1.2.0
|Update for new XUELK release
|-
|2.0.0
|September 2017
|2.0.0
|Validated on latest XUELK release
|}
The root file system delivered along with XUELK contains a calibration file (<code>wl1271-nvs.bin</code>) that was produced under the following conditions:
*Antenna: [http://www.molex.com/molex/products/datasheet.jsp?part=active/0479500011_ANTENNAS.xml Molex 47950-0011]
*Initialization data: The following file was used "''WLAN INI: ETSI all certified antennas (930-0056)''", provided by LS Research. For more details please refer to [https://www.lsrlairdconnect.com/embedded-wireless-modulesdocumentation/wifiwlan-plusini-bluetoothetsi-module/tiwiall-ble#productcertified-software antennas this page].
**File name: <code>930-0056.zip</code>
**md5: <code>f16da1e1c1ea3cc3cca295931d454a43</code>
===Bluetooth===
To enable Bluetooth interface, <code>gpio135</code> must be set to 1 first:<pre>root@sbc-lynx:~# echo 135 > /sys/class/gpio/exportroot@sbc-lynx:~# echo out > /sys/class/gpio/gpio135/directionroot@sbc-lynx:~# echo 1 > /sys/class/gpio/gpio135/value</pre>Then it It is possible to attach the physical device to [http://www.bluez.org/ BlueZ stack] and start using it via HCI tools: 
<pre>
root@sbc-lynx:~# hciattach -t 60 /dev/ttymxc1 texas 115200
00:02:72:C6:40:16 virt
</pre>
 
 
{{ImportantMessage|text=For XUELK 1.1.3 and below, to enable Bluetooth interface, <code>gpio135</code> must be set to 1 first
 
<pre>
root@sbc-lynx:~# echo 135 > /sys/class/gpio/export
root@sbc-lynx:~# echo out > /sys/class/gpio/gpio135/direction
root@sbc-lynx:~# echo 1 > /sys/class/gpio/gpio135/value
</pre>
 
}}
 
====Performance tests====
The following examples show two throughput performance tests, run at L2CAP layer. The connection has been established with a PC equipped with Bluetooth USB dongle Asus BT400.
a000298_approval, dave_user
299
edits