Component: MIAC Bluetooth (MIAC: Addon Modules)
From Flowcode Help
(Redirected from Component: ID 6ab6c413 80f6 4db4 9b1d 458412446d4c)
Jump to navigationJump to searchAuthor | |
Version | 1.0 |
Category | MIAC: Addon Modules |
Contents
MIAC Bluetooth component
Bluetooth Addon for MIAC System
Component Pack
FREE
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Downloadable macro reference
BluetoothCount | |
Returns the number of bytes waiting to be read from the receive buffer | |
- BYTE | Return |
MIAC_Module_SetData | |
- BYTE | Count |
- BYTE | D0 |
- BYTE | D1 |
- BYTE | D2 |
- BYTE | D3 |
- BYTE | D4 |
- BYTE | D5 |
- VOID | Return |
BluetoothSendString | |
send string to Bluetooth module | |
- STRING | Str |
- VOID | Return |
MIAC_Module_Init | |
- UINT | CAN_ID |
- VOID | Return |
MIAC_Module_GetData | |
- BYTE | Index |
- BYTE | Return |
MIAC_Module_Message | |
- UINT | CAN_ID |
- UINT | CMD_ID |
- BYTE | Return |
MIAC_Module_WR | |
- UINT | CAN_ID |
- UINT | CMD_ID |
[[File:]] - | Count |
[[File:]] - | Start |
[[File:]] - | More |
- VOID | Return |
BluetoothSetPin | |
Changes the pincode to a new value. The passcode is four digits, e.g. 1234 (Applies to HC-06 module only) | |
- STRING | Pincode |
New four digit pincode | |
- BYTE | Return |
LED_Control | |
Sets the indicator LED On (State=1) or Off (State=0) | |
- BYTE | State |
- VOID | Return |
MIAC_Module_PushData | |
- BYTE | Data |
- VOID | Return |
BluetoothSetName | |
Changes the module Name to a new value. (Applies to HC-06 module only) | |
- STRING | Name |
New four digit passcode | |
- BYTE | Return |
DigitalOutput | |
Set a Terminal Output to High (Value=1) or Low (Value=0) | |
- BYTE | Terminal |
- BYTE | Value |
- BYTE | Return |
BluetoothRead | |
Read one character from the Bluetooth module receive buffer. Returns 0 if nothing in the receive buffer | |
- BYTE | Return |
MIAC_Module_GetAck | |
- UINT | CAN_ID |
- UINT | CMD_ID |
- UINT | TimeOut |
- BYTE | Return |
BluetoothInitialize | |
Initializes the Bluetooth module (enables buffered receive mode) | |
- VOID | Return |
AnalogInput | |
Read the ADC value of a Terminal Returns 12 bit ADC reading | |
- BYTE | Terminal |
Terminal number to be read | |
- UINT | Return |
BluetoothSend | |
Sends a character to the Bluetooth module | |
- BYTE | Character |
Character (Byte) to send | |
- VOID | Return |
Initialize | |
Forces a software reset on the module and enables buffered receive. | |
- VOID | Return |
DigitalInput | |
Read the value of a terminal | |
- BYTE | Terminal |
- BYTE | Return |
Property reference
Properties | |
Module Type | |
Module Address | |
Baud Rate | |
Connections | |
Simulations |