Provide pseudo code for the Bluetooth flowchart below.
Bluetooth connects the android app with Raspberry Pi to control an automated kitchen cabinet.
START
Enable Bluetooth
Define desired function (move cabinet up/down, or open/close door)
Open the App
Stop function?
Click the button to connect with microprocessor
Click stop button
Connection available?
END
App is ready to connect with cabinet