Component: MIAC Bluetooth (MIAC: Addon Modules)

From Flowcode Help
Jump to navigationJump to search
Author
Version 1.0
Category MIAC: Addon Modules


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

Fc9-comp-macro.png BluetoothCount
Returns the number of bytes waiting to be read from the receive buffer 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png MIAC_Module_SetData
 
Fc9-u8-icon.png - BYTE Count
 
Fc9-u8-icon.png - BYTE D0
 
Fc9-u8-icon.png - BYTE D1
 
Fc9-u8-icon.png - BYTE D2
 
Fc9-u8-icon.png - BYTE D3
 
Fc9-u8-icon.png - BYTE D4
 
Fc9-u8-icon.png - BYTE D5
 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png BluetoothSendString
send string to Bluetooth module 
Fc9-string-icon.png - STRING Str
 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png MIAC_Module_Init
 
Fc9-u16-icon.png - UINT CAN_ID
 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png MIAC_Module_GetData
 
Fc9-u8-icon.png - BYTE Index
 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png MIAC_Module_Message
 
Fc9-u16-icon.png - UINT CAN_ID
 
Fc9-u16-icon.png - UINT CMD_ID
 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png MIAC_Module_WR
 
Fc9-u16-icon.png - UINT CAN_ID
 
Fc9-u16-icon.png - UINT CMD_ID
 
[[File:]] - Count
 
[[File:]] - Start
 
[[File:]] - More
 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png BluetoothChangeBaud
Changes the Bluetooth communication baud rate: 1 = 1200, 2 = 2400, 3 = 4800, 4 = 9600, 5 =19200, 6 =38400, 7 = 57600, 8 = 115200 (Applies to HC-06 module only)  
Fc9-u8-icon.png - BYTE Baud
New baud rate. 1=1200, 4=9600, 6=38400, 8=115200 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png BluetoothSetPin
Changes the pincode to a new value. The passcode is four digits, e.g. 1234 (Applies to HC-06 module only) 
Fc9-string-icon.png - STRING Pincode
New four digit pincode 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png LED_Control
Sets the indicator LED On (State=1) or Off (State=0) 
Fc9-u8-icon.png - BYTE State
 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png MIAC_Module_PushData
 
Fc9-u8-icon.png - BYTE Data
 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png BluetoothSetName
Changes the module Name to a new value. (Applies to HC-06 module only)  
Fc9-string-icon.png - STRING Name
New four digit passcode 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png DigitalOutput
Set a Terminal Output to High (Value=1) or Low (Value=0) 
Fc9-u8-icon.png - BYTE Terminal
 
Fc9-u8-icon.png - BYTE Value
 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png BluetoothRead
Read one character from the Bluetooth module receive buffer. Returns 0 if nothing in the receive buffer 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png MIAC_Module_GetAck
 
Fc9-u16-icon.png - UINT CAN_ID
 
Fc9-u16-icon.png - UINT CMD_ID
 
Fc9-u16-icon.png - UINT TimeOut
 
Fc9-u8-icon.png - BYTE Return


Fc9-comp-macro.png BluetoothInitialize
Initializes the Bluetooth module (enables buffered receive mode) 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png AnalogInput
Read the ADC value of a Terminal Returns 12 bit ADC reading 
Fc9-u8-icon.png - BYTE Terminal
Terminal number to be read 
Fc9-u16-icon.png - UINT Return


Fc9-comp-macro.png BluetoothSend
Sends a character to the Bluetooth module 
Fc9-u8-icon.png - BYTE Character
Character (Byte) to send 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png Initialize
Forces a software reset on the module and enables buffered receive. 
Fc9-void-icon.png - VOID Return


Fc9-comp-macro.png DigitalInput
Read the value of a terminal  
Fc9-u8-icon.png - BYTE Terminal
 
Fc9-u8-icon.png - BYTE Return



Property reference

Fc9-prop-icon.png Properties
Fc9-type-16-icon.png Module Type
 
Fc9-type-16-icon.png Module Address
 
Fc9-type-21-icon.png Baud Rate
 
Fc9-conn-icon.png Connections
Fc9-conn-icon.png Simulations