![Technologic Systems TS-7100 Series Manual Download Page 23](http://html1.mh-extra.com/html/technologic-systems/ts-7100-series/ts-7100-series_manual_1070487023.webp)
2/11/2020
TS-7100 - Technologic Systems Manuals
https://wiki.embeddedarm.com/w/index.php?title=TS-7100&printable=yes
23/44
hcitool lescan
This will return a list of devices such as:
3C:A3:08:XX:XX:XX Device_Name
Bluez has support for many different profiles for HID, A2DP, and many more. Refer to the Bluez documentation
for more information.
Please note that the Bluetooth module requires the modem control lines CTS and RTS as flow control.
The module supports some other commands as well:
# Allow the BT chip to enter sleep mode
echo
BT_FW_CHIP_ALLOW_SLEEP > /dev/wilc_bt
# Power down the BT radio when not in use
echo
BT_POWER_DOWN > /dev/wilc_bt
10.4 CAN
The TS-7100-Z CPU has a single FlexCAN port that uses the Linux SocketCAN implementation. The port can be
set up and used with the following command:
ip link
set can0 up
type
can bitrate 1000000
The CAN transceiver is automatically controlled by the kernel. If the interface is brought up in Linux then the
transceiver will be enabled. By default when the kernel boots, the interface is down, and therefore the transceiver is
disabled.
At this point, the port can be used with standard SocketCAN libraries. In Debian, we provide the utilities 'cansend'
and 'candump' to test the ports or as a simple packet send/receive tool. In order to test the port, tie CAN_H to the
CAN_H pin of the bus, doing the same for the CAN_L pin. Then use the following commands:
candump can0
# This command will echo all data received on the bus to the terminal
cansend can0 7Df
#03010c
#This command will send out the above CAN packet to the bus
The above example packet is designed to work with the Ozen Elektronik myOByDic 1610 ECU simulator to read
the RPM speed. In this case, the ECU simulator would return data from candump with:
<0x7e8> [8] 04 41 0c 60 40 00 00 00
<0x7e9> [8] 04 41 0c 60 40 00 00 00