Cassia Bluetooth gateway E1000, S2000, and X2000 offers a more flexible Bluetooth
configuration and two state-of-the-art Bluetooth modes: pure scan and high speed multiple
connection modes. The two Bluetooth chips can run in a different mode with a different
configuration, for example, one chip uses pure scan mode, and the other chip uses high
speed multiple connection mode. Before changing BLE connection mode, please disconnect
all the Bluetooth Low Energy devices.
Cassia Bluetooth Stack: default is open.
After upgrading gateway firmware to 2.0, if the APP uses BlueZ with Gatttool and
Bluetoothd in the container (e.g. noble or python Bluetooth lib) instead of Cassia
RESTful API, please change ‘Cassia Bluetooth Stack’ to close (in AC console ->
Gateway -> Config-> Bluetooth Setting, or gateway console -> Other -> Bluetooth
Setting). Otherwise, Bluetooth operations in the APP may return failure.
Cassia Bluetooth stack and Cassia RESTful API offer the state of the art Bluetooth
scan and connection performance. It is highly recommended to keep the Cassia
Bluetooth stack open and use Cassia RESTful API to achieve the best performance
Bluetooth IoT system.
Scan Mode: set the Bluetooth Low Energy scan parameters to default, continues
scanning, pure scan, or customized mode.
Continues scanning mode has better scan performance, and the Bluetooth Low
Energy connection capability is still kept.
Pure scan mode offers the best scan performance in high noise floor and massive
Bluetooth Low Energy device scenarios. It is not allowed to make connections in
pure scan mode. If pure scan mode is enabled, it is not possible to configure the
Connection Mode.
Pure scan supports filtering the scan data by RSSI, raw data, and MAC address. The
RSSI filter can filter out the Bluetooth Low Energy devices whose RSSI value is
weaker than this value. The raw data filter can filter the scan packets with data xx
(2-12 hex numbers) from offset yy (0-31). The MAC filter can filter the packets with
MAC xx (2-12 hex numbers) from offset yy (0-5). If Pure Scan is enabled, only one
MAC filter is allowed on one Bluetooth Low Energy chip. If customer wants to filter
MAC address with two very different patterns, they can use chip 0 to scan one MAC
filter and use chip 1 to scan the other MAC filter, or try to use continues scanning
mode (lower scan performance) with one Bluetooth Low Energy chip and add
parameter “filter_mac” to filter multiple different MAC.
Scan mode is not valid when Cassia Bluetooth Stack is closed.
From firmware 2.1.1, scan API can scan the Bluetooth Low Energy devices with two
chips and merge the scan result together. This new function can be enabled by
adding parameter “chip=all” in scan API.
NOTE: For S2000, if the received advertising packets are more than 200 per second,
it is recommended to use scan filters to reduce the S2000’s CPU load.
Connection Mode: set the Bluetooth Low Energy connection parameters to default,
high speed multiple connections, or customized mode.
High speed multiple connection mode optimized the connection performance when
receiving data from multiple Bluetooth Low Energy devices simultaneously. If high