bt_reset()

bt_reset()

Description

Resets Bluetooth module by power cycling it.

Syntax

bt_reset();

Parameters

This function has no parameters.

Returns

Return value

Return explanation

Return value

Return explanation

SCRIPT_OPERATION_SUCCESS

Successfully rebooted Bluetooth module.

SCRIPT_OPERATION_FAILED

Failed to reboot Bluetooth module.

Function call example

#include <io> #include <read> #include <float> #include <string> #include <core> #include <write> #include <define> #include <socket> #include <bluetooth> main() { bt_init(); bt_reset(); for(;;) { Delay(1000); } }