HM-10
Description
This is the component for HM-10 which is typically used for Bluetooth LE communication in Arduino.
Platform to support
Windows (not yet)
macOS
Android
iOS
HM-10 can be configured using AT commands.
Note that the set baudrate of the HM-10 must match the baudrate of the ArdunityApp.
The thing to note when building Android is that you must add a manifest for Bluetooth use. (See detail)
Bluetooth and Location Service must be enabled when testing on Android or iOS device.
Inspector
SearchTimeout
Time to be used for Bluetooth device discovery (in sec)
Exit the automatic device search after a specified time.
Service UUID
Service UUID set in HM-10.
Characteristic UUID
Characteristic UUID set in HM-10.
On Open
Unity Event that occurs when Bluetooth becomes available
On Close
Unity Event that occurs when the Bluetooth becomes not available
On Open Failed
Unity Event that occurs when attempt of using Bluetooth fails
On Error Closed
Unity Event that occurs when Bluetooth is not available to use due to error
On Start Search
Unity Event that occurs when the Bluetooth search begins
On Stop Search
Unity Event that occurs when the Bluetooth search ends
Wiring